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

Installing the clanki mcp server

The server is distributed via npm as @modelcontextprotocol/inspector, 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

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

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. Clanki 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 jasperket.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the clanki 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 Clanki MCP server

{
  "mcpServers": {
    "clanki": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

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

Frequently asked questions

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