Study and manage Anki flashcards via AnkiConnect: quizzes, stats, leeches, bulk edits.
MCPpedia last refreshed this data
io.github.nietus/anki-mcp is an MCP server that study and manage Anki flashcards via AnkiConnect: quizzes, stats, leeches, bulk edits. Its tool list has not been published yet over stdio, requires no API key, and scores 88/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"anki": {
"args": [
"-y",
"github:nietus/anki-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Study and manage Anki flashcards via AnkiConnect: quizzes, stats, leeches, bulk edits.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'github' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked github against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in education
MCP server for integrating with Anki flashcards through conversational AI
ARIS ⚔️ (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation. No framework, no lock-in — works with Claude Code, Codex, OpenClaw, or any LLM agent.
Checks every LaTeX reference against Crossref, dblp, arXiv, DataCite, PubMed and OpenAlex. No LLM.
Offline HackTricks and HackTricks Cloud search, permissions check, payload and cheatsheet lookups.
MCP Security Weekly
Get CVE alerts and security updates for io.github.nietus/anki-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
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.
You need Node.js 18+, Anki running, and the AnkiConnect add-on (code 2055492159).
Download anki-mcp.mcpb from the latest release and drag it into Settings → Extensions. That's it.
claude mcp add anki --scope user -- npx -y github:nietus/anki-mcp
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"].
git clone https://github.com/nietus/anki-mcp
cd anki-mcp
npm install
npm run build
Then 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).
All environment variables are optional. Put them in a .env file in the project folder or pass them through your MCP client.
| Variable | Default | Purpose |
|---|---|---|
AZURE_API_KEY | – | Enables the audio tools (Azure Text-to-Speech). |
AZURE_REGION | eastus | Azure Speech region. |
ANKI_CONNECT_HOST | http://127.0.0.1 | AnkiConnect host. |
ANKI_CONNECT_PORT | 8765 | AnkiConnect port. |
ANKI_CONNECT_KEY | – | AnkiConnect API key, if you set one in the add-on config. |
npm test # unit + in-memory MCP server tests (no Anki needed)
npm run inspector # try the tools interactively
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.
| Tool | What it does |
|---|