Where can I find an open source emoji meme API on GitHub?
The most direct match is lofcz/memegen-mcp on GitHub: a free, open source meme generation API that also accepts emojis as characters (👍) or aliases, and ships as an MCP server. For emoji artwork itself, OpenMoji is the open source emoji set you can download and self-host. If you want a hosted search API instead of running your own, memecub offers a REST API, an MCP server and a CLI with a keyless trial.
Send it when someone claims their project is open source but the repo is a stub.
The Drake format for choosing a maintained GitHub API over a random unmaintained fork.
For the moment a dependency turns out to be abandoned and you wave it away.
Post it when you finally clone the repo and get the API running locally.
For the self-hosted setup that breaks the moment you expose it to the internet.
Describes the feeling of reading a meme API's dependency tree before installing it.
For code review on a pull request that adds emoji alias parsing.
When your open source contribution is one typo fix in the README.
The GitHub projects that actually fit
lofcz/memegen-mcp is the closest thing to an open source emoji meme API: it generates memes from templates and supports emojis both as characters and as aliases, and it runs as an MCP server so AI tools can call it.
OpenMoji is not an API but the artwork layer: an open source emoji set you can download and serve yourself, which is what you want if you need emoji images rather than generated memes.
Emojis World is an open source REST API for emoji data, and the Emoji API project returns image and metadata for Unicode emojis. Both are good for lookup, not for meme composition.
Self-host or call a hosted API
Self-hosting means cloning the repo, installing dependencies and running the server yourself. You control the data and pay nothing per call, but you own uptime, updates and template licensing.
A hosted option skips setup. memecub's developer surface is a REST API (search costs 1 credit per call), a remote MCP server at https://memecub.com/mcp, a CLI you run with npx memecub, and a skill installed with npx skills add https://memecub.com into Claude Code, Codex or Cursor.
The keyless trial gives 20 searches a day, which is enough to test whether the results fit your use case before you commit to either path.
A minimal call
With the CLI installed, a search looks like this:
npx memecub search "thumbs up reaction"
For MCP clients, point the config at the remote server:
{"mcpServers": {"memecub": {"url": "https://memecub.com/mcp"}}}
Then ask the assistant for a meme by description and it calls the search tool for you.
Licensing and tone
Open source code does not mean open source memes. Check the license of each template and emoji set separately; OpenMoji publishes its own terms, and generated output may inherit template restrictions.
On memecub, most memes are collected from the web and are fine for personal chats, with copyright staying with the original creators. A filter shows only openly licensed images from Openverse, open-source emoji and public-domain art that can be used commercially.
If nothing in a library fits, the AI meme maker at /generate takes a character, action and caption, or a reference meme, and returns an image in about 10 seconds for 500 credits.
Let your AI find the memes
REST API, remote MCP, CLI and a skill. Try 20 searches a day without a key.
More that fit
FAQ
Is there an open source emoji meme API I can self-host?
Yes. lofcz/memegen-mcp is open source and runs as a server you host yourself, and OpenMoji gives you the emoji artwork to serve alongside it.
Where do I download an open source emoji meme API?
From GitHub: clone the memegen-mcp repository, or download the OpenMoji set if you only need emoji images. Both are distributed through their GitHub pages.
Is there a free option for testing?
memecub's API has a keyless trial of 20 searches a day, and the free plan includes 1000 credits a month. Open source projects are free to run but you cover the hosting.
Can I use the memes commercially?
Only if the license allows it. On memecub, use the filter for openly licensed images from Openverse, open-source emoji and public-domain art; the rest are for personal chats.
Does an emoji meme API work with AI assistants?
Yes. memegen-mcp is built as an MCP server, and memecub exposes a remote MCP server plus a skill that installs into Claude Code, Codex and Cursor.