Anki
by ankimcp
let your AI assistant make and review flashcards.
1. Made by
“This is an independent community project not affiliated with Ankitects.”
It wraps the Anki app and the AnkiConnect add-on, but it is an independent community project, not made by Ankitects, the company behind Anki. The repository and ankimcp.ai belong to that project.
ankimcp.ai/2. Keys
“claude mcp add --transport stdio anki -- npx -y @ankimcp/anki-mcp-server --stdio”
Needs the Anki desktop app open with the AnkiConnect add-on (code 2055492159). The makers suggest their AnkiMCP add-on for most setups; this package is for clients that start a local server (stdio) and for the Claude Desktop bundle.
ankimcp.ai/docs/how-to/connect-claude/4. Commercial use
“"license":"MIT"”
The code is MIT; keep the notice when you copy it.
registry.npmjs.org/@ankimcp/anki-mcp-server/latestChecked against its repository at one commit, on Nov 10, 2026. Tap a verdict to see its source.How we checkedReport an error
What Anki does
Anki MCP Server lets an AI assistant work with the Anki flashcard app on your computer. It can make new cards, quiz you on cards that are due and record how well you knew each one, like a private tutor. Your cards stay in your own Anki; the server sends nothing to its makers.
What people use it for
Study a deck in conversation
Say "help me review my Spanish deck". The assistant shows each due card, checks your answer, explains mistakes and records your rating in Anki.
Make cards from what you read
Paste notes, a lecture summary or a word list and ask for cards. The assistant adds them to the deck you name, up to 100 at a time.
Language cards with right-to-left text
For Arabic or Hebrew vocabulary, the assistant can create a card style that writes right to left and then fill it with words.
Add a picture to a card
Point the assistant at an image on your computer or a web address, and it puts the picture on the front of the selected card.
Let the assistant look but not edit
Start it in read-only mode to browse decks and search notes without risk of the assistant changing or deleting cards.
A weekly study check-in Idea
Ask once a week how your reviews went, which decks fall behind and how long your study streak is, then plan the next week.
Anki popularity
Tools it gives your agent (53)
What it sends and its license
nothing in local mode; requests go only to AnkiConnect on your computer
To AnkiConnect (default http://localhost:8765); on each tool call. Opt out: not needed.
your cards and the assistant's requests, passing through
To the AnkiMCP tunnel servers (wss://tunnel.ankimcp.ai); only in tunnel mode (--tunnel). Opt out: use the local stdio or HTTP mode.
a download request for the image or audio address you give
To the web address passed to storeMediaFile; only when a media file is added from a web address. Opt out: pass a local file path instead.
your collection, through Anki's own sync
To AnkiWeb; when the assistant calls the sync tool. Opt out: do not call sync.
The server's code is free under the MIT license, also for paid work. Running it on your own computer costs nothing; only the optional remote tunnel has paid plans.
Copies of the code must keep the MIT copyright and permission notice.
“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” source
MIT allows any use, paid or not.
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction” source
Is it alive
0.27.0 in the registry, updated Oct 4, 2026
0.27.0 on npm (2026-10-04); main is at 0.27.1, not yet released, at the pinned commit
Alternatives
Anki This page
ts-fsrs
Pick it if you are building your own flashcard app and need a review scheduler in code
Get started
Tell your AI assistant
“Connect the Anki MCP server (npx -y @ankimcp/anki-mcp-server@0.27.0 --stdio) with Anki open, list my decks, then create 10 cards in the deck I name from this text and ask me before deleting anything.”
Connect it
claude mcp add --transport stdio anki -- npx -y @ankimcp/anki-mcp-server --stdionpx -y @ankimcp/anki-mcp-server{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": ["-y", "@ankimcp/anki-mcp-server", "--stdio"],
"env": {
"ANKI_CONNECT_URL": "http://localhost:8765"
}
}
}
}
Needs the Anki desktop app open with the AnkiConnect add-on (code 2055492159). The makers suggest their AnkiMCP add-on for most setups; this package is for clients that start a local server (stdio) and for the Claude Desktop bundle.
Mistakes to avoid
Rating Again records a real lapse and permanently skews scheduling and statistics.
Base64 is very slow and uses many tokens.
The call is rejected unless confirmDeletion is true, and deletion removes all cards of the note.
The server needs Node.js 22.12.0 or newer.
The README says to list tags first to avoid duplicates.
Questions
Does it work without Anki open?
No. The Anki desktop app has to be open, because the server works on your real collection.
Does it cost money?
Not on your own computer. Only the optional tunnel for web or phone assistants has a free tier and paid plans.
Should I use this package or the AnkiMCP add-on?
The makers suggest the add-on for most setups; use this package when your client starts a local server over stdio or for the Claude Desktop bundle.
Does the server collect my data?
No. It runs on your computer, collects no usage data and only talks to the AnkiConnect address you set.