MCP Bridge for Anki: let Claude and other AI assistants use Anki

AnkiWeb addon 1825324904 Built with AI

Runs a private local server letting MCP-compatible AI assistants safely search, edit, schedule, and back up your Anki collection, with previews, backups, undo, logging, and token-protected localhost access.
AI-generated summary; may contain mistakes.

aisync-integrationschedulingfsrsnote-management

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-11-22
Anki versions
26.09~
License
MIT (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-22 (9 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
24.1126.09+2026-11-22
History across monthly snapshots

Loading…

Similar addons

Anki AI Grader

Lets you answer flashcards by typing, speaking, or handwriting, then has a chosen LLM grade the answer as correct, partly, or totally wrong and explain mistakes.

aischedulingreview-flowquiz

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.1~ Updated 2026-10-11
Smart Search

Adds a local AI panel in Anki's Browser that turns plain-English requests into Anki searches, expands synonyms, and finds matching cards privately.

aisearch

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 2 Anki 2.1.2~ Updated 2026-06-27

Description

Let Claude (or any MCP-compatible AI assistant) work with your Anki collection safely.

MCP Bridge for Anki runs a small, private server inside Anki so an AI assistant on the same computer can search your cards, add and edit notes, and fix scheduling problems for you, using the Model Context Protocol.

What it can do

  • Search and read: decks with counts, notes, cards (due dates, intervals, FSRS stability and difficulty), review history, note types and templates, and read-only SQL for analysis.
  • Edit: add notes, update fields and tags, find and replace, move, suspend and unsuspend cards, and edit card templates and CSS.
  • Repair scheduling: Set Due Date, Forget, set intervals and FSRS memory state directly, recalculate FSRS from review history, and remove (and restore) review log entries, for example to undo an accidental "Forget" on a whole deck.
  • Maintenance: create backups, undo, and sync with AnkiWeb.

Built to be safe

  • Preview first: anything that edits or deletes returns a preview, and only changes your collection when the assistant confirms.
  • Backups: an automatic Anki backup is made before big or destructive changes.
  • Undo: each change is one step in Edit > Undo.
  • Log: every change is written to a log in the add-on's folder.
  • Private: it listens only on this computer (127.0.0.1) and every request needs your access token. Browser requests are refused.

Setup

  1. Install this add-on and restart Anki.
  2. Go to Tools > MCP Bridge… and copy the access token.
  3. Claude Desktop: in the same window click Install Claude Desktop extension… (it copies the token for you), then paste the token when Claude asks.
  4. Other MCP clients: connect to http://127.0.0.1:8766/mcp and send the token as Authorization: Bearer <token>.

Anki must be open with a profile loaded while the assistant is working.

Options (Tools > Add-ons > Config)

  • port (default 8766, so it can run alongside AnkiConnect)
  • bind (default 127.0.0.1)
  • backup_before_big_changes, log_changes
  • auto_sync_minutes: optional automatic AnkiWeb sync that waits for changes to finish and skips while you're reviewing

Requires Anki 24.11 or newer. FSRS tools need FSRS turned on. MIT licence.

Changelog

1.0.1 (2026-11-22)

  • Fixed: read-only SQL queries that used the replace() text function were wrongly refused.

1.0.0 (2026-11-22)

  • First release.