Labsco
MCP SERVER

Anki MCP Server

by nailuoGG

Build and maintain an Anki collection by describing the cards — decks, note types, tags and all — through AnkiConnect.

Education, Tutoring & Study Tools
Summary
The tedious half of flashcards — the making — moves into the conversation.

Anything you would do in Anki's editor window is a call here: create the deck, define the note type, add fifty notes in one go, and search what you already have in Anki's own query syntax before adding more.

What it is

A bridge into the Anki desktop app over the AnkiConnect add-on. It reaches the collection already open on your machine — decks, notes, note types and tags — with creation, search, editing and deletion all available.

What you get
  • Decks listed, optionally with their IDs, and new ones created
  • Notes created one at a time or in a batch, updated, and deleted singly or in bulk
  • Search across the collection in Anki's own query syntax, and full detail on any note it returns
  • Tags listed, and added to or removed from one note or many
  • Note types listed, inspected field by field, and created
  • A connection check, so a failure tells you AnkiConnect is unreachable instead of failing mid-task
  • An AnkiWeb sync trigger — it returns once Anki accepts the request, not once AnkiWeb has the data
Requirements

Anki installed and running, the AnkiConnect add-on enabled inside it, and a current Node.js LTS. Claude Desktop users can install the packaged .mcpb bundle instead of editing config by hand. Older unprefixed tool names such as create_note stay callable for existing clients.

Setup effort

One command — npx --yes anki-mcp-server