Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Anki MCP Server

MCP server by ankimcp Verified · ankimcp.ai

Anki MCP Server lets AI assistants review Anki flashcards, create and edit notes, and manage decks, tags, media, and note types through AnkiConnect. It suits Anki users who want study sessions as a conversation with an AI tutor in clients such as Claude Desktop, Claude Code, or Cursor.

  • Score 91
  • 587 stars
  • 920 a week
  • MIT
  • Updated

Install Anki MCP Server

Built from the published package, never by AI.

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

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Anki MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the anki-mcp-server block.

About

Anki MCP Server is a Model Context Protocol server that connects AI assistants to Anki, the spaced repetition flashcard app. It works through the AnkiConnect plugin. The assistant can fetch due cards, present them for review, record ratings, and reschedule or suspend cards. It can also search and edit notes, manage decks, tags, media files, and note types, and read statistics.

The server is available as an npm package and as an MCPB bundle for Claude Desktop. It supports STDIO transport for clients that launch it as a subprocess, such as Claude Desktop, Claude Code, and Cursor. The source says the separate AnkiMCP addon is the simpler path for most setups, especially HTTP, tunnel, or web-based clients. The project is aimed at people who want to study with an AI tutor that explains concepts and adapts to their learning style.

Written from the project's README and checked against it.

Tools it gives your assistant

  • syncSync with AnkiWeb to pull latest data and push changes.
  • get_due_cardsGet cards due for review, optionally filtered by deck.
  • present_cardShow a card for review with its question or front side.
  • rate_cardRate a card Again, Hard, Good, or Easy and schedule the next review.
  • addNotesBatch-create up to 100 notes sharing a deck and model.
  • findNotesSearch for notes using Anki query syntax such as deck: and tag:.
  • updateNoteFieldsUpdate existing note fields, with HTML content supported.
  • storeMediaFileUpload media from base64 data, an absolute file path, or a URL.
  • createModelCreate a note type with custom fields, card templates, and CSS.
  • deckStatsGet statistics for a single deck, including true card-state counts.

What you need

  • Anki with the AnkiConnect plugin installed
  • Node.js 22.12.0 or later

Try asking

  • Help me review my Spanish deck.
  • Create 10 Arabic vocab cards with RTL styling.
  • Import this image from my Downloads folder into the front of the selected note.

Good to know

  • The source recommends the AnkiMCP addon for HTTP, tunnel, or web-based clients.
  • GUI tools are meant for note editing and creation, not review sessions.
  • Base64 image uploads are slow and token-heavy, so file paths or URLs are preferred.
  • Running the test suite requires Node.js 24.9 or later.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Anki MCP Server

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Anki MCP Server: common questions

Does Anki MCP Server need AnkiConnect?

Yes, the server uses the AnkiConnect plugin, with the default URL http://localhost:8765. The source also describes an AnkiMCP addon that runs the server inside Anki.

Which AI clients does it work with?

The source names Claude Desktop, Claude Code, and Cursor for STDIO transport. For web-based clients such as claude.ai and ChatGPT, the source recommends the addon instead.

Can it change card scheduling without logging a review?

Yes. forgetCards and setDueDate change scheduling without recording a review, while rate_card records one.

How do I install Anki MCP Server?

In Claude Code run claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Anki MCP Server the official server?

Anki MCP Server is published by ankimcp.ai from its verified domain in the official MCP Registry.

Is Anki MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Anki MCP Server safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Anki MCP Server?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Anki MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Anki MCP Server Install

Add to stack

Loading.