LABSCO SUMMARY
No add-on is the feature.
Every other Anki MCP server depends on AnkiConnect, which was built for browser extensions and brings a port, an extra install step and an API that can change under you. Going straight at pylib trades UI integration for stability — a deliberate, stated tradeoff, and the right one if you mostly want cards created and corrected.
What it is
An MCP server for Anki that integrates with Anki's stable pylib API instead of the AnkiConnect add-on. Nothing to install inside Anki, no HTTP server occupying a port, no add-on to break — just Anki on the machine and an LLM client.
What you get
- Core deck operations — create, read, update and delete, with
create_notefor new cards andlist_collectionsfor what it found - Automatic discovery of your Anki collections at their standard locations on macOS, Linux and Windows, with no paths to configure
- Sync —
sync_collectionagainst AnkiWeb by default or a self-hosted endpoint, with media included unless you setsync_media: false - Credential handling —
save_sync_credentials,load_sync_credentialsanddelete_sync_credentialskeep the username and password in the OS credential store: Keychain on macOS, Credential Manager on Windows, Secret Service on Linux - A default sync endpoint can be set in
config.json; leave it null for AnkiWeb
Requirements
Anki installed, Python 3.10+, and an MCP client. Run it with uvx mousetail — no add-ons and no dependencies beyond that. Close the Anki desktop application before syncing, or the sync fails. Two limits are by design: it will never integrate with the Anki UI, and it only works with an LLM tool on the same machine as the deck. Package version 0.1.5. MIT.
Setup effort
One command — uvx mousetail
USE CASES
01
Turning a conversation into cards
Ask for a deck built from what you just discussed so the details you want to keep become notes.
02
Cleaning up a deck you rushed
Have the model check a deck for mistakes and typos and correct the notes in place.
03
Keeping decks in step across devices
Save the credentials once to the OS keychain, then sync the collection with AnkiWeb or your own server.
BEFORE YOU INSTALL
What to know first
Requires
uv on PATH
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
uvx mousetailMCP Clients
Claude Code
CLAUDE CODE · TERMINAL
claude mcp add --transport stdio --scope user anki -- uvx mousetailClaude Desktop
CLAUDE DESKTOP · JSON
{
"mcpServers": {
"anki": {
"command": "uvx",
"args": [
"mousetail"
]
}
}
}