addNote
Create a single note with specified fields and tags
How to use it
addNote is exposed by the Anki MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the addNote tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Anki MCP Server
npx @ankimcp/anki-mcp-serverOther tools in Anki MCP Server (39)
Add a new field to an existing note type (appended at the end or inserted at a specific position)
Batch-create up to 100 notes sharing a deck and model (partial success supported)
Add space-separated tags to specified notes
Move cards to a different deck (created if it doesn't exist)
Remove orphaned tags not used by any notes (destructive)
Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts
Create a new empty deck (supports Parent::Child, max 2 levels)
Create a new note type with custom fields, card templates, and CSS (e.g., RTL models)
Get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)
Remove a media file from collection.media (destructive)
Delete notes and all associated cards (destructive, requires confirmation)
Search for notes using Anki query syntax (deck:, tag:, is:due, etc.)
Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck
Get cards that are due for review, optionally filtered by deck
List media files in collection.media, optionally filtered by pattern
Get all tags in the collection (use first to avoid duplication)
Open the Card Browser and search for cards
Select a specific card in the Card Browser
Get IDs of notes currently selected in the Card Browser
List all decks, optionally with per-deck study-queue statistics
Get field names for a specific note type
List all available note types/models
Get CSS styling information for a note type
Get the card templates (Front and Back HTML) for a note type
Get detailed information about notes (fields, tags, CSS styling)
Show a card for review with its question/front side
Rate card performance (Again, Hard, Good, Easy) and schedule the next review
Remove a field from an existing note type (deletes its content from all notes; requires explicit confirmation)
Remove space-separated tags from specified notes
Rename a field in an existing note type (card templates referencing the old name must be updated separately)
Rename a tag across specified notes
Change the position of a field within an existing note type
Download a media file as base64 content
Review history analysis (temporal patterns, retention metrics, study streaks)
Upload media from base64 data, an absolute file path, or a URL
Sync with AnkiWeb to pull latest data and push changes
Update the CSS styling 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)
Update existing note fields (CSS-aware, supports HTML content)