Anki MCP Server

Enables Large Language Models to interact with Anki flashcard software through AnkiConnect using the Model Context Protocol.

Local serverstdio★ 247

What is the Anki MCP Server?

Enables Large Language Models to interact with Anki flashcard software through AnkiConnect using the Model Context Protocol.

Configuration

  1. Anki installed on your system 2. AnkiConnect add-on installed in Anki 3. Node.js 20.11 or newer

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
anki_check_connectionCheck whether AnkiConnect is reachable
anki_list_decksList all available Anki decks, optionally with deck IDs
anki_create_deckCreate a new Anki deck
anki_list_tagsList all tags currently used in the collection
anki_add_note_tagsAdd tags to one or more notes
anki_remove_note_tagsRemove tags from one or more notes
anki_create_noteCreate a new note
anki_batch_create_notesCreate multiple notes at once
anki_search_notesSearch for notes using Anki query syntax
anki_get_note_infoGet detailed information about a note
anki_update_noteUpdate an existing note's fields and/or tags
anki_delete_noteDelete one or multiple notes
anki_list_note_typesList all available note types
anki_create_note_typeCreate a new note type

Configuration

  1. Anki installed on your system 2. AnkiConnect add-on installed in Anki 3. Node.js 20.11 or newer

Example prompts to try

  • “Use Anki to anki check connection.”
  • “Use Anki to anki list decks.”
  • “Use Anki to anki create deck.”

Frequently asked questions

You can programmatically create new Anki decks, add or update flashcards (both basic and cloze deletion types), search for specific notes using Anki's query syntax, and retrieve detailed information about your notes and note types, all powered by LLMs.