Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / anki-mcp-server

anki-mcp-server

anki-mcp-server is an MCP server. Its repository has 532 GitHub stars and is licensed under MIT; we last read it on 2026-10-25.

This server facilitates AI assistants in interacting with Anki, a spaced repetition flashcard application, using the Model Context Protocol (MCP).

Install

Read from anki-mcp-server’s own README, close to verbatim -- not written by us, and not guessed.

npm install @ankimcp/anki-mcp-server

What it reaches, and what it needs

Reaches
○ not recognised
Credential
○ none found

Maintenance

Stars
532
State
listed
Licence
MIT
From the repository

A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

What anki-mcp-server can do

39 tools documented in its README. An AI client calls these by name.

sync
Sync with AnkiWeb to pull latest data and push changes
get_due_cards
Get cards that are due for review, optionally filtered by deck (answers omitted unless `include_answer: true`, default `false`)
get_cards
Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck (answers omitted unless `include_answer: true`, default `false`)
present_card
Show a card for review with its question/front side
rate_card
Rate card performance (Again, Hard, Good, Easy) and schedule the next review
forgetCards
Reset cards to new, discarding their scheduling without recording a review
setDueDate
Reschedule cards to become due in N days (`"0"`, `"3-7"`, `"1!"`), without recording a review
areSuspended
Check suspension state for one or more cards without changing anything
suspend
Suspend cards so they are skipped during review until unsuspended
unsuspend
Unsuspend cards so they return to normal review
listDecks
List all decks, optionally with per-deck study-queue statistics
deckStats
Get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)
createDeck
Create a new empty deck (supports `Parent::Child`, max 2 levels)
changeDeck
Change the deck of one or more cards
guiBrowse
Open the Card Browser and search for cards
guiSelectCard
Select a specific card in the Card Browser
guiSelectedNotes
Get IDs of notes currently selected in the Card Browser
guiAddCards
Open the Add Cards dialog with preset note details
guiEditNote
Open the note editor for a specific note
guiDeckOverview
Open the Deck Overview dialog for a specific deck
guiDeckBrowser
Open the Deck Browser dialog
guiCurrentCard
Get info about the current card in review mode (includes the answer; errors outside review mode)
guiShowQuestion
Show the question side of the current card
guiShowAnswer
Show the answer side of the current card
guiUndo
Undo the last action in Anki
modelNames
List all available note types/models
modelFieldNames
Get field names for a specific note type
modelStyling
Get CSS styling information for a note type
modelTemplates
Get the card templates (Front and Back HTML) for a note type
createModel
Create a new note type with custom fields, card templates, and CSS (e.g., RTL models)
updateModelStyling
Update the CSS styling for an existing note type (applies to all its cards)
updateModelTemplates
Update the card templates (Front and Back HTML) for an existing note type (applies to all its cards)
addModelField
Add a new field to an existing note type (appended at the end or inserted at a specific position)
removeModelField
Remove a field from an existing note type (deletes its content from all notes; requires explicit confirmation)
renameModelField
Rename a field in an existing note type (Anki rewrites references to the old name in the card templates)
repositionModelField
Change the position of a field within an existing note type
collection_stats
Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts
review_stats
Review history analysis (temporal patterns, retention metrics, study streaks)
deleteMediaFile
Remove a media file from `collection.media` (destructive)

Read from the README; names are kept only if the README contains them.

Common questions about anki-mcp-server

What does anki-mcp-server do?
This server facilitates AI assistants in interacting with Anki, a spaced repetition flashcard application, using the Model Context Protocol (MCP).
How do I install anki-mcp-server?
Its own README gives this command: npm install @ankimcp/anki-mcp-server. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
Is anki-mcp-server official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 532 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-22.
What licence does anki-mcp-server use?
The repository declares the MIT licence.

Learn this on Infrato