Anki MCP Server
Anki MCP Server updates local notes through AnkiConnect, with AnkiWeb synchronization kept as a separately confirmed step.
- 253 ★ on the repository
- Last commit
Extended access
Why this level
- The agent edits or deletes collection notes; confirmed synchronization can merge or overwrite AnkiWeb data.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/nailuogg-anki-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The agent edits or deletes collection notes; confirmed synchronization can merge or overwrite AnkiWeb data.
This is third-party code. Review the repository files before installing.
What it does
Anki MCP Server connects an agent to a local collection through AnkiConnect. It reads and creates notes, updates tags and organizes decks, with note-type inspection before batch imports. Tools also create decks and note types. AnkiWeb synchronization requires explicit confirmation because full sync can affect local and remote collections. A separate skill guides Claude Code workflows.
Who it is for. Anki teachers and learners preparing structured notes for review before deck import.
Good fit when
- A teacher turns study material into notes of a selected type.
- Before importing, the agent searches for duplicates and reads the existing field structure.
- A group of notes needs tags or field values updated.
- After approved changes, the user separately confirms collection synchronization.
Not a fit when
- AnkiConnect is unavailable but direct AnkiWeb editing is expected.
- Deletion or full sync would run without review.
- The task requires a full review-and-rating session through this toolset.
Example request
Inspect this deck’s note type and draft five cards. Check duplicates and wait for approval before adding them.MCP
- Transport
- stdio
- Authentication
- not required
Limitations
Anki, the AnkiConnect add-on and Node.js 20.11 or newer are required. Ordinary stdio connections should use the npm server; launching the packaged mcpb that way emits unrelated metadata and breaks the protocol. A successful sync response means Anki accepted the request, while a blocking dialog may leave it queued. Created fields must match the selected note type, so inspect its schema before batch writes.
How to disable. Disable the MCP connection and any installed skill. Review collection changes and backups before further synchronization.
FAQ
How do I check connectivity?
Call `anki_check_connection` and inspect AnkiConnect and its port if unavailable.
How do I discover note fields?
Call `anki_list_note_types`, then `anki_get_note_type_info` for the selected type. Use the returned field names when creating a note.
Why not launch mcpb directly?
Its output contains Electron metadata. Use the npm package for stdio.
Does sync success prove AnkiWeb received data?
No. Check blocking dialogs and actual sync completion in Anki.
Is there a Claude Code skill?
Yes. It supplies tool guidance but still needs the MCP server.
Discussion
No questions or reviews yet.
Related
MCP serversAn MCP server for Anki: conversational card review, note creation, decks, note types and statistics
The hosted 2anki MCP turns text, links and photos of notes into Anki decks right from an assistant conversation.
An MCP server for Apple Notes on Mac: the agent reads, searches, creates, edits and exports notes and manages folders and tags.
Connects an agent to Nextcloud: notes, calendar, contacts, files, mail and Deck boards through more than 110 MCP tools
Simplenote MCP: Simplenote notes in an agent
simplenote-mcp
Automattic's official Simplenote MCP server: an agent reads, searches and optionally edits notes, with no sign-in on macOS
Obsidian Sync MCP: an Obsidian vault for agents
Obsidian Sync MCP
An MCP server that lets an agent read and edit Obsidian notes from a folder or via Self-hosted LiveSync, even with your laptop off
README in short
New tool names use anki_ prefixes; legacy names remain for existing clients.