MCP.so
Sign In
A

Anki MCP

@arielbk

About Anki MCP

Anki MCP gives you conversational access to your Anki flashcards—quiz yourself, create cards, analyze progress, and manage your collection with natural language.

Basic information

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "anki-mcp": {
      "command": "npx",
      "args": [
        "@arielbk/anki-mcp"
      ]
    }
  }
}

Tools

91

Overview

What is Anki MCP?

Anki MCP is a Model Context Protocol server that connects Anki flashcard collections to AI assistants like Claude, enabling natural language interaction with study materials.

How to use Anki MCP?

Install the package globally with npm install -g @arielbk/anki-mcp, then configure your MCP client (e.g., Claude Desktop) to run the server with the command anki-mcp. Ensure Anki is running with the AnkiConnect plugin installed. Alternatively, clone the repository for a development setup.

Key features of Anki MCP

  • Full Anki integration via all 115 AnkiConnect API methods
  • Conversational interface for natural language commands
  • Bulk operations for managing thousands of cards
  • Real-time study statistics and analytics
  • Media support for images, audio, and more
  • Complex search queries using Anki’s search syntax

Use cases of Anki MCP

  • Interactive quizzing on due or struggling cards
  • Automated flashcard creation from PDFs or notes
  • Analyzing study patterns and retention rates
  • Bulk tagging, moving, and deduplicating cards
  • Organizing decks and managing card metadata

FAQ from Anki MCP

What prerequisites are needed?

You need Anki installed, the AnkiConnect plugin (add-on code 2055492159), and Node.js 18+ to run the MCP server.

How do I fix “Failed to connect to AnkiConnect”?

Ensure Anki is running and the AnkiConnect plugin is installed and enabled. The server connects to localhost:8765 by default.

What AnkiConnect version is required?

AnkiConnect version 25.2.25.0 or newer is recommended for full compatibility; most features work with older versions.

Can I use this with other MCP clients?

Yes, Anki MCP works with any MCP-compatible client, such as the MCP Inspector, Cline, or custom clients via stdio transport.

Comments

More Other MCP servers