Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

meme-mcp

MCP.Pizza Chef: haltakov

The meme-mcp is a Model Context Protocol server that enables AI models and tools to generate meme images using the ImgFlip API. It accepts meme template IDs and text inputs to create customized memes, facilitating integration of meme generation into AI workflows and applications.

Use This MCP server To

Generate memes from user text prompts in chatbots Create custom meme images for social media automation Integrate meme creation into AI-powered content tools Automate meme generation for marketing campaigns Enable meme-based responses in virtual assistants

README

Meme MCP Server

A simple Model Context Protocol (MCP) server for generating memes using the ImgFlip API. This server enables AI models and tools to generate meme images from user prompts.

Meme Server MCP server

Tools

The server implements the following a single tool called generateMeme.

The tool accepts the following parameters:

  • templateNumericId: The numeric ID of the meme template to use.
  • text0: The text for the first placeholder.
  • text1: The text for the second placeholder.

Usage

You can configure the meme generator server in your client using the meme-mcp NPM package. Here is an example configuration for Claude Desktop (Settings -> Developer -> Edit Config):

{
  "mcpServers": {
    "meme": {
      "command": "npx",
      "args": ["-y", "meme-mcp"],
      "env": {
        "IMGFLIP_USERNAME": "<IMGFLIP USERNAME>",
        "IMGFLIP_PASSWORD": "<IMGFLIP PASSWORD>"
      }
    }
  }
}

Note: you need to create a free account on ImgFlip to get your username and password.

Troubleshooting

Sometimes Claude Desktop fails to find the right version of npx (especially if you are using NVM, see this Issue for details). In this case, you can manually install meme-mcp globally and then use it directly.

npm install -g meme-mcp

You can find the path of your node executable by running which node in your terminal. After that your configuration should look like this:

{
  "mcpServers": {
    "meme": {
      "command": "/Users/<USERNAME>/.nvm/versions/node/v20.18.2/bin/node",
      "args": ["/Users/<USERNAME>/.nvm/versions/node/v20.18.2/lib/node_modules/meme-mcp/dist/index.js"],
      "env": {
        "IMGFLIP_USERNAME": "<IMGFLIP USERNAME>",
        "IMGFLIP_PASSWORD": "<IMGFLIP PASSWORD>"
      }
    }
  }
}

Example

After configuring Claude Desktop, you need to restart it and then you will see the small hammer icon on the bottom right in the chat input. You can then ask Claude to generate a meme for you.

Claude Desktop with meme server configured

Author

This project is created for fun by Vladimir Haltakov. If you find it interesting you can message me on X @haltakov.

meme-mcp FAQ

How do I configure the meme-mcp server in my client?
You can configure it using the meme-mcp NPM package and specify it in your client's MCP server settings.
What parameters does the generateMeme tool accept?
It accepts templateNumericId, text0, and text1 to customize the meme template and text placeholders.
Can I use meme-mcp with different AI models?
Yes, meme-mcp is model-agnostic and works with any MCP-compatible AI model like OpenAI, Claude, or Gemini.
Is the meme-mcp server easy to deploy?
Yes, it can be run via a simple NPM command and integrated into existing MCP clients.
Does meme-mcp support multiple meme templates?
Yes, you specify the meme template by its numeric ID to generate different meme styles.
Can meme-mcp be used in real-time chat applications?
Yes, it supports real-time meme generation from user inputs in chat or assistant workflows.