AnkiMCP

Bridge your Anki flashcard collection with AI assistants through the Model Context Protocol. Study smarter with seamless AI integration.

MCP Protocol

Built on the Model Context Protocol standard, providing seamless integration with Claude Desktop and any MCP-compatible AI host.

Permission Control

Fine-grained permissions let you control exactly what AI assistants can read, write, or modify in your collection.

Full API

Access decks, notes, cards, and review statistics. Create, update, and manage your Anki content programmatically.

Anki
AnkiMCP
AI Assistant

Quick Start

1

Install AnkiMCP

From AnkiWeb
  1. In Anki, go to Tools → Add-ons → Get Add-ons...
  2. Enter code: 1513864660
  3. Click OK and restart Anki
or
From GitHub
  1. Download from GitHub
  2. Copy src/ankimcp to your Anki addons folder
  3. Restart Anki
2

Configure MCP Host

Add AnkiMCP to your Claude Desktop or Claude Code configuration:

mcp.json JSON
{
  "mcpServers": {
    "ankimcp": {
      "type": "sse",
      "url": "http://localhost:4473/sse"
    }
  }
}
3

Start Using

The MCP server starts automatically when you open an Anki profile. Your AI assistant can now:

  • List and search your decks
  • Create new cards from conversations
  • Review your learning statistics
  • Update existing notes

Try it: Ask Claude "What Anki decks do I have?" or "Create a flashcard for [topic]"

9 API Methods
SSE Real-time
3-Step Setup

Ready to connect your flashcards to AI?

Start using AnkiMCP today and let AI assistants help you study, create cards, and analyze your learning progress.