Anki Flashcard AI
An Anki addon that implements an MCP server, enabling AI assistants to interact with Anki, the spaced repetition flashcard application.
What is Anki Flashcard AI?
Anki Flashcard AI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to anki addon that implements an mcp server, enabling ai assistants to interact with anki, the spaced repetition flashcard application.
An Anki addon that implements an MCP server, enabling AI assistants to interact with Anki, the spaced repetition flashcard application.
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An Anki addon that implements an MCP server, enabling AI ass
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx anki-mcp-server-addonConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Anki Flashcard AI
anki-mcp-server-addon is an Anki desktop addon that implements a full MCP server inside the Anki application, allowing AI assistants to interact with your spaced-repetition flashcard collection through a standardized protocol. It starts a local HTTP server on port 3141 that exposes tools for managing decks and notes, scheduling cards, handling media, controlling the Anki GUI, and configuring the FSRS scheduler. Students, language learners, and medical professionals use it to automate bulk card creation from study material, intelligently reschedule reviews, and run AI-guided study sessions from within Claude or other MCP clients.
Prerequisites
- Anki 25.07 or later with Python 3.13 (bundled with recent Anki versions)
- Node.js 18 or later (for mcp-remote bridge with Claude Desktop)
- An MCP client such as Claude Desktop or Claude Code
- Anki must be running on your computer for the MCP server to be available
- Optional: an ankimcp.ai account for HTTPS remote tunnel access
Install the addon from AnkiWeb
Open Anki, navigate to Tools → Add-ons → Get Add-ons, and enter the addon code 124672614. Restart Anki to activate the addon.
AnkiWeb addon code: 124672614Verify the MCP server started
After restarting Anki, the addon automatically starts the MCP server on port 3141. Confirm it is running.
curl http://127.0.0.1:3141Configure Claude Desktop with mcp-remote
Add the server to claude_desktop_config.json using mcp-remote as a stdio-to-HTTP bridge.
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}Add via Claude Code CLI (alternative)
Register the server directly from the Claude Code command line.
claude mcp add anki --transport http http://127.0.0.1:3141/Optional: configure remote tunnel
To access your Anki collection remotely, sign in with an ankimcp.ai account through the addon settings. The OAuth device flow will store credentials in user_files/credentials.json.
Anki Flashcard AI Examples
Client configuration
Claude Desktop config using mcp-remote to connect to the local AnkiMCP HTTP server.
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}Prompts to try
Sample prompts for card creation, deck management, search, and scheduling.
- "Create flashcards for these 20 Spanish vocabulary words and add them to my Spanish::Vocabulary deck"
- "Search my Anki collection for all cards tagged 'anatomy' and show me the ones I've failed most"
- "How many cards are due in each of my decks today?"
- "Suspend all cards in my Old Chemistry deck that haven't been reviewed in over 90 days"
- "Update the FSRS parameters for my Medical deck to optimize my retention rate"Troubleshooting Anki Flashcard AI
Connection refused on port 3141
The MCP server only runs while Anki is open. Open Anki before trying to connect. If Anki is open and the port is still closed, go to Tools → Add-ons and confirm the AnkiMCP addon is enabled.
mcp-remote is not found when Claude Desktop starts
Install mcp-remote globally with: npm install -g mcp-remote. Alternatively, the npx args form will auto-download it on first use, which may cause a slow initial connection.
add_notes fails with field validation errors
Each note type in Anki requires specific fields. Use a tool call to list available note types and their required fields first, then structure your note data to match exactly.
Frequently Asked Questions about Anki Flashcard AI
What is Anki Flashcard AI?
Anki Flashcard AI is a Model Context Protocol (MCP) server that anki addon that implements an mcp server, enabling ai assistants to interact with anki, the spaced repetition flashcard application. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Anki Flashcard AI?
Follow the installation instructions on the Anki Flashcard AI GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Anki Flashcard AI?
Anki Flashcard AI works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Anki Flashcard AI free to use?
Yes, Anki Flashcard AI is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.
Anki Flashcard AI Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to Anki Flashcard AI? Here are other popular knowledge & memory servers you can use with Claude, Cursor, and VS Code.
MemPalace
★ 52.6kA local AI memory system that stores all conversations verbatim and organizes them into navigable structures. It provides 19 MCP tools for AI assistants to search and retrieve past decisions, debugging sessions, and architecture debates automatically
Kratos
★ 25.7k🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
Context Mode
★ 15.4kAn MCP server that preserves LLM context by intercepting large data outputs and returning only concise summaries or relevant sections. It enables efficient sandboxed code execution, file processing, and documentation indexing across multiple programm
Memu
★ 13.7kMemory for 24/7 proactive agents like OpenClaw.
MemOS
★ 9.3kMemOS (Memory Operating System) is a memory management operating system designed for AI applications. Its goal is: to enable your AI system to have long-term memory like a human, not only remembering what users have said but also actively invoking, u
Everos
★ 5.4kBuild, evaluate, and integrate long-term memory for self-evolving agents.
Browse More Knowledge & Memory MCP Servers
Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Anki Flashcard AI in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Anki Flashcard AI?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.