Skip to main content
Glama

Anki MCP

Use Anki Desktop from your AI chat app. Search, create, and edit notes; manage decks and cards; preview card HTML/CSS; and work with media and .apkg deck packages.

Your MCP client is the app you chat with, not Anki Desktop. It needs to support launching local MCP servers (also called stdio servers). It starts Anki MCP so your assistant can use the Anki tools.

Quick start

  1. Install Node.js 24 or newer with npm.

  2. In Anki Desktop, install AnkiConnect via Tools → Add-ons → Get Add-ons with code 2055492159. Restart Anki and keep it open.

  3. Add the server configuration below in your MCP client's settings. No clone or global install is needed.

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["--yes", "--prefer-online", "--package=@ryhus/anki-mcp@latest", "anki-mcp"],
      "env": {
        "ANKI_URL": "http://127.0.0.1:8765",
        "ANKI_API_MODE": "v1"
      }
    }
  }
}

If your client has a form, put only npx in Command, enter the four Arguments separately, and add the two Environment variables shown above. ANKI_URL is the AnkiConnect address, not a remote MCP URL.

Reload the client and ask: “List my Anki decks without changing anything.”

@latest checks for the current release when the server starts; it does not update a running server. To control updates yourself, replace @latest with an exact published version, for example @0.1.0.

Related MCP server: Anki MCP Server

Try it

  • “Find German notes tagged a1 that mention Haus.”

  • “Draft three vocabulary notes for my German deck. Show me the drafts before creating them.”

  • “Show me the front and back HTML of this card without changing it.”

  • “Preview an export of my German deck without review history.”

Settings

  • ANKI_API_MODE=v1 enables the full tool set with a compatible AnkiConnect build. For an older add-on, use legacy for the supported subset.

  • To enable local .apkg import or export, set ANKI_PACKAGE_IMPORT_DIR or ANKI_PACKAGE_EXPORT_DIR to an existing, trusted absolute folder. Each is enabled separately and requires local AnkiConnect v1.

  • To import media from disk, allowlist its source folder with ANKI_MEDIA_IMPORT_DIRS. Public HTTPS and base64 sources do not need this setting.

Review previews before approving destructive changes. Not every tool offers a preview. The server does not make backups or automatically retry writes; after an error, check Anki before repeating the action.

Troubleshooting

  • The client cannot find npx: make sure both Node and npm are on the client's PATH. On Windows, use npx.cmd if your client needs the shim.

  • Anki is unreachable: check that Anki is open and AnkiConnect is enabled. Use the base address in ANKI_URL without /api/v1.

  • The package is not found: check that the requested version has been published and that your client can reach the npm registry.

MIT License.

Available Tools

73 tools
add-note-type-fieldAdd note type fieldA
Idempotent

Adds an empty field to every note of one note type. Defaults to dry-run mode and does not add the field to card templates.

Inputs: fieldName (required), modelName (required), order, dryRun, +1 more. Returns: dryRun, fields, applied, changed, +7 more

add-note-type-templateAdd note type templateA
Idempotent

Adds a new card template to a Normal note type. Defaults to dry-run mode and reports how many existing notes may generate a new card.

Inputs: back (required), front (required), modelName (required), templateName (required), +4 more. Returns: dryRun, impact, applied, changed, +9 more

assign-deck-presetAssign deck presetA
DestructiveIdempotent

Previews assigning a preset to explicitly selected normal decks, without adding descendants or requesting full FSRS rescheduling. Requires an impact hash and explicit confirmation. Requires AnkiConnect v1.

Inputs: deckIds (required), presetId (required), dryRun, confirmChanges, +1 more. Returns: dryRun, applied, changes, blockers, +6 more

attach-media-to-notesAttach media to notesA
Idempotent

Safely appends or prepends references to existing Anki media without replacing unrelated note-field HTML. Defaults to dry-run mode.

Inputs: attachments (required), dryRun. Returns: dryRun, errors, applied, changes, +1 more

cancel-collection-operationRequest cancellation of an Anki collection operationA
Destructive

When the user asks to stop a sync, database check, or Undo, request cancellation of its operation ID from this running MCP server. Anki may refuse to stop a running operation. Acknowledgement is not completion or rollback; check get-collection-operation. Requires AnkiConnect v1.

Inputs: operationId (required). Returns: method, profile, requested, operationId

check-collection-integrityCheck and repair the active Anki databaseA
Destructive

Preview or explicitly confirm Anki's native Check Database operation. It can repair data and clear the Undo history; the preview does not check the database. Requires AnkiConnect v1.

Inputs: dryRun, confirm, confirmationToken. Returns: state, method, profile, warnings, +4 more

clone-note-typeClone note typeA
Idempotent

Creates an independent note type with the source's ordered fields, card template HTML, and shared CSS. In AnkiConnect v1 it preserves the Browser sort field and requires the reviewed clone hash before applying. Does not copy notes or cards.

Inputs: sourceModelName (required), targetModelName (required), dryRun, isCloze, +2 more. Returns: dryRun, created, isCloze, cloneHash, +7 more

convert-notes-to-note-typeConvert notes to another Note TypeA
Destructive

Previews moving explicit existing Notes to another Normal Note Type. Review target-to-source field and template maps, preserved/removed Card IDs, and possible new Cards. Apply only with the reviewed hash and confirmations. Does not duplicate Notes. Requires AnkiConnect v1.

Inputs: noteIds (required), targetNoteTypeId (required), dryRun, fields, +5 more. Returns: dryRun, fields, impact, applied, +9 more

create-deckCreate deckA
Idempotent

Creates a deck or returns the existing deck with the same name. Use "::" to create nested decks.

Inputs: name (required). Returns: deck, created

create-deck-presetCreate deck presetA

Creates an unassigned deck preset from native defaults or an existing preset. Does not replace or assign a preset. Requires AnkiConnect v1.

Inputs: name (required), cloneFromPresetId. Returns: preset, verified

create-notesCreate notesA

Validates the complete batch before creating Notes, optionally merging existing media references. Returns a status for every input and preserves acknowledged IDs if readback fails. A null createdNoteCount means an unknown creation outcome; null cardIds means unverified readback. Partial/unknown outcomes are errors with structured results. Never blindly resend the whole batch; duplicate checks are not idempotency. No automatic retry or rollback.

Inputs: notes (required). Returns: outcome, warnings, noteResults, validations, +4 more

create-note-typeCreate note typeA
Idempotent

Creates a new Normal or Cloze note type from ordered fields, complete card templates, and shared CSS. Optionally selects its Browser sort field in AnkiConnect v1. Defaults to dry-run mode and does not create notes or cards.

Inputs: fields (required), modelName (required), templates (required), css, +3 more. Returns: css, dryRun, fields, created, +9 more

delete-deck-and-cardsDelete deck and cardsA
DestructiveIdempotent

Previews deletion of one normal deck and all descendants. Applying requires dryRun: false, the reviewed impactHash as expectedImpactHash, and confirmDeletion: true. Changed deck identities, Card placement, or Note data block deletion. Default/filtered decks, borrowed-out Cards, incomplete data, and excessive impact are blocked. Surviving sibling Cards in other decks are preserved and verified. No backup or rollback is created.

Inputs: name (required), dryRun, confirmDeletion, expectedImpactHash. Returns: deck, dryRun, exists, impact, +10 more

delete-deck-presetDelete unused deck presetA
DestructiveIdempotent

Previews deletion of one unused, non-Default deck preset. Never reassigns decks automatically. Requires an impact hash and explicit confirmation. Requires AnkiConnect v1.

Inputs: presetId (required), dryRun, confirmDeletion, expectedImpactHash. Returns: dryRun, applied, blockers, presetId, +6 more

delete-media-fileDelete media fileA
DestructiveIdempotent

Previews exact Note, Card Template, and CSS references before moving one media file to Anki's media trash. Applying requires the reviewed file hash, reference count, reference fingerprint, and explicit confirmation. Incomplete Note or CSS scans block deletion even with confirmations enabled.

Inputs: filename (required), dryRun, expectedSha256, confirmDeletion, +3 more. Returns: file, usage, dryRun, exists, +4 more

delete-notes-and-cardsDelete notes and cardsA
DestructiveIdempotent

Previews deletion of explicit Note IDs and all their generated Cards. Defaults to dryRun. Applying requires the reviewed impactHash as expectedImpactHash and confirmDeletion: true. Missing Notes or changed profile, Note content, tags, or Card IDs block the entire batch. Successful deletion is verified with native searches. No backup or rollback is created.

Inputs: noteIds (required), dryRun, confirmDeletion, expectedImpactHash. Returns: dryRun, impact, applied, blockers, +6 more

delete-note-type-fieldDelete note type fieldA
DestructiveIdempotent

Permanently deletes one field and all of its values from every note of a note type. Requires a dry-run impact review, current schema hash, unchanged non-empty note count, and explicit data-loss confirmation.

Inputs: fieldName (required), modelName (required), dryRun, confirmDataLoss, +2 more. Returns: dryRun, fields, impact, applied, +10 more

delete-note-type-templateDelete note type templateA
DestructiveIdempotent

Permanently deletes one card template and every card generated from it. Reports notes that may lose their last card and requires explicit impact confirmation.

Inputs: modelName (required), templateName (required), dryRun, expectedCardCount, +4 more. Returns: dryRun, impact, applied, changed, +10 more

delete-unused-note-typeDelete unused note typeA
DestructiveIdempotent

Previews deleting one explicitly selected Note Type. Refuses if any Note uses the type, even without Cards, or if it is the last Note Type. Requires the reviewed impact hash and explicit confirmation to apply. Requires AnkiConnect v1.

Inputs: noteTypeId (required), dryRun, confirmDeletion, expectedImpactHash. Returns: dryRun, applied, blockers, hasNotes, +5 more

delete-unused-tagsDelete unused Anki tagsA
DestructiveIdempotent

Previews and removes tag registrations that no Note uses in the active collection. Does not remove tags from Notes or delete Notes or Cards. Requires AnkiConnect v1 and confirmation of the reviewed preview.

Inputs: dryRun, confirmDeletion, expectedImpactHash. Returns: dryRun, applied, profile, blockers, +6 more

detach-media-from-notesDetach media from notesA
Idempotent

Removes exact image or sound references from selected note fields without deleting the media file. Defaults to dry-run mode.

Inputs: detachments (required), dryRun. Returns: dryRun, errors, applied, changes, +2 more

edit-note-tagsEdit note tagsA
DestructiveIdempotent

Adds and removes selected tags on existing notes without replacing their complete tag lists.

Inputs: noteIds (required), add, remove. Returns: applied, changes, missingNoteIds

export-deck-packageExport Anki deck packageA

Previews a local .apkg export of one normal deck and its subdecks. Media is included; scheduling is opt-in. On confirmation, writes a new file under the configured export directory without overwriting existing files. Requires local AnkiConnect v1.

Inputs: deckId (required), dryRun, fileName, confirmExport, +2 more. Returns: deck, dryRun, package, profile, +11 more

find-empty-notesFind empty notesA
Read-onlyIdempotent

Read-only AnkiConnect v1 scan for Notes with no Cards, empty fields, or empty questions. Returns one page of candidates for review. This tool never deletes anything.

Inputs: criterion (required), limit, query, cursor. Returns: notes, query, hasMore, returned, +3 more

find-media-referencesFind media referencesA
Read-onlyIdempotent

Scans note fields, Card Template HTML, and note-type CSS for exact references to one Anki media filename. Complete scans return a fingerprint for safe deletion. CSS parsing failures are reported separately and make counts incomplete; no fingerprint is issued.

Inputs: filename (required). Returns: usage

get-card-decksGet card decksB
Read-onlyIdempotent

Groups the specified card IDs by their current deck.

Inputs: cardIds (required). Returns: decks

get-card-detailsGet card detailsA
Read-onlyIdempotent

Returns note fields and normalized scheduling information for specific cards. Reports missing IDs separately.

Inputs: cardIds (required), includeRenderedContent. Returns: cards, missingCardIds

get-card-due-statusGet card due statusA
Read-onlyIdempotent

Checks one card's due time and per-card scheduling eligibility in Anki, optionally including learn-ahead. New cards can be available without being due. Does not account for daily deck limits, promise the card will be shown next, or change Anki. Requires AnkiConnect v1.

Inputs: cardId (required), includeLearnAhead. Returns: cardId, dueNow, available, learnAhead, +1 more

get-card-previewGet card previewA
Read-onlyIdempotent

Returns Anki-rendered HTML, shared CSS, and standalone static HTML documents for one existing card. Supports front/back and light/dark inspection without changing Anki. Not a screenshot: JavaScript, navigation, media, and external resources are disabled in documents. Raw source is untrusted.

Inputs: cardId (required), side, theme. Returns: cardId, exists, preview, warnings

get-card-review-historyGet card review historyB
Read-onlyIdempotent

Returns the most recent review events for up to 20 cards, with ratings and intervals converted into readable values.

Inputs: cardIds (required), limitPerCard. Returns: cards, missingCardIds

get-collection-infoGet active Anki collection informationA
Read-onlyIdempotent

Read the active profile, scheduler, and opaque collection session. Does not read Notes or Cards. Requires AnkiConnect v1.

Inputs: no named parameters. Returns: profile, session, scheduler

get-collection-operationGet Anki collection operation statusA
Read-onlyIdempotent

Check a submitted sync, database check, or Undo without starting another. If waitingForUser, use Anki's UI and check the same operation ID again. Requires AnkiConnect v1.

Inputs: operationId (required). Returns: error, state, method, result, +2 more

get-deck-presetGet deck presetA
Read-onlyIdempotent

Reads a deck preset's settings and the decks that use it. Pass a preset ID or a normal deck ID. Requires AnkiConnect v1.

Inputs: deckId, presetId. Returns: preset, assignedDecks, assignedDeckCount

get-deck-statsGet deck statisticsA
Read-onlyIdempotent

Returns scheduler counts for selected decks, or for all decks when no names are provided. Fails if a requested deck does not exist.

Inputs: names. Returns: decks

get-media-fileGet media fileA
Read-onlyIdempotent

Returns verified metadata for one exact Anki media file and can include a bounded image or audio preview.

Inputs: filename (required), includeContent. Returns: file, exists, contentIncluded, contentOmissionReason

get-note-detailsGet note detailsA
Read-onlyIdempotent

Returns complete ordered fields with per-field hashes, tags, note type, modification time, and generated card IDs. Use fields[name].hash as expectedFieldHashes[name] when updating fields.

Inputs: noteIds (required). Returns: notes, missingNoteIds

get-note-type-designGet note type designA
Read-onlyIdempotent

Returns the editable front/back HTML, shared CSS, fields, and revision hash for one Anki note type. Use this before proposing design changes.

Inputs: modelName (required). Returns: css, noteType, templates, designHash, +1 more

get-note-type-schemaGet note type schemaA
Read-onlyIdempotent

Returns ordered fields, the Browser sort field (v1), card-template field usage, and a field-order revision hash for one Anki note type. Use this before creating notes or changing fields.

Inputs: modelName (required). Returns: noteType

get-study-statsGet study statisticsA
Read-onlyIdempotent

Reads collection-wide review counts for Anki's current study day and recent days with reviews. Does not change data or include per-deck counts.

Inputs: limitDays. Returns: hasMore, nextDayAt, todayDate, reviewDays, +1 more

get-study-summaryGet study summaryA
Read-onlyIdempotent

Read-only structured Anki totals for the whole collection or one deck including its subdecks. Returns card and linked-note counts, recorded answers and time across available history, and current card categories. For today's workload use get-deck-stats. Requires AnkiConnect v1.

Inputs: deckId. Returns: scope, summary

import-deck-packageImport Anki deck packageA
Destructive

Previews a trusted local .apkg file and imports its reviewed bytes into the active Anki collection. Anki can update existing Notes and merge Note Types; it imports scheduling and deck presets when present. Preview does not calculate a collection diff. Requires local AnkiConnect v1.

Inputs: localPath (required), dryRun, confirmImport, expectedImpactHash. Returns: dryRun, package, profile, blockers, +3 more

list-deck-presetsList deck presetsB
Read-onlyIdempotent

Lists Anki deck presets and how many normal decks use each one. Requires AnkiConnect v1.

Inputs: limit, offset. Returns: total, hasMore, presets

list-decksList decksA
Read-onlyIdempotent

Lists all Anki decks with their IDs and hierarchy metadata.

Inputs: no named parameters. Returns: decks

list-note-typesList note typesA
Read-onlyIdempotent

Lists the Anki note types available for creating notes, including their model IDs.

Inputs: no named parameters. Returns: noteTypes

list-tagsList tagsB
Read-onlyIdempotent

Lists a bounded page of tags from the current Anki collection, optionally filtered by prefix.

Inputs: limit, offset, prefix. Returns: tags, total, offset, prefix, +2 more

move-cards-to-deckMove cards to deckA
Idempotent

Moves cards to another deck. Creates the target deck if it does not exist and removes the cards from filtered decks before moving them.

Inputs: cardIds (required), targetDeck (required). Returns: cardIds, targetDeck, movedCardCount

predict-card-intervalsPredict card intervalsA
Read-onlyIdempotent

Read-only scheduler predictions for Again, Hard, Good, and Easy on one card. Returns Anki's labels and interval amounts, not an exact due time or eligibility to review. Does not answer the card, change scheduling, or use custom states from the GUI reviewer. Requires AnkiConnect v1.

Inputs: cardId (required). Returns: cardId, source, answers

refresh-collectionRefresh Anki collection windowsA
Idempotent

Refresh open Anki windows, optionally clearing the supported Note Type cache first. Does not reopen the collection, sync, or repair data. Requires AnkiConnect v1.

Inputs: target. Returns: target, profile, refreshed

rename-deckRename or move a deckA
DestructiveIdempotent

Previews a native Anki deck rename or move under an existing parent. Preserves deck and card identity, reviews descendant paths, and requires the impact hash and explicit confirmation before applying. Requires AnkiConnect v1.

Inputs: name (required), newName (required), dryRun, confirmRename, +1 more. Returns: deckId, dryRun, applied, changes, +5 more

rename-note-typeRename note typeA
Idempotent

Previews renaming an existing Note Type by ID. Changes only the type name, not fields, templates, Notes, or Cards. Applying requires the reviewed impact hash and explicit confirmation. Requires AnkiConnect v1.

Inputs: newName (required), noteTypeId (required), dryRun, confirmRename, +1 more. Returns: dryRun, applied, newName, blockers, +5 more

rename-note-type-fieldRename note type fieldA
Idempotent

Renames a field across every note of one note type while preserving its values. Anki updates template references to the renamed field.

Inputs: modelName (required), newFieldName (required), oldFieldName (required), dryRun, +1 more. Returns: dryRun, fields, applied, changed, +7 more

rename-note-type-templateRename note type templateA
Idempotent

Renames one card template without changing its order, HTML, generated cards, or review history. Defaults to dry-run mode.

Inputs: modelName (required), newTemplateName (required), oldTemplateName (required), dryRun, +1 more. Returns: dryRun, applied, changed, modelName, +7 more

replace-note-tagReplace a tag on selected notesA
DestructiveIdempotent

Previews replacing one whole tag on explicit Note IDs. Notes without the source tag are skipped. Does not recursively rename child tags, change unrelated tags, or apply to the whole collection. Requires AnkiConnect v1 and explicit confirmation of the reviewed preview to write.

Inputs: to (required), from (required), noteIds (required), dryRun, +2 more. Returns: to, from, dryRun, applied, +7 more

replace-note-type-textReplace literal text in Anki note type designsA
Destructive

Previews and validates a case-sensitive literal replacement in explicitly selected Note Types' front HTML, back HTML, and/or CSS. Does not replace Note field values. Applying requires AnkiConnect v1, a current impact hash, and explicit confirmation.

Inputs: find (required), replace (required), targets (required), noteTypeIds (required), +3 more. Returns: dryRun, applied, changes, profile, +7 more

reposition-note-type-fieldReposition note type fieldA
Idempotent

Moves a note-type field to a new zero-based order while preserving all note values. Defaults to dry-run mode.

Inputs: newOrder (required), fieldName (required), modelName (required), dryRun, +1 more. Returns: dryRun, fields, applied, changed, +7 more

reposition-note-type-templateReposition note type templateA
Idempotent

Moves one card template to a new zero-based order while preserving its HTML and existing card history. Defaults to dry-run mode.

Inputs: newOrder (required), modelName (required), templateName (required), dryRun, +1 more. Returns: dryRun, applied, changed, modelName, +7 more

reschedule-cardsReschedule cardsA
Destructive

Changes due dates and verifies the saved review state and requested date range using Anki's native search. Missing Cards block the whole selection. New cards become review cards, and ranges choose a random due date; never blindly retry after an error.

Inputs: due (required), cardIds (required). Returns: due, missingCardIds, rescheduledCardIds

reset-cards-to-newReset cards to newA
Destructive

Resets scheduling and verifies the saved New state. Missing Cards block the whole selection. Anki may log the reset; review history and repetition counts are not promised to be erased. Never blindly retry after an error.

Inputs: cardIds (required). Returns: resetCardIds, missingCardIds

search-cardsSearch cardsA
Read-onlyIdempotent

Searches cards with Anki's native query syntax. In v1 mode, defaults to a native cursor page. Request pagination: offset for an exact total or a numeric position.

Inputs: query (required), limit, cursor, offset, +1 more. Returns: cards, query, total, offset, +4 more

search-media-filesSearch media filesB
Read-onlyIdempotent

Returns a bounded, sorted page of filenames from Anki's current collection.media folder.

Inputs: limit, offset, pattern. Returns: files, total, offset, hasMore, +2 more

search-notesSearch notesB
Read-onlyIdempotent

Searches notes with Anki's native query syntax. In v1 mode, defaults to a native page with a continuation cursor. Request pagination: offset for an exact total or a numeric position.

Inputs: query (required), limit, cursor, offset, +1 more. Returns: notes, query, total, offset, +4 more

set-card-flagSet card flagA
Idempotent

Applies one of Anki's supported flag colors and verifies saved flags without exposing arbitrary internal card fields. Missing Cards block the whole selection; a write error stops later writes and may leave partial progress.

Inputs: flag (required), cardIds (required). Returns: flag, failedCardIds, missingCardIds, updatedCardIds, +1 more

set-card-suspensionSet card suspensionA
Idempotent

Suspends or unsuspends existing cards and verifies their saved suspension state. Missing Cards block the whole selection. Suspended cards do not appear during normal reviews.

Inputs: cardIds (required), suspended (required). Returns: suspended, missingCardIds, updatedCardIds, unchangedCardIds

set-note-type-sort-fieldSet note type sort fieldA
Idempotent

Previews changing which field supplies the Anki Browser's Sort Field column for an existing Note Type. Does not reorder fields, edit templates, or change review scheduling. Applying requires the reviewed impact hash and explicit confirmation. Requires AnkiConnect v1.

Inputs: sortField (required), noteTypeId (required), dryRun, confirmChange, +1 more. Returns: dryRun, applied, blockers, verified, +6 more

start-card-relearningStart card relearningA
Destructive

Starts relearning for active Review cards and verifies the result. Current AnkiConnect may implement this as an Again answer, adding review history and changing repetitions/lapses. Cards may return directly to Review or be suspended by leech settings. Missing/non-Review Cards block the whole selection. Not idempotent; never blindly retry.

Inputs: cardIds (required). Returns: reviewCardIds, missingCardIds, suspendedCardIds, relearningCardIds

store-media-fileStore media fileB

Safely imports bounded media bytes into Anki from base64, a public HTTPS URL, or an explicitly allowed local directory. Existing files are never overwritten.

Inputs: source (required), filename (required), usage, collisionPolicy. Returns: file, stored, sourceType, fieldReference, +5 more

sync-collectionSynchronize the active Anki collectionA
Destructive

Preview or explicitly confirm a sync with Anki's configured server. A full sync may require the user to choose Upload or Download in Anki. Returns an operation ID, not completion. Requires AnkiConnect v1.

Inputs: dryRun, confirm, includeMedia, confirmationToken. Returns: state, method, profile, warnings, +4 more

undo-collection-actionUndo Anki's current undoable actionA
Destructive

Preview or explicitly confirm a single native Undo. AnkiConnect cannot preview or select the undo entry; Undo can revert a manual action, not necessarily a change made through MCP. Never use it as automatic rollback. Requires AnkiConnect v1.

Inputs: dryRun, confirm, confirmationToken. Returns: state, method, profile, warnings, +4 more

update-deck-presetUpdate deck presetA
DestructiveIdempotent

Previews a preset rename or a patch to learning, display order, or audio options, showing every deck using it. Requires an impact hash and explicit confirmation to apply. Does not request full FSRS rescheduling. Requires AnkiConnect v1.

Inputs: presetId (required), name, dryRun, settings, +2 more. Returns: dryRun, applied, blockers, presetId, +8 more

update-note-fieldsUpdate note fieldsA
DestructiveIdempotent

Previews partial field patches by default. To apply, set dryRun to false and provide expectedFieldHashes for every submitted field from get-note-details or a dry run. Validates the complete batch before writing and verifies saved values. Each submitted field replaces its complete value, including HTML.

Inputs: updates (required), dryRun. Returns: dryRun, applied, changes, verified, +5 more

update-note-type-stylingUpdate note type stylingA
DestructiveIdempotent

Validates and replaces the CSS shared by every card of one note type. Defaults to dry-run mode; applying requires expectedDesignHash. Reports applied only after reading back the exact CSS and confirming the Note Type identity and unchanged templates. A write/readback error may follow an applied change; do not blindly retry.

Inputs: css (required), modelName (required), dryRun, expectedDesignHash. Returns: css, dryRun, applied, changed, +6 more

update-note-type-templatesUpdate note type templatesA
DestructiveIdempotent

Validates and replaces selected front/back HTML templates for one note type. Defaults to dry-run mode and applies all requested sides in one Anki undo step.

Inputs: modelName (required), templates (required), dryRun, expectedDesignHash. Returns: dryRun, applied, changed, changes, +5 more

validate-note-draftsValidate note draftsA
Read-onlyIdempotent

Checks candidate notes without creating them. Validates decks, note types, field names, existing media references, empty-card rules, and Anki duplicate rules.

Inputs: notes (required). Returns: results, validCount, invalidCount

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 73 tools

    Disambiguation4/5

    Most tools target clearly distinct resource/action pairs, and the descriptions sharply define boundaries for risky write operations. A few clusters still invite hesitation, especially get-deck-stats vs get-study-stats vs get-study-summary, and the several note-type HTML/CSS update tools.

    Naming Consistency5/5

    Tool names consistently use lowercase kebab-case with a verb_noun pattern such as list-decks, create-deck, get-card-details, and delete-media-file. The few variations like find-empty-notes remain predictable and readable.

    Tool Count2/5

    Seventy-three tools is far beyond a typical manageable MCP surface and creates substantial cognitive load. Anki is a broad domain and many tools are genuinely distinct, but the set is still heavily over-scoped.

    Completeness5/5

    The surface covers decks, presets, cards, notes, note types, fields, templates, tags, media, stats, export/import, sync, integrity, and undo operations. It is exceptionally complete for Anki collection management, with no obvious lifecycle dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers