Anki Study Assistant
Exposes Anki flashcard collections to AI assistants via MCP, enabling AI-powered study sessions, card creation, deck management, and review workflows. Supports comprehensive collection operations including search, media management, and note type cust
What is Anki Study Assistant?
Anki Study Assistant is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to exposes anki flashcard collections to ai assistants via mcp, enabling ai-powered study sessions, card creation, deck management, and review workflows. supports comprehensive collection operations incl...
Exposes Anki flashcard collections to AI assistants via MCP, enabling AI-powered study sessions, card creation, deck management, and review workflows. Supports comprehensive collection operations including search, media management, and note type cust
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Exposes Anki flashcard collections to AI assistants via MCP,
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx ankimcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Anki Study Assistant
AnkiMCP Server is an Anki addon that embeds an MCP server directly inside the Anki desktop application, letting AI assistants like Claude interact with your entire flashcard collection in real time. It exposes tools for creating, updating, deleting, and searching notes and decks, managing card scheduling, handling media files, and even controlling the Anki GUI — all over a local HTTP server on port 3141. Students and language learners use it to automate card creation from study material, bulk-update decks, and run AI-powered review sessions without leaving their AI client.
Prerequisites
- Anki 25.07 or later (requires Python 3.13 bundled with Anki)
- Node.js 18 or later (for Claude Desktop integration via mcp-remote)
- An MCP client such as Claude Desktop or Claude Code
- Optional: an ankimcp.ai account for remote tunnel access outside your local network
Install the AnkiMCP addon
Open Anki, go to Tools → Add-ons → Get Add-ons, enter the addon code 124672614, then restart Anki. Alternatively, download the .ankiaddon file from GitHub Releases and double-click it.
Addon code: 124672614Verify the local MCP server is running
After restarting Anki with the addon installed, it starts an HTTP MCP server on port 3141 automatically. You can verify it is reachable with a simple curl.
curl http://127.0.0.1:3141Configure Claude Desktop to connect
Add the server to your claude_desktop_config.json using mcp-remote as a bridge from stdio to the local HTTP server.
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}Connect via Claude Code (alternative)
If you use Claude Code instead of Claude Desktop, register the server with the CLI.
claude mcp add anki --transport http http://127.0.0.1:3141/Optional: enable remote tunnel
To access your Anki collection from anywhere (e.g. from a phone or remote Claude instance), log in with your ankimcp.ai account inside Anki's AnkiMCP settings. The addon will authenticate via OAuth 2.0 device flow and store credentials locally.
Anki Study Assistant Examples
Client configuration
Claude Desktop config connecting to the locally running AnkiMCP server via mcp-remote.
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}Prompts to try
Sample prompts that use AnkiMCP's deck management, card creation, and scheduling tools.
- "Show me all my decks and how many cards are due in each one"
- "Create 10 flashcards from this vocabulary list and add them to my Spanish deck"
- "Search my collection for cards tagged 'biology' that I've failed more than 3 times"
- "Reschedule all suspended cards in my Chemistry deck so they come up for review tomorrow"Troubleshooting Anki Study Assistant
Claude cannot connect to the AnkiMCP server
Make sure Anki is open and running — the addon's MCP server only runs while Anki is active. Check that port 3141 is not blocked by a firewall with: curl http://127.0.0.1:3141
mcp-remote command not found when launching Claude Desktop
Install mcp-remote globally first: npm install -g mcp-remote, or use npx mcp-remote in your args array which will auto-install it on first run.
Batch add_notes operation silently drops some cards
add_notes accepts up to 100 notes per call. Check that your note fields match the note type's required fields exactly, and that the deck name already exists in your collection.
Frequently Asked Questions about Anki Study Assistant
What is Anki Study Assistant?
Anki Study Assistant is a Model Context Protocol (MCP) server that exposes anki flashcard collections to ai assistants via mcp, enabling ai-powered study sessions, card creation, deck management, and review workflows. supports comprehensive collection operations including search, media management, and note type cust It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Anki Study Assistant?
Follow the installation instructions on the Anki Study Assistant GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Anki Study Assistant?
Anki Study Assistant works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Anki Study Assistant free to use?
Yes, Anki Study Assistant is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.
Anki Study Assistant Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to Anki Study Assistant? 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 Study Assistant 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 Study Assistant?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.