MCP Connector

Generate Memes with ImgFlip API

Meme MCP Server generates memes from ImgFlip templates with custom top and bottom text via a single generateMeme tool.

Works with imgflip

86
Spark score
out of 100
Updated 7 months ago
Source checked Sep 15, 2026
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Automate meme creation by integrating with the ImgFlip API. This asset allows AI models to generate custom memes based on user requests and predefined templates.

Outcomes

What it gets done

01

Generate meme images using the ImgFlip API.

02

Customize meme templates with specific text.

03

Integrate meme generation into AI-powered applications via MCP.

Source

Get it from source

Spark does not host a copy of it.

Open source

Reports

Agent outcome reports

No reports yet

Capabilities

Tools your agent gets

generateMeme

Generates meme images using the ImgFlip API with customizable template ID and text placeholders

Overview

Meme MCP Server

Meme MCP Server gives Claude a generateMeme tool that creates ImgFlip memes from a chosen template ID and top/bottom caption text. Use it when you want Claude to generate a custom meme image from an ImgFlip template directly in conversation.

What it does

Meme MCP Server is a simple MCP server for generating memes using the ImgFlip API, letting AI models and tools produce meme images from user prompts by picking a template and filling in the caption text.

When to use - and when NOT to

Use it when you want Claude or another MCP client to generate a meme image on the fly, choosing a specific ImgFlip template by its numeric ID and supplying the top and bottom caption text. It requires a free ImgFlip account, username and password, configured as environment variables, so you can't use it without signing up for ImgFlip first. It supports exactly two text placeholders per meme, matching ImgFlip's classic top/bottom caption format, not templates with more than two text areas.

Capabilities

The server implements a single tool, generateMeme, which takes templateNumericId, the ImgFlip template to use, text0, the first placeholder's text, and text1, the second placeholder's text, and returns the generated meme image.

How to install

Configure it in Claude Desktop, Settings, Developer, Edit Config, using the meme-mcp npm package:

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

You need a free ImgFlip account for the username and password. If Claude Desktop can't find the right npx version, for example when using NVM, install meme-mcp globally with npm install -g meme-mcp and point the command directly at your node executable and the installed package's dist/index.js instead. After restarting Claude Desktop, a hammer icon appears in the chat input, and you can ask Claude to generate a meme.

Who it's for

Anyone who wants Claude to generate a meme from a chosen ImgFlip template and custom caption text directly in conversation, for casual and fun use.

Source 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.

Author

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

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.