AnkiConnect MCP Server

Connects Claude conversations with AnkiConnect to facilitate spaced repetition learning.

Local serverstdioGo★ 13

What is the AnkiConnect MCP Server?

Connects Claude conversations with AnkiConnect to facilitate spaced repetition learning.

What you get

Connect Claude conversations with AnkiConnect via MCP to make spaced repetition as easy as "Let's go through today's flashcards" or "Make flashcards for this"

Configuration and credentials

  • Anki must be running with AnkiConnect plugin installed (plugin id 2055492159) AnkiConnect can be slow on Macs due to the AppSleep feature, so disable it for Anki. To do so run the following in your terminal.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
num_cards_due_todayGet the number of cards due today
get_due_cardsGet cards that are due for review
submit_reviewsSubmit answers for reviewed cards
search_notesFind notes by AnkiConnect query. Returns IDs + a short Front preview by default (cheap); pass return_card_content=true to receive cleaned field content inline.
inspect_cardsView per-card state for given card IDs or note IDs. Sparse-fieldset selection via the properties list: any of identity, state, scheduling, timestamps, history, fields, or all (default: ["identity", "state", "scheduling"]
update_note_fieldsModify the text content of one note's fields. Uses the same MathJax/code conversions as add_note.
update_note_tagsAdd and/or remove tags on one or more notes.
set_suspendedSuspend or unsuspend one or more cards.
change_deckMove cards (by card ID) into a different deck.
reschedule_cardsSet due date, forget, or relearn one or more cards.

Configuration

  • Anki must be running with AnkiConnect plugin installed (plugin id 2055492159) AnkiConnect can be slow on Macs due to the AppSleep feature, so disable it for Anki. To do so run the following in your terminal.

Example prompts to try

  • “Use AnkiConnect to num cards due today.”
  • “Use AnkiConnect to get due cards.”
  • “Use AnkiConnect to submit reviews.”

Frequently asked questions

AnkiConnect for Claude connects your Claude conversations with your Anki spaced repetition system. It allows you to easily create flashcards and review them directly from your Claude interface.