Clanki MCP Server

An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP).

Local serverstdio

What is the Clanki MCP Server?

Clanki mcp server connects Clanki to AI assistants that speak the Model Context Protocol. An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP).

What Clanki does

An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP).

Key capabilities

  • Create and manage Anki decks
  • Create basic flashcards with front/back content
  • Create cloze deletion cards
  • Update existing cards and cloze deletions
  • Add and manage tags
  • View deck contents and card information
  • Full integration with AnkiConnect

Requirements

  • Anki installed and running - AnkiConnect plugin installed in Anki - Node.js 16 or higher

Practical notes

  • Maintained by jasperket.

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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Parameters:noteIds: IDs of the notes to delete, at most 50 per call
front(Optional) New front side content
back(Optional) New back side content
tags(Optional) New tags for the note
frontImages(Optional) Array of image URLs for the front
backImages(Optional) Array of image URLs for the back extra field
frontAudio(Optional) Array of audio URLs for the front
backAudio(Optional) Array of audio URLs for the back extra field
text(Optional) New text with cloze deletions
backExtra(Optional) New extra information for the back
textImages(Optional) Array of image URLs for the text field
textAudio(Optional) Array of audio URLs for the text field
cardsArray of { text, backExtra?, tags? } objects (at least one)
confirmMust be true

How to install the Clanki MCP Server

{
  "mcpServers": {
    "clanki": {
      "command": "node",
      "args": [
        "/absolute/path/to/clanki/build/index.js"
      ]
    }
  }
}

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

Configuration

  • Anki installed and running - AnkiConnect plugin installed in Anki - Node.js 16 or higher

Frequently asked questions

An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.