Anki MCP lets Claude work inside your real Anki collection, through the Model Context Protocol Anthropic released in late 2024. Claude can create cards, check what’s due and clean up tags, instead of handing you text to paste in. The first of those is the point for a lot of people. Writing new cards takes longer than reviewing old ones, and that’s where decks tend to die.
You don’t need much to set it up. Anki has to be open on your computer, you pick one of two community servers, and you point Claude at it. There’s no official Anki server (a forum thread titled “AnkiWeb Official MCP?” asked for one in September 2025), so everything here comes from third parties, and the native addon is the simplest start.
- No official server that we found. The forum thread asking for one drew opinions from community members, not a statement from Anki’s team.
- ankimcp/anki-mcp-server is the one to install. Actively maintained, dozens of tools, and also available as a native addon that skips AnkiConnect entirely.
- nailuoGG/anki-mcp-server is a solid, simpler alternative if you already run AnkiConnect and want a smaller tool surface.
- Local use is free and needs no account. Claude Desktop and Claude Code talk to Anki on your own computer. claude.ai and your phone go through the addon’s tunnel and an ankimcp.ai account: free for 100 requests a month, $5 a month for unlimited.
How to connect Anki to Claude Desktop and Claude Code
This is the native addon path, since it has the fewest moving parts. It needs Anki 25.07 or later.
- In Anki, open Tools, then Add-ons, then Get Add-ons. Enter the code
124672614, click OK, and restart Anki. - The MCP server now starts whenever Anki is open, listening on
http://127.0.0.1:3141. - Add it to Claude Desktop or Claude Code, as below.
- Quit Claude Desktop completely and reopen it. A window reload won’t pick up a newly added server.
- With Anki open, ask “how many cards are due in my main deck today?” A real number means it works. If you get an error, check that Anki is running, since every route here depends on the desktop app being open.
Claude Desktop
Go to Settings, then Developer, then Edit Config, to open claude_desktop_config.json. Claude Desktop doesn’t take a bare URL for a local server there, so use the mcp-remote bridge, which needs Node.js installed. The Add custom connector menu is for remote servers, which is the claude.ai route further down.
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}
Claude Code
claude mcp add anki --transport http http://127.0.0.1:3141/
The classic route with AnkiConnect
If you’d rather skip the addon, install AnkiConnect the same way (AnkiWeb code 2055492159), then add the Node server, which needs Node 22.12 or later:
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": ["-y", "@ankimcp/anki-mcp-server", "--stdio"],
"env": {
"ANKI_CONNECT_URL": "http://localhost:8765"
}
}
}
}
How to connect Anki to claude.ai and your phone
Claude on the web runs in Anthropic’s cloud, so it can’t see 127.0.0.1 on your computer. The ankimcp addon solves that with a built-in tunnel that gives your local Anki a signed-in public address. You set it up once, and because the connector lives on your Claude account, it also shows up in the Claude desktop app and the Claude mobile app.
- Install the addon (code
124672614) as above, and restart Anki. - In Anki, open Tools, then AnkiMCP Server Settings, and click Connect Tunnel.
- A dialog shows a one-time code. Click Open Browser, enter the code, and approve the sign-in to your ankimcp.ai account. The addon remembers it.
- In claude.ai, open Customize, then Connectors, then +, then Add custom connector. Name it AnkiMCP, paste
https://tunnel.ankimcp.ai/mcpas the server URL, click Continue, then Add without changing the detected sign-in options. - Sign in to AnkiMCP when Claude asks and approve access. The connector then lists the Anki tools Claude can use. Free Claude plans can add one custom connector.
What it costs: the tunnel’s free tier allows 100 signed-in requests a month, and each action Claude takes in Anki (listing decks, adding a note) is one request. Plus is $5 a month for unlimited requests. Pro is $15 a month and adds Hosted Anki, a copy of Anki in ankimcp’s cloud, so your computer can stay off. Prices read on ankimcp.ai on November 7, 2026. Since November 1, 2026, every tunnel connection goes through that sign-in; the old URL-only links stopped working. The same tunnel address works in ChatGPT on plans that allow a custom MCP connector.
On Android without a computer: the same project has an AnkiMCP for AnkiDroid app in early access (version 0.1.0, in testing on Google Play first, also an APK on GitHub). It works on the AnkiDroid collection on your phone, so Claude can add notes and run a review there. AnkiDroid’s API doesn’t allow everything: unsuspend, reschedule, filtered decks and media are out.
The best Anki MCP servers, compared
ankimcp/anki-mcp-server, published under the AnkiMCP.ai project, is the broader and more actively developed option. Installed the classic way, it runs as a Node process and talks to Anki through the AnkiConnect add-on on localhost:8765. It exposes 53 tools, 42 for everyday work and 11 that drive the Anki window, spanning review and study (get due cards, rate a card, sync), deck management, note creation and search, tag management, media files, note-type and template editing, and GUI control tools like opening the card browser. It needs Node 22.12 or later. It has 546 stars on GitHub, and its last code push was October 22, 2026 (checked November 7, 2026).
The same project also ships a native Anki addon on AnkiWeb under code 124672614 that runs the MCP server as a background thread directly inside Anki. No AnkiConnect, no separate Node process, no terminal window to keep open. It starts when Anki starts and stops when Anki closes, and it covers the same core ground with a slightly smaller tool set. Removing AnkiConnect from the dependency chain removes a whole category of setup failure, so it’s the easier start.
nailuoGG/anki-mcp-server is smaller and more focused. It runs through Node and requires the AnkiConnect add-on, exposing a smaller set of tools prefixed anki_ for deck management, note create and search, tag add and remove, note-type metadata, and sync. It needs Node 20.11 or later, and it has no note-type or template editing tools. It has 253 stars, and its last code push was October 27, 2026. Reach for it if you already run AnkiConnect for other add-ons and would rather keep one bridge than add a second server architecture.
Search GitHub and npm and you find more Anki servers than these two. The table covers the main ones, checked on GitHub on November 7, 2026:
| Server | How it reaches Anki | Needs | GitHub stars, last code push |
|---|---|---|---|
| ankimcp addon (AnkiWeb 124672614) | Runs inside Anki | Anki 25.07+ | 99, Nov 4, 2026 |
| ankimcp/anki-mcp-server | AnkiConnect | Node 22.12+ | 546, Oct 22, 2026 |
| nailuoGG/anki-mcp-server | AnkiConnect | Node 20.11+ | 253, Oct 27, 2026 |
| scorzeth/anki-mcp-server | AnkiConnect | Node | 185, Jan 8, 2025 |
| samefarrar/mcp-ankiconnect | AnkiConnect | Python (uv) | 13, May 28, 2026 |
| arielbk/anki-mcp | AnkiConnect | Node 18+ | 11, May 23, 2026 |
| here-tunan/mcp-server-anki | AnkiConnect | Node 16+ | 3, Sep 26, 2025 |
scorzeth’s server was one of the first and still has 185 stars, but nobody has pushed code to it since January 2025, and its card tool only writes to the Default deck. The last three work, but with so few users there are fewer example configs and fixed issues to lean on when something breaks.
What to ask Claude once Anki is connected
- Turn notes into cards: “Read these lecture notes and create 15 cloze cards in my Biology deck, tagged ‘week-4’.”
- Check your real backlog: “How many cards are overdue across all my decks, broken down by deck?”
- Fix messy tags: “Find every note tagged both ‘todo’ and ‘reviewed’, and remove the ‘todo’ tag.”
- Draft a deck from a source: “Turn this article into 20 question-and-answer cards, one fact per card, no compound questions.” Review them before adding, since a card with two facts in one answer is a bad card.
- Audit a note type: “List the fields on my ‘Vocabulary’ note type and tell me if any cards are missing a field.”
Claude can also build cards from your saved papers. Zotero MCP covers connecting a research library the same way.
What it can’t do
It still needs Anki open. Every route here, addon or AnkiConnect, depends on the desktop app running. No server reaches your collection while Anki is fully closed. ankimcp’s paid Hosted Anki gets around that by running Anki in their cloud. If you want spaced recall without Anki at all, Fluid Recall is a free remote option over MCP: it stores your decks and due dates, and your agent runs the review in chat. It doesn’t connect to an existing Anki collection.
AI-written cards need a human pass. A model can generate a plausible-looking cloze card that tests the wrong thing, or splits one idea across a bad boundary. Treat generated cards as a first draft, especially for anything you’re studying to pass an exam.
The native addon is newer, so it has less mileage. ankimcp’s classic Node server has been through more real-world use. If something breaks, the AnkiConnect route has a longer track record of people hitting and fixing the same issues.
Claude works on one collection at a time. Both main servers can start an AnkiWeb sync (ankimcp’s sync tool, nailuoGG’s anki_sync), so cards Claude adds on your computer reach AnkiMobile and AnkiDroid at the next sync. Claude itself only works on the collection of the machine running the server, or on your Android phone through the early-access AnkiDroid app.
Remote access needs a tunnel. Reaching your Anki from claude.ai, ChatGPT or another machine means one. The managed tunnel (setup above) needs an ankimcp.ai account. You can run Cloudflare Tunnel or ngrok yourself instead, but ankimcp’s built-in ngrok route has no sign-in, so anyone with the URL can read and change your collection.
Where ContextBolt fits
ContextBolt is ours, and it doesn’t connect to Anki.
It covers the step before Anki. Anki turns things you already understand into long-term memory. ContextBolt catches the raw material before that, the threads, articles and posts you save while researching a topic on X, Reddit or LinkedIn, before you’ve decided what is worth a flashcard. It tags and clusters everything automatically and exposes its own MCP endpoint, so Claude can pull from your saves in the same conversation where it builds your deck. Basic is free and capped at 150 bookmarks. Pro is $6 a month, removes the cap, and adds cloud sync and the MCP endpoint.