Skip to content
AnkiMCP Server Add-on

AnkiMCP Server Add-onMCP Server

Released
v0.41.2
AGPL-3.0-or-later

Summary

Anki add-on that runs an MCP server inside Anki itself: AI-guided reviews, bulk card creation, FSRS tuning and deck management over local HTTP or a built-in tunnel, with no AnkiConnect or Node.js needed.

Features

  • Runs inside Anki — no AnkiConnect, Node.js or separate process
  • Review loop: due cards, present and rate, or hands-free GUI review
  • Batch note creation and atomic batch edits with find-and-replace patches
  • FSRS parameters, memory state and optimizer access
  • Note-type templates, CSS and field management
  • Local HTTP on 127.0.0.1:3141 or a built-in remote tunnel

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "AnkiMCP Server Add-on" tools will be available.
{
  "mcpServers": {
    "anki-mcp-server-addon": {
      "type": "http",
      "url": "http://127.0.0.1:3141"
    }
  }
}

Description

AnkiMCP Server is an Anki add-on that starts an MCP server inside the Anki desktop app, so an assistant can study with you and manage your flashcard collection. It is the in-app sibling of the separate Node.js Anki MCP Server from the same ankimcp.ai project, and the project recommends it for most setups: there is no AnkiConnect to configure and no extra process to keep running — install it with add-on code 124672614 and the server starts whenever Anki opens.

What the assistant can do
  • Reviews — get due cards (question only unless the answer is requested), present and rate cards, or drive Anki's own reviewer hands-free with opt-in GUI tools.
  • Notes and decks — search with Anki's query syntax, add notes one at a time or in atomic batches, patch fields by find-and-replace, move, bury, suspend, flag and reschedule cards, manage tags and filtered decks, and keep a per-deck authoring guide in the deck description.
  • Note types — read and patch templates and CSS, and add, rename or reorder fields.
  • FSRS — read and set scheduler parameters, inspect card memory state, and run Anki's optimizer.
  • Media and sync — store media from files or URLs (with type and SSRF checks) and sync with AnkiWeb.

Resources expose today's stats, a 30-day forecast and collection stats; prompts include a guided review session and Woźniak's Twenty Rules of Formulating Knowledge for writing cards. Tools that delete or overwrite data are annotated, and the most destructive are hidden until you opt in.

Connecting

The server listens on http://127.0.0.1:3141/ with DNS-rebinding protection and an optional bearer key. Claude Code: claude mcp add anki --transport http http://127.0.0.1:3141/; Claude Desktop bridges with npx mcp-remote. A built-in tunnel (ankimcp.ai account, OAuth device flow) gives the collection a public HTTPS URL for remote clients. Requires Anki 25.07 or later; AGPL-3.0-or-later.

Turns Anki into a conversational tutor: 42 tools for reviewing due cards, rating them, creating notes and decks, and managing media over AnkiConnect.

MCP: OmniGet

by tonhowtf

New

A local MCP server that hands coding agents a desktop toolbox: media and torrent downloads, file conversion, dev utilities, linked chats and system cleanup.

MCP: Canvas MCP

by Vishal Sachdev

Connects AI assistants to Canvas LMS with up to 101 tools covering assignments, grading, analytics, discussions, accessibility auditing and course structure.

MCP: Concord

by Concord AI

New

Local-first MCP server that lets Claude Code, Codex, Cursor, Gemini CLI and other coding agents message each other, claim files and hand off tasks in one repo.

Browse all MCP servers →