AnkiConnect MCP Server
Provides tools for reviewing Anki decks card by card, listing decks and cards, searching cards, and applying user-approved edits or additions to notes in an Anki instance via AnkiConnect.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AnkiConnect MCP ServerGo through my Italian deck and flag cards missing verb forms."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AnkiConnect MCP Server
Python MCP server for AnkiConnect. Deck review assistant: walk through a deck card by card, spot gaps (verb forms, declension), fix with approval.
Prerequisites
Anki 2.1.x running in the background
AnkiConnect add-on (install code:
2055492159)Python 3.11+
Verify AnkiConnect: open http://127.0.0.1:8765 — you should see AnkiConnect.
Related MCP server: Anki MCP Server
Installation
cd AnkiConnectMCP
python -m pip install -e .Cursor MCP configuration
In .cursor/mcp.json (or Cursor Settings → MCP):
{
"mcpServers": {
"anki-connect": {
"command": "python",
"args": ["-m", "anki_connect_mcp.server"],
"cwd": "C:/Users/Fabian/Desktop/Projekte/AnkiConnectMCP",
"env": {
"PYTHONPATH": "src",
"ANKI_CONNECT_URL": "http://127.0.0.1:8765"
}
}
}
}Reload the MCP server after code changes.
How it works
Typical session — no JSON, just chat:
Du: „Geh mein Italienisch-Deck durch — Verben sollen alle Formen auf einer Karte haben“
KI: list_deck_cards(deck_name="Italienisch", offset=0)
→ #1–#15 mit Front/Back
Chat-Analyse:
#3 mangiare — Partizip fehlt
#7 il libro — nicht dekliniert
Soll ich #3 anpassen?
Du: „ja, Partizip mangiato“
KI: BEFORE/AFTER im Chat + edit_card(note_id=…, back="…")
Du: „weiter“ / „nächster Block“ / „#7 auch“New chat message while Run is pending = revision, not blind apply.
Tools
Tool | Description |
| Deck names |
| Numbered page of cards for systematic review |
| One card in detail |
| Targeted search (verbs, tags, text) |
| Apply one approved edit |
| Add one new card |
Security
Read tools never modify Anki.
Writes only after Cursor Run approval.
No delete tools. Optional
ALLOWED_DECKSallowlist.One tool at a time (server lock).
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Anki desktop app for spaced repetition learning. Supports reviewing due cards, creating new flashcards, and managing study sessions through natural language commands.MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Anki flashcard decks and cards through natural language, supporting deck creation, card additions (basic and cloze types), and review queue management.682MIT
- FlicenseNot gradedqualityNot gradedmaintenanceConnects Claude to Anki flashcard software via AnkiConnect, enabling users to review due cards, create flashcards, and manage spaced repetition learning through natural language conversations.
- AlicenseAqualityDmaintenanceEnables AI tools to manage Anki flashcards, including deck management, card search, creation, editing, deletion, and statistics.10353Apache 2.0
Related MCP Connectors
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Free: turn your AI chats into spaced-repetition vocabulary. 13 tools, reads and writes.
AI-powered YouTube to flashcards with spaced repetition and Anki export
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fabianissam/AnkiConnectMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server