Browse Imgflip meme templates and generate memes (caption images, AI memes) via the Imgflip API
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
π Full documentation: mariokernich.github.io/imgflip-mcp
There's an MCP server for your database. One for your Kubernetes cluster. One for your cloud bill, one for your ticket system, and at least twelve for reading PDFs. Serious servers for serious work.
But somewhere along the way, the ecosystem forgot the workload that actually keeps engineering teams running: memes.
imgflip-mcp closes that gap. It's a Model Context Protocol server for the Imgflip meme generator API, so Claude (or any other MCP client) can browse thousands of meme templates and caption them mid-conversation β turning your AI assistant into the coworker who always has the right reaction image.

This meme was, of course, generated by imgflip-mcp itself.
You: "Make me a Drake meme about writing tests vs. testing in production" Claude: πΌοΈ calls
get_memesβ callscaption_imageβ sends you the image link
Everything you need is a free Imgflip account. An Imgflip API Premium subscription is optional β it unlocks five extra tools (search, GIF captioning, automeme, AI memes), which stay hidden unless you explicitly enable them.
More than you'd think. Once meme generation is one sentence away, it sneaks into real workflows:
Is any of this necessary? No. Neither is syntax highlighting, and yet here we are.
| Tool | Description | Imgflip endpoint | Requirements |
|---|---|---|---|
get_memes | List the ~100 most popular meme templates, with optional name filtering | GET /get_memes | none |
caption_image | Caption a template and get the generated image URL | POST /caption_image | free Imgflip account |
These two tools cover the everyday use case end to end: find a template, put text on it, get the image URL.
| Tool | Description | Imgflip endpoint |
|---|---|---|
search_memes | Search 1M+ templates by name | POST /search_memes |
get_meme | Look up a single template by id | POST /get_meme |
caption_gif | Caption an animated GIF template | POST /caption_gif |
automeme | Auto-pick a template for a piece of text | POST /automeme |
ai_meme | Let Imgflip's AI invent a whole meme | POST /ai_meme |
These require an Imgflip API Premium subscription and are not registered by default, so free-tier users never see tools that would fail. If you have Premium, enable them by setting IMGFLIP_PREMIUM=true.
make-meme prompt: an MCP prompt that guides the model through template selection and captioning β pass a topic and optionally a template preference.readOnlyHint so clients can auto-approve them safely.get_memes| Variable | Required | Description |
|---|---|---|
IMGFLIP_USERNAME | yes* | Your Imgflip username |
IMGFLIP_PASSWORD | yes* | Your Imgflip password |
IMGFLIP_PREMIUM | no | Set to true to also register the five Premium tools (default: off) |
* Only get_memes works without credentials.
Note: The Imgflip API authenticates with username/password form fields β it does not offer API keys. Consider creating a dedicated Imgflip account for API use.
The server communicates over stdio, so your MCP client launches it as a subprocess β there is no port or daemon to manage. Pick whichever route fits your client:
| Route | Best for | How |
|---|---|---|
| npx | most clients | npx -y imgflip-mcp β no clone, no build (requires the package on npm, see the docs) |
Desktop Extension (.mcpb) | Claude Desktop | download from Releases, double-click, fill in the credentials form |
| Claude Code plugin | Claude Code | /plugin marketplace add mariokernich/imgflip-mcp β this repo is its own plugin marketplace |
| VS Code button | Copilot users | click the Install in VS Code badge above |
| From source | development | see below |
The compiled server entry point is dist/index.js; the config examples below use npx -y imgflip-mcp, which you can always replace with node /absolute/path/to/imgflip-mcp/dist/index.js.
Option A β one-click Desktop Extension (recommended):
imgflip-mcp-*.mcpb file from the Releases page (or build it yourself: npx @anthropic-ai/mcpb pack).Option B β manual JSON config:
Open Claude Desktop and go to Settings β Developer β Edit Config. This opens (or creates) claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the server under mcpServers (create the key if the file is empty):
If you have API Premium and want the extra tools, add "IMGFLIP_PREMIUM": "true" to the env block.
Fully restart Claude Desktop (quit from the tray/menu bar, not just close the window).
Open a new chat β the Imgflip tools now show up in the tools menu (π icon). Try:
"Make a Drake meme: top 'manually formatting code', bottom 'letting the linter do it'."
Claude will look up the template, call caption_image, and reply with the finished image link.
Option A β as a plugin. This repository is its own plugin marketplace:
The plugin reads IMGFLIP_USERNAME, IMGFLIP_PASSWORD and (optionally) IMGFLIP_PREMIUM from your shell environment, so export them in your ~/.bashrc/~/.zshrc.
Option B β register the MCP server directly:
Add --env IMGFLIP_PREMIUM=true if you have API Premium. Verify with:
Then simply ask inside any claude session:
"Generate a 'This Is Fine' meme about our flaky CI pipeline and give me the URL."
By default Claude Code adds the server to the current project; use claude mcp add --scope user β¦ to make it available in all your projects.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/imgflip-mcp)<a href="https://allmcps.com/mcp/imgflip-mcp"><img src="https://allmcps.com/api/badge/imgflip-mcp?style=directory" alt="Imgflip MCP on AllMCPs" /></a>