Overview
Anki AI is an MCP server that wraps Anki’s local API and surfaces it to Claude as 96 tools, covering cards, notes, decks, models, media, statistics, and GUI automation. The point is to use Claude as the front door for the parts of Anki that are tedious in the desktop app: bulk tag rewrites, generating cloze cards from a PDF, finding the cards you keep failing.

Features
- 96 tools covering decks, notes, cards, models, media, statistics, GUI automation, and system operations
- Generate cards from any text, PDF, or webpage
- Reschedule failures and tweak intervals based on your history
- Spot duplicates, leeches, and stale cards
- Bulk tag/move/update operations with auto-batching for large decks
What You Can Do
Create Learning Content
- Generate flashcards from PDFs, articles, or pasted text
- Cloze deletions for terminology
- Image-occlusion cards from diagrams
- Cards with audio for language learning
Review Management
- Find difficult cards and analyse why they’re hard
- Reschedule failed cards based on actual performance
- Stretch intervals on cards you clearly know
- Detect and merge duplicates
Mnemonics & Stories
- Generate stories that use today’s due vocabulary
- Mnemonic prompts for formulas
- Memory-palace scaffolding
- Example sentences in context
Analytics
- Look at review patterns over time
- Predict which cards are about to lapse
- Surface knowledge gaps by tag or deck
- Track progress on a per-subject basis
Tool Categories
- Deck (6): deck names, creation, stats, and deletion
- Note (16): note CRUD, search, and tags
- Card (19): card search, review, and queue management
- Model (9): model names, fields, and creation
- Media (5): media storage and retrieval
- Stats (7): review and collection analytics
- GUI (17): browser and review controls
- System (17): sync, import/export, and multi-operation helpers
Installation
Requires Anki running locally with the Anki-Connect add-on (code: 2055492159).
json
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["anki-ai"]
}
}
}Technology Stack
- TypeScript MCP server with Zod-validated input
- Anki-Connect API
- Pagination and auto-batching for large decks
- Distributed via npm /
bunx