anki-mcp-server

anki-mcp-server

2.2

Anki MCP Server is a Model Context Protocol server designed to connect Claude Desktop to Anki via AnkiConnect. It retrieves and manages leech-tagged Anki cards, allowing for enhanced study analysis with Claude.

Anki MCP Server

Features

  • Connects to Anki via AnkiConnect API
  • Retrieves leech-tagged cards
  • Adds date-stamped review tags to cards
  • Provides comprehensive card data for analysis by Claude

Prerequisites

  • Anki installed and running
  • AnkiConnect add-on installed in Anki
  • Node.js and npm

Usage

  1. Ensure Anki is running with AnkiConnect installed
  2. Run the MCP server

Troubleshooting

  • "Could not connect to Anki" - Check Anki is running and AnkiConnect is installed
  • "No leech cards found" - No leech cards in Anki
  • Connection issues with localhost - Use local IP address for connection
  • Tag not appearing - Ensure valid card IDs for tagging