Skip to content
Anki MCP Server logo

Anki MCP Server

Verified

Enable natural language interaction with Anki via MCP.

MCP ServerProductivityLocal (stdio) 329
View on GitHub
Updated 2026-06-15

What is the Anki MCP Server MCP server?

The server lets AI assistants perform core Anki operations such as syncing, fetching due cards, rating performance, and managing decks or notes. It also supports GUI-driven actions like selecting notes in the desktop client and updating fields with media.

Designed for productivity, it turns spaced-repetition study into dynamic conversations where the AI can explain concepts, adapt to learning style, and handle batch operations or media imports automatically.

Install & connect

Add this to your MCP client config. Pick your client below and copy.

{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}

Package: @ankimcp/anki-mcp-server (npm)

Tools it exposes

15 tools your AI client can call once connected.

syncSync with AnkiWeb to pull latest data and push changes
get_due_cardsGet cards that are due for review, optionally filtered by deck
get_cardsGet cards with flexible filtering by state and deck
present_cardShow a card for review with its question/front side
rate_cardRate card performance and schedule the next review
listDecksList all decks, optionally with per-deck card-count statistics
createDeckCreate a new empty deck (supports Parent::Child)
addNoteCreate a single note with specified fields and tags
addNotesBatch-create up to 100 notes sharing a deck and model
findNotesSearch for notes using Anki query syntax
notesInfoGet detailed information about notes (fields, tags, CSS)
updateNoteFieldsUpdate existing note fields (CSS-aware, supports HTML)
storeMediaFileUpload media from base64 data, file path, or URL
modelNamesList all available note types/models
modelFieldNamesGet field names for a specific note type

Example prompts

Once connected, try asking your AI client:

Help me review my Spanish deck.
Create 10 Arabic vocab cards with RTL styling.
Import this image from Downloads into the front of the selected note.
Show me due cards from my Japanese deck and start reviewing.

Security & permissions

Runs locally via stdio and requires AnkiConnect enabled in the Anki desktop app; it accesses your full Anki collection including notes, media, and scheduling data.

What you can do with Anki MCP Server

Review Spanish deck

Sync with AnkiWeb, fetch due cards, present each card, and record ratings with tailored explanations.

Create Arabic vocab cards

List note types, create a custom RTL model, then batch-add cards with proper styling.

Import image into note

Upload a local image file, read the selected note, and update its front field with an img tag.

How to use Anki MCP Server

  1. 1Install Anki and enable AnkiConnect add-on.
  2. 2Install the @ankimcp/anki-mcp-server package via npm.
  3. 3Add the server to your MCP client configuration using stdio transport.
  4. 4Restart the client and verify connection to Anki.
  5. 5Start prompting the AI with Anki-related tasks.

Anki MCP Server: pros & cons

Pros

  • +Rich set of 42 tools covering study and content creation workflows
  • +Supports efficient media handling via file paths and URLs
  • +Enables natural-language study sessions with explanations
  • +Works directly with existing Anki collections and AnkiWeb sync

Cons

  • Requires Anki desktop and AnkiConnect running locally
  • Beta software with potential API changes
  • Limited to 15 tools shown here out of 42 total
Did you find this helpful?

Frequently asked questions

No, it requires Anki with AnkiConnect installed and running.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote Anki MCP Server

Add this badge to your website, or share the tool.

DFeatured on DhanasviAnki MCP Server 0