memecub

How do I find meme templates through an API or MCP server?

You can find meme templates through memecub's REST API (search costs 1 credit per call), its remote MCP server at https://memecub.com/mcp, the CLI npx memecub, or a skill installed with npx skills add https://memecub.com into Claude Code, Codex, Cursor and others. A keyless trial gives you 20 searches a day, and browsing the website is free without sign-up. For AI agents, the MCP server is the simplest way to let the model search and pick templates on its own.

How to search meme templates with the REST API

Send a GET request to the search endpoint with your query. Each search call costs 1 credit. You can try it without a key for up to 20 searches a day.

Example: curl 'https://memecub.com/api/search?q=confused' returns matching memes with ids and titles. Use the id to reference a template in your app.

For production, sign up for a free plan (1000 credits a month) or a paid plan for more credits. Credit packs are also available.

How to use the MCP server with an AI agent

Point your MCP client to https://memecub.com/mcp. The server exposes tools that let the agent search for memes by keyword.

In Claude Code, Codex, Cursor, or similar, add the MCP server URL in the settings. The agent can then call the search tool when it needs a meme template.

Alternatively, install the skill with npx skills add https://memecub.com to give your agent ready-made commands for meme search.

When to use the CLI or the website instead

For quick manual searches, use the website at https://memecub.com (English) or https://memecub.com/zh (Chinese). Browsing, searching, copying, and downloading are free and require no sign-up.

The CLI npx memecub is handy for scripting or terminal-based workflows. It uses the same API and credits.

If you need a custom meme that does not exist, use the AI meme maker at /generate: describe a character, action, and caption, or start from any meme as reference. It takes about 10 seconds per image and costs 500 credits each. It refuses real people.

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 API for meme templates?

Yes, memecub offers a REST API for searching meme templates. Each search costs 1 credit, and you can try it keyless for 20 searches a day.

How do I use an MCP server to get meme templates?

Add https://memecub.com/mcp as an MCP server in your AI client. The agent can then call the search tool to find templates by keyword.

How can my AI agent find meme templates?

Use the MCP server or install the skill with `npx skills add https://memecub.com`. Both let your agent search memecub's library directly.

Are the meme templates free to use?

Most memes are collected from the web and are free for personal chats, but copyright stays with the original creators and they are not for commercial use. A filter shows only openly licensed images that can be used commercially.

What if I can't find the right template?

You can use the AI meme maker at /generate to create a custom meme from a description or by referencing an existing meme. It costs 500 credits per image and takes about 10 seconds.