Basic information
About Anki MCP Server
# Anki MCP Server
Anki MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by captain-blue210. Supported transport: stdio. Runtime: node. License: MIT. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"anki": {
"command": "node",
"args": [
"path/to/anki-mcp-server/dist/index.js"
]
}
}
}
{
"mcpServers": {
"anki": {
"command": "node",
"args": [
"path/to/anki-mcp-server/dist/index.js"
]
}
}
}
{
"servers": {
"anki": {
"command": "node",
"args": [
"path/to/anki-mcp-server/dist/index.js"
]
}
}
}
Anki MCP Server — by captain-blue210 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"
]
}
}
}
Anki MCP Server — by captain-blue210 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
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 for AI analysis.
How to use Anki MCP Server?
Install Anki with the AnkiConnect add‑on, clone the repository, install dependencies (npm install), build (npm run build), configure the .env file (optional), run npm start, and add the server to Claude Desktop’s claude_desktop_config.json. Use tools such as get_leech_cards and tag_reviewed_cards via Claude.
Key features of Anki MCP Server
- Connects to Anki via the AnkiConnect API
- Retrieves cards tagged as “leech”
- Adds date‑stamped “reviewed” tags to cards
- Provides comprehensive card data for Claude analysis
- Supports mock mode for testing without affecting real data
Use cases of Anki MCP Server
- Analyze leech cards to uncover study weaknesses
- Tag reviewed cards to track progress with Claude
- Test Claude integrations safely using mock mode
Frequently asked questions
1 How does Anki MCP Server connect to Anki?
It uses the AnkiConnect add‑on, which must be installed in Anki, and communicates via HTTP (default http://localhost:8765).
2 What are the prerequisites for Anki MCP Server?
Anki running with the AnkiConnect add‑on, Node.js, and npm.
3 Can I test the server without affecting my real Anki data?
Yes. Set ANKI_MOCK_MODE=true in the .env file or use the provided .env.test configuration and run npm run start:test. All operations are simulated.
4 What if I get connection errors when starting the server?
If localhost fails, find your computer’s local IP address (e.g., 192.168.x.x), update ANKI_CONNECT_URL to http://YOUR_LOCAL_IP:8765, and ensure AnkiConnect allows connections from that IP.
5 What tools does Anki MCP Server expose to Claude?
Two tools: get_leech_cards (with optional detailed and count parameters) and tag_reviewed_cards (with required card_ids and optional custom_tag_prefix).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In