Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWork and productivity

Anki MCP Server

Lets your AI agent study with your Anki flashcards: review cards, create notes, manage decks and media.

546 stars on GitHubby AnkiMCP (ankimcp.ai project)License MITUpdated last month

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add anki -- npx -y @ankimcp/anki-mcp-server

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Help me review my Spanish deck
Create 10 Arabic vocab cards with right-to-left styling

What it is

This server connects your AI agent to Anki, the spaced repetition flashcard app, through the AnkiConnect plugin. The agent can quiz you on due cards, rate your answers, and create or edit notes. It can also manage decks, tags, media files and note types.

What it can do

  • get_due_cards, present_card, rate_card: run a review session
  • sync: sync with AnkiWeb
  • addNote and addNotes: create flashcards, up to 100 at a time
  • findNotes and updateNoteFields: search and edit notes
  • listDecks, deckStats, createDeck: manage decks
  • storeMediaFile: add images and audio from a file, URL or base64
  • createModel: make a new note type, for example right-to-left styling

When to use

  • β€ΊWhen you want an AI tutor to quiz you from your own deck
  • β€ΊWhen you want to create many flashcards quickly from a topic
  • β€ΊWhen you want to check study statistics and tidy tags or decks

What you need

Anki with the AnkiConnect plugin installed, and Node.js 22.12.0 or newer. The readme also points to an AnkiMCP addon that runs inside Anki with no Node.js.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The readme shows an npm package and a GitHub repository, and does not mention a price.

What do I need?

Anki with the AnkiConnect plugin and Node.js 22.12.0 or newer.

Is there an easier way to set it up?

The readme recommends the AnkiMCP addon for most setups, because it runs inside Anki with no Node.js and no AnkiConnect. This repository is for STDIO clients and the one-click .mcpb bundle for Claude Desktop.

How many tools does it have?

53 tools: 42 for everyday Anki work and 11 that drive the Anki desktop interface.

Can it delete my data?

Yes. Tools such as deleteNotes and clearUnusedTags are marked destructive, and the readme says deleteNotes needs confirmation.

What is the best way to add images?

Use a file path or a URL. The readme says base64 is slow and wastes tokens.

If it does not work

  • β€ΊMake sure Anki is open and the AnkiConnect plugin is installed; the default address is http://localhost:8765
  • β€ΊCheck that Node.js is version 22.12.0 or newer
  • β€ΊRestart Claude Desktop after installing the .mcpb bundle or changing the config

5 new skills a week. 1 minute to read.