Anki MCP Server

This project provides a Model Context Protocol (MCP) server that acts as a bridge to the Anki spaced repetition software via the Anki-Connect add-on. It allows MCP-compatible clients (like AI…

Local server

What is the Anki MCP Server?

Anki MCP Server is an MCP project maintained in the greycodee/anki-mcp-server repository. The maintainer describes its purpose as “This project provides a Model Context Protocol (MCP) server that acts as a bridge to the Anki spaced repetition software via the Anki-Connect add-on. It…”. Read the project documentation for the complete scope.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

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_deck_namesGets the complete list of deck names.
anki_deck_names_and_idsGets deck names and their IDs.
anki_create_deckdeck_name: str): Creates a new empty deck.
anki_change_deckcard_ids: List[int], deck_name: str): Moves cards to a different deck.
anki_delete_decksdeck_names: List[str]): Deletes specified decks and their cards.
anki_get_deck_statsdeck_names: List[str]): Gets statistics for specified decks.
anki_find_cardsquery: str): Finds cards using an Anki search query.
anki_cards_infocard_ids: List[int]): Gets detailed information about multiple cards.
anki_cards_to_notescard_ids: List[int]): Gets the note IDs for given card IDs.
anki_suspend_cardscard_ids: List[int]): Suspends specified cards.
anki_unsuspend_cardscard_ids: List[int]): Unsuspends specified cards.
anki_are_suspendedcard_ids: List[int]): Checks if cards are suspended.
anki_are_duecard_ids: List[int]): Checks if cards are due for review.
anki_forget_cardscard_ids: List[int]): Resets specified cards to new.
anki_relearn_cardscard_ids: List[int]): Puts specified cards into the relearning state.
anki_add_note...): Creates a new Anki note with specified deck, model, fields, options, tags, and media.
anki_update_note_fields...): Modifies the fields and media of an existing note.
anki_find_notesquery: str): Finds notes using an Anki search query.
anki_notes_infonote_ids: List[int]): Gets detailed information about multiple notes.
anki_get_note_tagsnote_id: int): Gets the tags for a specific note.
anki_add_tagsnote_ids: List[int], tags: str): Adds space-separated tags to notes.
anki_remove_tagsnote_ids: List[int], tags: str): Removes space-separated tags from notes.
anki_update_note_tagsnote_id: int, tags: List[str]): Sets the tags for a note, replacing old ones.
anki_delete_notesnote_ids: List[int]): Deletes specified notes and their cards.
anki_model_names): Gets the list of model (note type) names.
anki_model_field_namesmodel_name: str): Gets the list of field names for a given model.
anki_request_permission): Requests permission to use the Anki-Connect API. Should be called first.
anki_version): Gets the version of the Anki-Connect API.
anki_sync): Synchronizes the local Anki collection with AnkiWeb.