Anki MCP Server
Let an AI assistant review, create and edit Anki flashcards through AnkiConnect
- Pricing
- Freemium
- Platforms
- self-hosted, CLI, macOS
- Runs
- Locally
- Version
- 0.27.0
- Listing updated
- 2 days ago
About Anki MCP Server
Anki MCP Server is a freemium MCP server for education and exams. It runs locally on your machine and is started by your AI client.
This repository covers the stdio route, for clients that start the server as a subprocess, plus a one-click MCPB bundle for Claude Desktop. The maintainers now recommend their separate Anki add-on for most setups, since it runs the server inside Anki without Node.js or AnkiConnect and also handles remote access; this repo stays maintained alongside it.
The README counts 53 tools: 42 essential ones for review, study and card management, and 11 GUI tools that drive the Anki desktop interface. A study flow syncs with AnkiWeb, fetches due cards, presents each one and records your rating. Other flows create note types, including right-to-left styling for Arabic, batch-add notes and store media files.
Local use with Claude Desktop, Claude Code, Cursor, Cline or Zed is free and needs no account. Remote access for ChatGPT, claude.ai or a phone goes through a managed tunnel with a free tier, a $5 a month Plus plan and a $15 a month Pro plan that adds Hosted Anki in the cloud.
Install
Run in a terminal
claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"anki-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Tools this server provides (13)
Taken from the project documentation; the running server may differ.
- sync
- Syncs with AnkiWeb
- get_due_cards
- Gets cards due for review, optionally by deck
- get_cards
- Gets cards filtered by state and deck
- present_card
- Shows a card's front for review
- rate_card
- Rates a card and schedules the next review
- modelNames
- Lists note types
- createModel
- Creates a custom note type
- updateModelStyling
- Updates a note type's CSS styling
- addNotes
- Batch-creates notes
- storeMediaFile
- Uploads a local file into Anki media
- guiSelectedNotes
- Reads the note selected in the browser
- notesInfo
- Reads note details
- updateNoteFields
- Updates fields of a note
What it does
- Conversational review
- The assistant presents due cards, checks answers and records ratings.
- Card creation
- Creates and edits notes, including batch adds and custom note types.
- Media handling
- Stores images and audio files on cards.
- GUI tools
- Eleven tools drive the Anki desktop interface for editing workflows.
- AnkiWeb sync
- Syncs with AnkiWeb before and after a session.
- Remote access
- An optional managed tunnel reaches web and mobile assistants.
Good for
- Review a language deck by talking with an assistant
- Generate flashcards from notes or a lecture
- Add pronunciation audio to vocabulary cards
- Create right-to-left cards for Arabic or Hebrew
- Edit existing notes in bulk
Pricing
Freemium, from $5 a month
Local use free; remote tunnel has a free tier, Plus $5/month, Pro $15/month
Prices change. Check ankimcp.ai before you buy.
Anki MCP Server FAQ
Is it free?
Local use is free and always will be. Remote access uses a managed tunnel with a free tier, Plus at $5 a month and Pro at $15 a month.
What does Pro add?
Hosted Anki, a copy of Anki running on the vendor's cloud so your AI can reach it with your laptop off.
Should I use this repo or the add-on?
The README recommends the add-on for most setups, and this repo for stdio transport or the Claude Desktop MCPB bundle.
How many tools are there?
The README lists 53: 42 essential and 11 GUI tools.
Do I need an account?
Not for local use. You sign in only to connect the tunnel.
Is Anki MCP Server free?
Anki MCP Server has a free plan, with paid plans for more usage or features. Paid plans start at $5 a month.
How do I add Anki MCP Server to Claude Code?
Run this command in your terminal: claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-server
What are the best alternatives to Anki MCP Server?
The closest alternatives to Anki MCP Server are Born Then, Wuai, FreeDict, A punt · Aranese (Val d'Aran Occitan) and Extraudinary.
Alternatives to Anki MCP Server
Born Then
MCP serverFree MCP server that rolls random historical births weighted by real demographics
- 2 tools
- Remote
- Free
- Education and exams

Wuai
MCP serverAnswers questions about Wuai, a free on-device caption and translation app for videos
- 7 tools
- Remote
- Freemium
- Design and media

FreeDict
MCP serverDictionary lookups, synonyms, rhymes, slang and word search for AI apps and games
Not checked yet- Remote
- Freemium
- Language learning

A punt · Aranese (Val d'Aran Occitan)
MCP serverCorrect and translate Aranese text following the IEA norm, free and without a key
- 4 tools
- Remote
- Free
- Language learning

Extraudinary
MCP serverReview speaking-practice feedback and save scripts to rehearse from an assistant
- Remote
- Freemium
- Education and exams

Scormbusters
MCP serverRemote MCP server for building and exporting SCORM, cmi5 and xAPI courses
- 6 tools
- Remote
- Free trial
- Education and exams