Anki MCP Server

A model context protocol server that connects to Anki through AnkiConnect

Local serverstdioTypeScript

What is the Anki MCP server?

Connect Anki to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A model context protocol server that connects to Anki through AnkiConnect. The anki mcp server is what makes that connection.

What the server does

A server to integrate with Anki via the AnkiConnect plugin

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • listDecks — Get names of all decks
  • listModels — Get names of all note models
  • getModel — Get details of a specific note model
  • addNote — Create a single note
  • addNotes — Create multiple notes in bulk
  • Resources — The Resources tool exposed by this server
  • Tools — The Tools tool exposed by this server
  • Debugging — Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the planning and project tracking options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Anki's toolset — listDecks, listModels, getModel and 5 more — is a fair guide to whether it matches your workflow. It is maintained by CamdenClark; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
listDecksGet names of all decks
listModelsGet names of all note models
getModelGet details of a specific note model
addNoteCreate a single note
addNotesCreate multiple notes in bulk
ResourcesThe Resources tool exposed by this server.
ToolsThe Tools tool exposed by this server.
DebuggingSince MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:

Example prompts to try

  • Use Anki to listDecks.
  • Use Anki to listModels.
  • Use Anki to getModel.

Frequently asked questions

Yes, it requires Anki to be active with the AnkiConnect plugin installed and enabled.