LabscoMCP early access ↗
letuanvu08MCP SERVER

Anki MCP Server by letuanvu08

Create, find, update and answer Anki flashcards from the conversation, with images and audio handled for you.

Education, Tutoring & Study ToolsCommunity

LABSCO SUMMARY

Media handling is the part that usually breaks, and it is solved here.

Adding a card with a picture normally means copying files into Anki's media folder by hand. This server takes a local path, a URL or a filename and does the right thing with each. The cost of the design is that Anki must be open — this is a live connection to the running app, not a database reader.

What it is

An Anki integration that talks to your running desktop app through the AnkiConnect add-on. Its tools are deliberately generic — they work with any deck, note type and field configuration rather than assuming a particular template.

What you get

  • A card created with the deck, note type and fields you choose, or many at once — add_card, batch_add_card
  • Cards retrieved by id or by any Anki search query — get_card
  • Cards due for review and new unseen cards listed — get_due_cards, get_new_cards
  • Cards answered and their fields or tags updated — update_card
  • Media resolved automatically: an absolute local path is read and uploaded into Anki's collection, a URL is downloaded by AnkiConnect, and a bare filename is treated as already present
  • Search resources to read from directly, including anki://search/deckcurrent, anki://search/isdue, anki://search/isnew and custom queries like anki://search/deck:Spanish

Requirements

The Anki desktop app running the whole time, with the AnkiConnect add-on installed — code 2055492159 in Tools → Add-ons → Get Add-ons. Node.js: run it straight from GitHub with npx, or clone it, run npm install and npm run build, and point the client at the absolute path of build/index.js. No account or key. Close Anki's browser window while writing — a known AnkiConnect limitation blocks updates otherwise.

Setup effort

One command — npx -y github:letuanvu08/anki-mcp