← Back to Leaderboard
Aankimcp

ankimcp/anki-mcp-server

MCP Registry

A standalone MCP bridge for studying and editing Anki cards from AI clients

Engineering Health (Methodology)
A · 87/100
Maintenance Activity
● Updated 4d ago
Latest Release
v0.28.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption12/25
Release Cadence20/20
License Clarity20/20
MCPCLI
Total Stars
★ 590
24h Growth
+2
7d Growth
+9
Forks
42

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ankimcp/anki-mcp-server Star History (2025-09-29 - 2026-12-03) ALL-TIME STAR HISTORY (2025-09 – 2026-12) +589 in 430d · avg +1/day 623 312 0 2025-09-29: ★ 12025-11-01: ★ 212025-11-29: ★ 382025-12-27: ★ 592026-01-24: ★ 852026-02-21: ★ 1402026-03-21: ★ 1802026-04-18: ★ 2282026-05-16: ★ 2712026-06-13: ★ 3202026-07-11: ★ 3682026-08-08: ★ 4202026-09-05: ★ 4632026-10-03: ★ 4982026-10-31: ★ 5382026-12-03: ★ 590 ★ 590 2025-09 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Anki MCP Server is a standalone TypeScript/Node.js bridge between an MCP client and a running Anki desktop session. In the primary STDIO flow, the client starts the process, invokes MCP tools over standard input/output, and the server reaches Anki through AnkiConnect. ANKI_CONNECT_URL defaults to http://localhost:8765. The package exposes ankimcp and anki-mcp-server executables, and a source-build configuration can launch dist/main-stdio.js directly.

The runtime stack includes NestJS, @rekog/mcp-nest, the @modelcontextprotocol/core, node, and server packages, and Zod with zod-to-json-schema. Local HTTP and remote tunnel access are also available, but they change how the client reaches the bridge, not the need for a running Anki backend. The server exposes collection operations; the MCP client supplies the conversational or model layer.

Key Capabilities & Differentiators

The server exposes 53 tools: 42 for general Anki operations and 11 for the desktop GUI. A conversational study session can fetch due cards, present the question, and submit an Again, Hard, Good, or Easy rating. Fetches omit answers unless include_answer is enabled, and card content is rendered per template. Use the study tools rather than the GUI tools for that flow: guiCurrentCard includes the answer and errors outside desktop review mode.

Collection tools cover decks, Anki-query searches, note edits, tags, media, and note types, including fields, front/back HTML, and CSS. addNotes supports up to 100 notes per batch for a shared deck and note type, with partial success. Deleting notes or removing a note-type field requires explicit confirmation. For analytics, deckStats separates the daily-limit-aware study queue from card-state counts; review_stats analyzes review history, retention, and streaks.

Trade-offs & Limitations

The closest alternative is the AnkiMCP addon. It runs inside Anki, starts when Anki opens, and offers local HTTP and a built-in tunnel without configuring AnkiConnect or running a separate Node.js server. Choose the standalone server for a client that expects to spawn a STDIO subprocess, or for Claude Desktop's .mcpb install path. The packaging is convenient, but the underlying Anki and AnkiConnect dependency remains.

The write surface extends well beyond drafting flashcards: it can change schedules and edit shared templates that affect every card of a note type. Confirm destructive edits, check for partial success before retrying batch writes, and use setDueDate rather than a review rating when the intent is only to move a due date. The MIT license permits self-hosting, but a local bridge does not make a cloud-backed assistant private; the client may still transmit the collection content it receives.

Hardware & Deployment Guide

For general installation, run npx -y @ankimcp/anki-mcp-server --stdio from the client configuration, or install the package globally and launch ankimcp --stdio. Claude Desktop can install the release .mcpb instead. The standalone server needs Anki with AnkiConnect running; npm and source deployments require Node.js 22.12.0 or newer. A source build uses npm install and npm run build; running the test suite requires Node.js 24.9 or newer, which is not the production runtime minimum.

STDIO needs no remote endpoint. For remote access, the project offers an authenticated managed tunnel and lists unauthenticated ngrok as an alternative; use an authenticated path when exposing collection operations. Release v0.26.0 added card suspension tools, v0.27.0 hardened read-only behavior, and v0.28.0 updated the MCP SDK and hardened media imports, filenames, and origin checks. Review existing deck-creation integrations before upgrading to v0.28.0, which marks a createDeck change as breaking.

Transport: MCP clients launch ankimcp --stdio; Claude Desktop can also install a .mcpb bundle.
Review flow: Card fetches hide answers by default and use rendered card templates, preserving the direction of reversed and cloze cards.
Scheduling: rate_card records a review; forgetCards resets cards to new, while setDueDate moves the due date without recording a review.
Bulk editing: addNotes accepts up to 100 notes sharing a deck and note type, with partial success supported.
Statistics: Daily-limit-aware study queues are reported separately from totals by card state.
Media: storeMediaFile accepts paths, URLs, or base64; v0.28.0 includes hardening for symlink handling and filenames.
Best For

Anki users who already run AnkiConnect and want a local STDIO client for guided review, batch note creation, or deck maintenance, or who need the Claude Desktop bundle.

Skip If

You mainly need HTTP or web-client access, or your workflow must run with Anki closed. The addon is simpler for HTTP and remote access; neither option removes the running Anki requirement.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
npm install -g @ankimcp/anki-mcp-server

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
anki-mcp-server ★590+9TypeScriptMITA standalone MCP bridge for studying and editing Anki cards from AI clients
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
skills42.3k+1.1kTypeScriptMITTypeScript CLI for distributing and restoring skills across coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/ankimcp/anki-mcp-server.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ankimcp/anki-mcp-server Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about anki-mcp-server

Can a STDIO client use the collection while Anki is closed?

No. The MCP client launches the server with --stdio, and the server forwards collection operations to AnkiConnect at http://localhost:8765 by default. Anki must be running with AnkiConnect available. The separate AnkiMCP addon runs its MCP server inside Anki and does not require AnkiConnect.

Does the server need a GPU, and what should I budget for runtime overhead?

This is a Node.js bridge, not a model runner. It specifies Node.js 22.12.0+ for runtime use and no GPU or VRAM requirement. Size the machine for the combined Anki, server, and client workload. If the client also runs a local model, size that model separately. No measured resource figures are available.

Can we self-host it for commercial use and keep study data on the machine?

The server is MIT-licensed, so commercial use and self-hosting are allowed under the license terms, including preserving the required notices when redistributing it. Local hosting does not guarantee local data processing: an MCP client backed by a hosted model may send note or card content outside the machine. Evaluate the client and any tunnel separately.

When should I choose this server over the AnkiMCP addon?

Choose the standalone server when your client spawns a STDIO subprocess or you want the Claude Desktop MCPB bundle. For local HTTP or a hosted web client that needs remote access, the in-Anki addon is usually simpler: it runs when Anki opens and avoids a separate Node.js process and AnkiConnect setup.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ankimcp/anki-mcp-server? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ankimcp/anki-mcp-server on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare