Anki MCP Server

A Model Context Protocol (MCP) server that connects Claude and Anki, allowing you to create, manage, and enrich flashcard decks through natural

Local serverstdioPython

What is the Anki MCP server?

Anki mcp server lets Claude, Cursor and other MCP clients work with Anki directly. A Model Context Protocol (MCP) server that connects Claude and Anki, allowing you to create, manage, and enrich flashcard decks through natural language — without ever opening the Anki UI.

What Anki does

A Model Context Protocol (MCP) server that connects Claude and Anki, allowing you to create, manage, and enrich flashcard decks through natural language — without ever opening the Anki UI.

Installing the anki mcp server

The server is distributed via PyPI as pytest, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Requirements

  • Python 3.9 or higher - Anki 2.1.x or higher - AnkiConnect add-on - Claude Desktop (or any MCP-compatible client)

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Anki sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by dhkim0124, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the anki mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Anki MCP server

{
  "mcpServers": {
    "anki": {
      "command": "uvx",
      "args": ["pytest"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.9 or higher - Anki 2.1.x or higher - AnkiConnect add-on - Claude Desktop (or any MCP-compatible client)

Frequently asked questions

It connects Anki to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Anki directly.