MCP server for Anki via AnkiConnect
README
A Model Context Protocol (MCP) server that enables LLMs to interact with Anki flashcard software through AnkiConnect.
anki_check_connection - Check whether AnkiConnect is reachableanki_list_decks - List all available Anki decks, optionally with deck IDsanki_create_deck - Create a new Anki deckanki_list_tags - List all tags currently used in the collectionanki_add_note_tags - Add tags to one or more notesanki_remove_note_tags - Remove tags from one or more notesanki_create_note - Create a new noteanki_batch_create_notes - Create multiple notes at onceanki_search_notes - Search for notes using Anki query syntaxanki_get_note_info - Get detailed information about a noteanki_update_note - Update an existing note's fields and/or tagsanki_delete_note - Delete one or multiple notesanki_list_note_types - List all available note typesanki_create_note_type - Create a new note typeanki_get_note_type_info - Get detailed structure of a note typeanki_sync - Trigger AnkiWeb sync (fire-and-forget; success means Anki accepted the request, not that AnkiWeb received the data; a blocking dialog in Anki can silently keep the sync queued)Legacy unprefixed tool names such as create_note and list_decks remain callable for existing clients, but new agent integrations should use the anki_* names.
anki://decks/all - Complete list of available decks with deck IDsanki://tags/all - Complete list of tagsanki://note-types/all - List of all available note typesanki://note-types/all-with-schemas - Detailed structure information for all note typesanki://note-types/{modelName} - Detailed structure information for a specific note type