Anki MCP Server
Seamlessly integrate Anki with AI assistants through the Model Context Protocol. Its 40 documented tools cover cards, card, stats. It runs locally over stdio via the published package.
People who work with cards, card and stats and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-09-09 · ★ 484 · #21 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install Anki MCP Server
before you install - you'll need
Set ANKI_CONNECT_URL, MCP_SERVER_NAME, MCP_SERVER_VERSION, READ_ONLY, ALLOWED_HOSTS before connecting. LOG_LEVEL is optional or environment-specific per the README.
Claude Code
claude mcp add ankimcp-anki-mcp-server -- npx -y @ankimcp/anki-mcp-server Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"ankimcp-anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package @ankimcp/anki-mcp-server - published under the repo owner's npm scope (@ankimcp)
registry vendor namespace ai.ankimcp - domain-verified with the official MCP registry
03 · What Anki MCP Server can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can sync with AnkiWeb to pull latest data and push changes, get cards that are due for review, optionally filtered by deck (answers omitted unless include_answer: true, default false), list all decks, optionally with per-deck study-queue statistics, and get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions).
Capability map
Tools grouped from the project's README - what Anki MCP Server lets an agent do.
read & search
6 tools - e.g. Get cards that are due for review, optionally filtered by deck (answers omitted unless include_answer: true, default false); Get cards with flexible filtering by state (due, new, learning, suspended…
get_due_cards · get_cards · listDecks · findNotes · getTags · getMediaFilesNames
create & write
6 tools - e.g. Create a new empty deck (supports Parent::Child, max 2 levels); Create a single note with specified fields and tags; Batch-create up to 100 notes sharing a deck and model (partial success supported)
createDeck · addNote · addNotes · addTags · createModel · addModelField
update
5 tools - e.g. Reschedule cards to become due in N days ("0", "3-7", "1!"), without recording a review; Update existing note fields (CSS-aware, supports HTML content); Update the CSS styling for an existing note type…
setDueDate · updateNoteFields · updateModelStyling · updateModelTemplates · renameModelField
delete
4 tools - e.g. Delete notes and all associated cards (destructive, requires confirmation); Remove space-separated tags from specified notes; Remove a media file from collection.media (destructive)
deleteNotes · removeTags · deleteMediaFile · removeModelField
Sync
1 tool - e.g. Sync with AnkiWeb to pull latest data and push changes
sync
Present
1 tool - e.g. Show a card for review with its question/front side
present_card
Rate
1 tool - e.g. Rate card performance (Again, Hard, Good, Easy) and schedule the next review
rate_card
Forget Cards
1 tool - e.g. Reset cards to new, discarding their scheduling without recording a review
forgetCards
Limitations (from the README)
- addNote - Create a single note with specified fields and tags - addNotes - Batch-create up to 100 notes sharing a deck and model (partial success supported) - findNotes - Search for notes using Anki query syntax (deck:, tag:, is:due, etc.) - notesInfo - Get detailed information about notes (fields, tags, CSS styling) - updateNoteFields - Update existing note fields (CSS-aware, supports HTML content) - deleteNotes -
Latest releases
v0.25.1 · 2026-09-09
v0.25.0 · 2026-09-04
get_due_cards / get_cards no longer return card answers by default (#62, #63). Previously every batch fetch put all answers into the model's context before you had a chance to self-test - defeating the point of spaced…
v0.24.2 · 2026-08-26
float the whole @nestjs/ set together (v0.24.2) · lockfile-free pack smoke test; fix(http): honour PORT/HOST/ANKI_CONNECT_URL env vars
04 · Who maintains Anki MCP Server
Anki MCP Server is maintained by ankimcp. We track 2 MCP servers from ankimcp - 2 actively maintained, 559 combined GitHub stars, oldest repo from Sep 2025. Full record: all servers from ankimcp.
05 · Facts
- repository
- github.com/ankimcp/anki-mcp-server
- website
- https://ankimcp.ai/
- category
- other - ranked #21 of 945 actively-maintained other servers as of 2026-09-18.
- release cadence
- 10+ releases in the last 90 days (latest 2026-09-09)
- registry
- ai.ankimcp/anki-mcp-server (active, first published 2026-04-23 · 20 versions)
- packages
- npm:@ankimcp/anki-mcp-server
06 · Anki MCP Server FAQ
Is Anki MCP Server still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-09 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
What can Anki MCP Server do?
With this server connected, an agent can sync with AnkiWeb to pull latest data and push changes, get cards that are due for review, optionally filtered by deck (answers omitted unless include_answer: true, default false), list all decks, optionally with per-deck study-queue statistics, and get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions).
How do I install Anki MCP Server?
Run `npx -y @ankimcp/anki-mcp-server`. The README documents 6 environment variables (ANKI_CONNECT_URL, MCP_SERVER_NAME, MCP_SERVER_VERSION…) to set first. Set ANKI_CONNECT_URL, MCP_SERVER_NAME, MCP_SERVER_VERSION, READ_ONLY, ALLOWED_HOSTS before connecting. LOG_LEVEL is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Anki MCP Server run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Anki MCP Server
Alternatives to Anki MCP Server
Maintained other servers if Anki MCP Server isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,552 · 2026-09-17
- Server Commands An MCP server to run arbitrary commands ★ 39,038 · 2026-09-11
- basebalance.cloud - x402 RPC & MCP gateway USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger. ★ 6,432 · 2026-08-26
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 5,069 · 2026-09-15
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,470 · 2026-09-18
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,681 · 2026-09-17
More MCP servers to compare · AnkiMCP Server · Blatui · Server Analyzer · Pfsense · Proxmox
More TypeScript MCP servers · Ng Blatui · Mac Use MCP · Cartograph · Leapfrog · Antics MCP · see all