
mcp-ankiconnect
by samefarrar
Integrate Claude with AnkiConnect for seamless spaced repetition and flashcard management.
What it does
Connects Claude conversations directly to Anki via the AnkiConnect plugin. This allows an AI assistant to manage your spaced repetition system, helping you review due cards, create new flashcards from conversations, and modify existing notes without leaving the chat interface.
Tools
num_cards_due_today: Returns the count of due cards for a specific deck or across all decks.get_due_cards: Fetches cards due for review in XML format.submit_reviews: Submits ratings (wrong, hard, good, easy) for reviewed cards.inspect_cards: Views detailed per-card state, including scheduling and intervals.update_note_fields: Modifies text content of note fields with MathJax/code conversion.update_note_tags: Manages tags on one or more notes.set_suspended: Suspends or unsuspends specific cards.change_deck: Moves cards between different decks.reschedule_cards: Adjusts due dates or resets card learning states.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-ankiconnect": {
"command": "uv",
"args": ["run", "--with", "mcp-ankiconnect", "mcp-ankiconnect"]
}
}
}
Supported hosts
- Claude Desktop
Quick install
uv run --with mcp-ankiconnect mcp-ankiconnectInformation
- Pricing
- free
- Published






