Anki MCP Server
@MCP-Mirror
About Anki MCP Server
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"anki": {
"command": "node",
"args": [
"path/to/anki-mcp-server/dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Anki MCP Server?
An MCP (Model Context Protocol) server for Claude Desktop that connects to Anki via AnkiConnect and retrieves leech-tagged cards. It also adds date-stamped review tags to cards and provides comprehensive card data for analysis by Claude.
How to use Anki MCP Server?
Ensure Anki is running with AnkiConnect installed. Clone the repository, install dependencies, build the project, and configure the .env file with the Anki Connect URL. Run npm start to start the server, then add the server to the mcpServers section in the Claude Desktop configuration file.
Key features of Anki MCP Server
- Connects to Anki via AnkiConnect API
- Retrieves cards with "leech" tags
- Adds date-stamped review tags to cards
- Provides comprehensive card data for analysis by Claude
- Can be used with Claude Desktop
Use cases of Anki MCP Server
- Analyze leech cards to improve study methods
- Track which cards have been reviewed with date-stamped tags
- Integrate Anki with Claude Desktop for AI-assisted card review
FAQ from Anki MCP Server
What are the prerequisites?
Anki installed and running, AnkiConnect add-on installed in Anki, and Node.js with npm.
How do I configure the connection to Anki?
Set the ANKI_CONNECT_URL environment variable to your Anki Connect API URL (default: http://localhost:8765). If connecting to localhost doesn't work, use your computer's local IP address (e.g., http://192.168.x.x:8765).
What tools are available?
get_leech_cards retrieves cards tagged as leeches, with optional detailed and count parameters. tag_reviewed_cards adds a date-stamped review tag to specified card IDs, with optional custom_tag_prefix.
Is there a testing mode?
Yes, set ANKI_MOCK_MODE=true to simulate Anki operations without affecting actual data. Use npm run start:test or the .env.test file.
What if I get a connection error?
Make sure Anki is running and AnkiConnect is installed. If using localhost fails, find your local IP address and update ANKI_CONNECT_URL accordingly. Ensure AnkiConnect allows connections from your IP address.
Frequently asked questions
What are the prerequisites?
Anki installed and running, AnkiConnect add-on installed in Anki, and Node.js with npm.
How do I configure the connection to Anki?
Set the `ANKI_CONNECT_URL` environment variable to your Anki Connect API URL (default: `http://localhost:8765`). If connecting to localhost doesn't work, use your computer's local IP address (e.g., `http://192.168.x.x:8765`).
What tools are available?
`get_leech_cards` retrieves cards tagged as leeches, with optional `detailed` and `count` parameters. `tag_reviewed_cards` adds a date-stamped review tag to specified card IDs, with optional `custom_tag_prefix`.
Is there a testing mode?
Yes, set `ANKI_MOCK_MODE=true` to simulate Anki operations without affecting actual data. Use `npm run start:test` or the `.env.test` file.
What if I get a connection error?
Make sure Anki is running and AnkiConnect is installed. If using localhost fails, find your local IP address and update `ANKI_CONNECT_URL` accordingly. Ensure AnkiConnect allows connections from your IP address.
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome Mlops
visengerA curated list of references for MLOps
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments