Anki MCP server
io.github.nietus/anki-mcp·v0.2.0·40 starsStudy and manage Anki flashcards via AnkiConnect: quizzes, stats, leeches, bulk edits.
40 stars
Reviews
Write oneNobody has reviewed Anki yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Anki tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 9 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Anki compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- GitHub stars
- 40
- more than 93% of 28,688 servers
Install Anki in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the Anki repository's README, as published. We do not edit it. Read it on GitHub
anki-mcp
Study and manage your Anki collection by talking to Claude (or any MCP client). 35 tools over AnkiConnect: get quizzed in chat, see what is due and how your retention is going, find the cards you keep forgetting, create and clean up notes in bulk, and pause whole groups of cards until you want them back.
What you can ask
- "What do I have to study today?" → due counts per deck, streak, reviews this week.
- "Quiz me on 10 due cards from my Spanish deck." → one question at a time, graded, and recorded in Anki with the next interval.
- "Which cards do I keep getting wrong? Help me fix them." → leeches, their review history, and rewrites you approve.
- "Suspend everything tagged HSK5 until my exam, and make it easy to bring back." → named pause that restores exactly those cards, scheduling intact.
- "Turn this article into cloze cards in my Biology deck." → duplicate-checked bulk add.
- "Add audio to every card in this deck that doesn't have it." → Azure TTS in bulk.
- "Move the cards tagged grammar to a new subdeck" / "rename the tag todo to review" / "spread my backlog over the next two weeks".
Bulk changes can be previewed with a dry run, deleting always needs a confirmation step, and when Anki is closed the assistant is told to ask you to open it instead of failing silently.
Install
You need Node.js 18+, Anki running, and the AnkiConnect add-on (code 2055492159).
Claude Desktop
Download anki-mcp.mcpb from the latest release and drag it into Settings → Extensions. That's it.
Claude Code
claude mcp add anki --scope user -- npx -y github:nietus/anki-mcpCursor and other MCP clients
Add this to the client's MCP configuration:
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["-y", "github:nietus/anki-mcp"]
}
}
}On Windows, if the client cannot start npx directly, use "command": "cmd" with "args": ["/c", "npx", "-y", "github:nietus/anki-mcp"].
From source
git clone https://github.com/nietus/anki-mcp
cd anki-mcp
npm install
npm run buildThen point your client at node /path/to/anki-mcp/build/client.js. To build the Claude Desktop bundle yourself, run npm run pack:mcpb (output in dist/anki-mcp.mcpb).
Configuration
All environment variables are optional. Put them in a .env file in the project folder or pass them through your MCP client.
Development
npm test # unit + in-memory MCP server tests (no Anki needed)
npm run inspector # try the tools interactivelyAvailable Tools
Every tool is annotated as read-only, write or destructive, so clients like Claude Desktop can auto-approve reads and ask before destructive changes. Errors (including "Anki is not running") come back as readable tool results.
Most bulk tools select cards or notes the same way: deckName (subdecks included), tags (matches any), query (any Anki search, ANDed), or explicit cardIds / noteIds. Write tools accept dryRun: true to preview the change first.
Studying
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Anki: common questions
- Is Anki MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Anki safety report
- Does Anki need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Anki maintained?
- The last commit was 30 days ago (2026-10-05). The latest release is v0.2.0.
- How does Anki compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); github stars 40 (more than 93% of 28,688 servers). Full comparison.