
Anki MCP Server
The Anki MCP Server enables AI assistants to interact with Anki, a spaced repetition flashcard application, through the Model Context Protocol. It provides tools for reviewing and rating cards, managing decks and notes, searching flashcards using Anki's query syntax, updating note content with HTML support, syncing with AnkiWeb, and handling media files like audio and images. This integration allows AI assistants to facilitate dynamic study sessions by explaining concepts, creating notes, and adapting to user learning styles through natural language interaction.
- GitHub stars
- 546
- tools
- 53
- transport
- STDIO
- last updated
- Oct 4, 2026
Tools
53 toolsPublic tool metadata for what this MCP can expose to an agent.
syncSync with AnkiWeb to pull latest data and push changes
Sync with AnkiWeb to pull latest data and push changes
No parameter schema in public metadata yet.
get_due_cardsGet cards that are due for review, optionally filtered by deck (answers omitted unless `include_answer: true`, default `false`)
Get cards that are due for review, optionally filtered by deck (answers omitted unless `include_answer: true`, default `false`)
No parameter schema in public metadata yet.
get_cardsGet cards with flexible filtering by state (due, new, learning, suspended, buried) and deck (answers omitted unless `include_answer: true`, default `false`)
Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck (answers omitted unless `include_answer: true`, default `false`)
No parameter schema in public metadata yet.
present_cardShow a card for review with its question/front side
Show a card for review with its question/front side
No parameter schema in public metadata yet.
rate_cardRate card performance (Again, Hard, Good, Easy) and schedule the next review
Rate card performance (Again, Hard, Good, Easy) and schedule the next review
No parameter schema in public metadata yet.
forgetCardsReset cards to new, discarding their scheduling without recording a review
Reset cards to new, discarding their scheduling without recording a review
No parameter schema in public metadata yet.
setDueDateReschedule cards to become due in N days ("0", "3-7", "1!"), without recording a review
Reschedule cards to become due in N days ("0", "3-7", "1!"), without recording a review
No parameter schema in public metadata yet.
areSuspendedCheck suspension state for one or more cards without changing anything
Check suspension state for one or more cards without changing anything
No parameter schema in public metadata yet.
suspendSuspend cards so they are skipped during review until unsuspended
Suspend cards so they are skipped during review until unsuspended
No parameter schema in public metadata yet.
unsuspendUnsuspend cards so they return to normal review
Unsuspend cards so they return to normal review
No parameter schema in public metadata yet.
listDecksList all decks, optionally with per-deck study-queue statistics
List all decks, optionally with per-deck study-queue statistics
No parameter schema in public metadata yet.
deckStatsGet comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)
Get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)
No parameter schema in public metadata yet.
createDeckCreate a new empty deck (supports `Parent::Child`, max 2 levels)
Create a new empty deck (supports `Parent::Child`, max 2 levels)
No parameter schema in public metadata yet.
changeDeckMove cards to a different deck (created if it doesn't exist)
Move cards to a different deck (created if it doesn't exist)
No parameter schema in public metadata yet.
addNoteCreate a single note with specified fields and tags
Create a single note with specified fields and tags
No parameter schema in public metadata yet.
addNotesBatch-create up to 100 notes sharing a deck and model (partial success supported)
Batch-create up to 100 notes sharing a deck and model (partial success supported)
No parameter schema in public metadata yet.
findNotesSearch for notes using Anki query syntax (`deck:`, `tag:`, `is:due`, etc.)
Search for notes using Anki query syntax (`deck:`, `tag:`, `is:due`, etc.)
No parameter schema in public metadata yet.
notesInfoGet detailed information about notes (fields, tags, note type, card IDs; CSS comes from `modelStyling`)
Get detailed information about notes (fields, tags, note type, card IDs; CSS comes from `modelStyling`)
No parameter schema in public metadata yet.
updateNoteFieldsUpdate existing note fields (CSS-aware, supports HTML content)
Update existing note fields (CSS-aware, supports HTML content)
No parameter schema in public metadata yet.
deleteNotesDelete notes and all associated cards (destructive, requires confirmation)
Delete notes and all associated cards (destructive, requires confirmation)
No parameter schema in public metadata yet.
getTagsGet all tags in the collection (use first to avoid duplication)
Get all tags in the collection (use first to avoid duplication)
No parameter schema in public metadata yet.
addTagsAdd space-separated tags to specified notes
Add space-separated tags to specified notes
No parameter schema in public metadata yet.
removeTagsRemove space-separated tags from specified notes
Remove space-separated tags from specified notes
No parameter schema in public metadata yet.
replaceTagsRename a tag across specified notes
Rename a tag across specified notes
No parameter schema in public metadata yet.
clearUnusedTagsRemove orphaned tags not used by any notes (destructive)
Remove orphaned tags not used by any notes (destructive)
No parameter schema in public metadata yet.
getMediaFilesNamesList media files in `collection.media`, optionally filtered by pattern
List media files in `collection.media`, optionally filtered by pattern
No parameter schema in public metadata yet.
retrieveMediaFileDownload a media file as base64 content
Download a media file as base64 content
No parameter schema in public metadata yet.
storeMediaFileUpload media from base64 data, an absolute file path, or a URL
Upload media from base64 data, an absolute file path, or a URL
No parameter schema in public metadata yet.
deleteMediaFileRemove a media file from `collection.media` (destructive)
Remove a media file from `collection.media` (destructive)
No parameter schema in public metadata yet.
modelNamesList all available note types/models
List all available note types/models
No parameter schema in public metadata yet.
modelFieldNamesGet field names for a specific note type
Get field names for a specific note type
No parameter schema in public metadata yet.
modelStylingGet CSS styling information for a note type
Get CSS styling information for a note type
No parameter schema in public metadata yet.
modelTemplatesGet the card templates (Front and Back HTML) for a note type
Get the card templates (Front and Back HTML) for a note type
No parameter schema in public metadata yet.
createModelCreate a new note type with custom fields, card templates, and CSS (e.g., RTL models)
Create a new note type with custom fields, card templates, and CSS (e.g., RTL models)
No parameter schema in public metadata yet.
updateModelStylingUpdate the CSS styling for an existing note type (applies to all its cards)
Update the CSS styling for an existing note type (applies to all its cards)
No parameter schema in public metadata yet.
updateModelTemplatesUpdate the card templates (Front and Back HTML) for an existing note type (applies to all its cards)
Update the card templates (Front and Back HTML) for an existing note type (applies to all its cards)
No parameter schema in public metadata yet.
addModelFieldAdd a new field to an existing note type (appended at the end or inserted at a specific position)
Add a new field to an existing note type (appended at the end or inserted at a specific position)
No parameter schema in public metadata yet.
removeModelFieldRemove a field from an existing note type (deletes its content from all notes; requires explicit confirmation)
Remove a field from an existing note type (deletes its content from all notes; requires explicit confirmation)
No parameter schema in public metadata yet.
renameModelFieldRename a field in an existing note type (Anki rewrites references to the old name in the card templates)
Rename a field in an existing note type (Anki rewrites references to the old name in the card templates)
No parameter schema in public metadata yet.
repositionModelFieldChange the position of a field within an existing note type
Change the position of a field within an existing note type
No parameter schema in public metadata yet.
collection_statsAggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts
Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts
No parameter schema in public metadata yet.
review_statsReview history analysis (temporal patterns, retention metrics, study streaks)
Review history analysis (temporal patterns, retention metrics, study streaks)
No parameter schema in public metadata yet.
guiBrowseOpen the Card Browser and search for cards
Open the Card Browser and search for cards
No parameter schema in public metadata yet.
guiSelectCardSelect a specific card in the Card Browser
Select a specific card in the Card Browser
No parameter schema in public metadata yet.
guiSelectedNotesGet IDs of notes currently selected in the Card Browser
Get IDs of notes currently selected in the Card Browser
No parameter schema in public metadata yet.
guiAddCardsOpen the Add Cards dialog with preset note details
Open the Add Cards dialog with preset note details
No parameter schema in public metadata yet.
guiEditNoteOpen the note editor for a specific note
Open the note editor for a specific note
No parameter schema in public metadata yet.
guiDeckOverviewOpen the Deck Overview dialog for a specific deck
Open the Deck Overview dialog for a specific deck
No parameter schema in public metadata yet.
guiDeckBrowserOpen the Deck Browser dialog
Open the Deck Browser dialog
No parameter schema in public metadata yet.
guiCurrentCardGet info about the current card in review mode (includes the answer; errors outside review mode)
Get info about the current card in review mode (includes the answer; errors outside review mode)
No parameter schema in public metadata yet.
guiShowQuestionShow the question side of the current card
Show the question side of the current card
No parameter schema in public metadata yet.
guiShowAnswerShow the answer side of the current card
Show the answer side of the current card
No parameter schema in public metadata yet.
guiUndoUndo the last action in Anki
Undo the last action in Anki
No parameter schema in public metadata yet.
Sponsors
Readme
Anki MCP Server
Seamlessly integrate Anki with AI assistants through the Model Context Protocol
Details
- Repository
- github.com/ankimcp/anki-mcp-server
- Website
- ankimcp.ai
- Categories
- Media & Entertainment, Productivity & Office
- Package
@ankimcp/anki-mcp-server- Transport
- STDIO
- Registry
- MCP registry, active