Anki MCP server for flashcard management
Anki MCP server for flashcard management
Edit your Claude Desktop config (claude_desktop_config.json), and add:
Once Stefanwille is connected, these are the calls the assistant has available:
get_decks — Get all deck names from Ankicreate_deck — Create a new deckdelete_deck — Delete a deck and all its cards (including sub-decks)list_cards — List cards in a deck with front/back contentcreate_cards — Create one or more basic cards in a deckupdate_card — Update an existing card's contentrename_deck — Rename a deckPrerequisites — The Prerequisites tool exposed by this serverThe server ships on npm as pnpm, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
http://127.0.0.1:8765 (default)get_decks — Get all deck names from Ankicreate_deck — Create a new deckdelete_deck — Delete a deck and all its cards (including sub-decks)list_cards — List cards in a deck with front/back contentcreate_cards — Create one or more basic cards in a deckupdate_card — Update an existing card's contentrename_deck — Rename a deckCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| get_decks | Get all deck names from Anki |
| create_deck | Create a new deck |
| delete_deck | Delete a deck and all its cards (including sub-decks) |
| list_cards | List cards in a deck with front/back content |
| create_cards | Create one or more basic cards in a deck |
| update_card | Update an existing card's content |
| rename_deck | Rename a deck |
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["-y", "stefanwille-anki-mcp-server@latest"]
}
}
}Configuration as documented by the project. Restart the client after saving.
http://127.0.0.1:8765 (default)Enables Large Language Models to interact with Anki flashcard software through AnkiConnect using the Model Context Protocol.
Demonstrates building an AI agent using the Model Context Protocol (MCP) with open LLMs like Meta Llama 3, OpenAI, or Google Gemini, and a SQLite
Manages courses, assignments, enrollments, and grades within Canvas using the Canvas API.
Manage educational context based on courses, assignments, and exams using a knowledge graph.
[](https://modelcontextprotocol.io)
Model Context Procotol (MCP) server with tools for Cannabis Datasets.