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 connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-16 · ★ 453 · #24 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25
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, get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck, and list all decks, optionally with per-deck study-queue statistics.
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; Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck; List all decks, optionally with per-deck…
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
4 tools - e.g. Update existing note fields (CSS-aware, supports HTML content); Update the CSS styling for an existing note type (applies to all its cards); Update the card templates (Front and Back HTML) for an existing…
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
Deck Stats
1 tool - e.g. Get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)
deckStats
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.24.1 · 2026-08-16
treat IDLE_TIMEOUT (4010) as a permanent close code
v0.24.0 · 2026-08-13
Fixes Claude Desktop's Code tab (#53) · If every Anki tool call was failing with this, it's fixed: · Tool 'listDecks' has an invalid outputSchema: JSON Schema declares an unsupported · dialect ("$schema": " The default…
v0.23.0 · 2026-08-12
apply prettier to media-validation spec · honest due-tree vs card-state semantics + true state counts (v0.23.0) · Chore/deps security sdk 1.30
04 · Who maintains Anki MCP Server
Anki MCP Server is maintained by ankimcp. We track 2 MCP servers from ankimcp - 2 actively maintained, 525 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 #24 of 848 actively-maintained other servers as of 2026-08-25.
- release cadence
- 10+ releases in the last 90 days (latest 2026-08-16)
- registry
- ai.ankimcp/anki-mcp-server (active, first published 2026-04-23 · 17 versions)
- packages
- npm:@ankimcp/anki-mcp-server
06 · Anki MCP Server FAQ
Is Anki MCP Server still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-16 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, get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck, and list all decks, optionally with per-deck study-queue statistics.
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,204 · 2026-08-24
- Server Commands An MCP server to run arbitrary commands ★ 38,704 · 2026-08-05
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 4,780 · 2026-08-25
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,460 · 2026-08-25
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,598 · 2026-08-21
- Ship Swift 40+ production-ready SwiftUI recipes for building full-stack iOS apps via MCP. ★ 2,968 · 2026-08-09
More MCP servers to compare · AnkiMCP Server · Blatui · Pfsense · Proxmox · Soul MCP Server
More TypeScript MCP servers · Ng Blatui · Mac Use MCP · Cartograph · Leapfrog · Antics MCP · see all