AnkiConnect MCP Server

AnkiConnect MCP server for interacting with Anki via AnkiConnect.

Local serverstdioTypeScript

What is the AnkiConnect MCP Server?

Ankiconnect mcp server lets Claude, Cursor and other MCP clients work with AnkiConnect directly. AnkiConnect MCP server for interacting with Anki via AnkiConnect.

What AnkiConnect does

A Model Context Protocol (MCP) server that provides seamless integration with Anki through the AnkiConnect add-on. This server enables AI assistants and other MCP clients to interact with your Anki flashcard collection programmatically.

AnkiConnect is a powerful Anki add-on that exposes Anki's functionality through a REST API. It allows external applications to:

Practical notes

  • Written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the AnkiConnect MCP Server

{
  "mcpServers": {
    "anki-connect-mcp": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {},
      "disabled": false,
      "alwaysAllow": [
        "deck_names",
        "cards_info",
        "deck_names_and_ids",
        "gui_deck_browser"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Frequently asked questions

AnkiConnect MCP server for interacting with Anki via AnkiConnect. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.