Skip to content
appsgit

Anki MCP Server

Anki MCP Server is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect. It has 507 GitHub stars, is released under the MIT license and runs locally with npx -y @ankimcp/anki-mcp-server.

github.com/ankimcp/anki-mcp-server (opens in a new tab)

Install Anki MCP Server

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio anki-mcp-server -- npx -y @ankimcp/anki-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "anki-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "anki-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (9)

Parsed from the Tools section of the README; check the repository for the current list.

  • sync

    Sync with AnkiWeb to pull latest data and push changes

  • get_due_cards

    Get cards that are due for review, optionally filtered by deck (answers omitted unless includeanswer: true, default…

  • get_cards

    Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck (answers omitted unless…

  • present_card

    Show a card for review with its question/front side

  • rate_card

    Rate card performance (Again, Hard, Good, Easy) and schedule the next review

  • suspend

    Suspend cards so they are skipped during review until unsuspended

  • unsuspend

    Unsuspend cards so they return to normal review

  • collection_stats

    Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts

  • review_stats

    Review history analysis (temporal patterns, retention metrics, study streaks)

About Anki MCP Server

Seamlessly integrate Anki with AI assistants through the Model Context Protocol Beta - This project is in active development. APIs and features may change.

  • ai
  • ai-learning-tool
  • ai-tutor
  • anki
  • anki-addon
  • anki-flashcards

FAQ

Anki MCP Server FAQ

Still curious? Email info@appsgit.com.

What is Anki MCP Server?

Anki MCP Server is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect. It has 507 GitHub stars, is released under the MIT license and runs locally with npx -y @ankimcp/anki-mcp-server. The source code is at github.com/ankimcp/anki-mcp-server.

How do I install the Anki MCP Server MCP server?

Add the command npx -y @ankimcp/anki-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Anki MCP Server free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Anki MCP Server actively maintained?

The most recent commit was on Oct 4, 2026. The latest release is v0.27.0, published Oct 4, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.