anki-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| deck_deckNamesAndIdsA | Gets the complete list of deck names and their respective IDs. Returns a dictionary mapping deck names to their IDs. |
| deck_getDeckConfigC | Gets the configuration group object for the given deck name. Returns the deck configuration object. |
| deck_deckNamesB | Gets the complete list of deck names for the current user. Returns a list of deck names. |
| deck_createDeckA | Creates a new empty deck. Will not overwrite an existing deck with the same name. Returns the ID of the created deck. |
| deck_deleteDecksC | Deletes decks with the given names. The 'cardsToo' argument must be specified and set to true. |
| deck_changeDeckA | Moves cards with the given IDs to a different deck, creating the deck if it doesn't exist yet. |
| deck_saveDeckConfigC | Saves the given configuration group. Returns true on success, false otherwise. |
| note_findNotesB | Returns an array of note IDs for a given Anki search query. |
| note_notesInfoC | Returns a list of objects containing information for each note ID provided. |
| note_getNoteTagsB | Gets the tags for a specific note ID. Returns a list of tags. |
| note_addNoteA | Creates a new note using the given deck, model, fields, and tags. Returns the ID of the created note or null if the note could not be created. |
| note_updateNoteFieldsC | Modifies the fields of an existing note. |
| note_deleteNotesC | Deletes notes with the given IDs. |
| note_addNotesA | Creates multiple notes. See 'addNote' for the structure of each note object in the list. Returns a list of new note IDs, or null for notes that couldn't be created. |
| note_addTagsC | Adds tags to the specified notes. |
| note_removeTagsC | Removes tags from the specified notes. |
| note_updateNoteC | Modifies the fields and/or tags of an existing note. |
| card_findCardsB | Returns an array of card IDs for a given Anki search query. |
| card_cardsInfoC | Returns a list of objects containing information for each card ID provided. |
| card_cardsToNotesC | Returns an unordered array of note IDs for the given card IDs. |
| card_areSuspendedA | Returns an array indicating whether each given card is suspended. Each item is boolean or null if the card doesn't exist. |
| card_cardsModTimeB | Returns modification time for each card ID provided. Result is a list of objects with 'cardId' and 'modTime' (timestamp). |
| card_suspendedA | Checks if a single card is suspended by its ID. Returns true if suspended, false otherwise. |
| card_suspendC | Suspends the specified cards. Returns true on success. |
| card_unsuspendB | Unsuspends the specified cards. Returns true on success. |
| card_setSpecificValueOfCardB | Sets specific values of a single card. Use with caution. Returns list of booleans indicating success for each key. |
| model_modelNamesAndIdsA | Gets the complete list of model (note type) names and their IDs. Returns a dictionary mapping model names to IDs. |
| model_findModelsByNameC | Gets a list of model definitions for the provided model names. |
| model_modelFieldNamesC | Gets the list of field names for the provided model name. |
| model_modelTemplatesB | Returns an object indicating the template content for each card of the specified model. |
| model_modelStylingB | Gets the CSS styling for the provided model name. Returns an object containing the 'css' field. |
| model_createModelB | Creates a new model (note type). Returns the created model object. |
| model_updateModelTemplatesC | Modifies the templates of an existing model by name. |
| model_updateModelStylingC | Modifies the CSS styling of an existing model by name. |
| model_modelFieldAddC | Adds a new field to an existing model. |
| model_modelFieldRemoveC | Removes a field from an existing model. |
| media_retrieveMediaFileA | Retrieves the base64-encoded contents of the specified media file. Returns the base64 string or false if not found. |
| media_getMediaFilesNamesB | Gets the names of media files matching the glob pattern. Returns a list of filenames. |
| media_storeMediaFileA | Stores a media file in Anki's media folder. Provide one of 'data' (base64), 'path', or 'url'. Returns the stored filename or false on error. |
| media_deleteMediaFileC | Deletes the specified file from Anki's media folder. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ujisati/anki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server