Listed from the MCP registry; nobody on Odel publishes it.
Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @ryhus/anki-mcp
MCP client config
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@ryhus/anki-mcp"
]
}
}
}Use Anki Desktop from your AI chat app. Search, create, and edit notes;
manage decks and cards; preview card HTML/CSS; and work with media and
.apkg deck packages.
Your MCP client is the app you chat with, not Anki Desktop. It needs to support launching local MCP servers (also called stdio servers). It starts Anki MCP so your assistant can use the Anki tools.
2055492159.
Restart Anki and keep it open.{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["--yes", "--prefer-online", "--package=@ryhus/anki-mcp@latest", "anki-mcp"],
"env": {
"ANKI_URL": "http://127.0.0.1:8765",
"ANKI_API_MODE": "v1"
}
}
}
}
If your client has a form, put only npx in Command, enter the four
Arguments separately, and add the two Environment variables shown
above. ANKI_URL is the AnkiConnect address, not a remote MCP URL.
Reload the client and ask: “List my Anki decks without changing anything.”
@latest checks for the current release when the server starts; it does not
update a running server. To control updates yourself, replace @latest with
an exact published version, for example @0.1.0.
a1 that mention Haus.”ANKI_API_MODE=v1 enables the full tool set with a compatible AnkiConnect
build. For an older add-on, use legacy for the supported subset..apkg import or export, set ANKI_PACKAGE_IMPORT_DIR
or ANKI_PACKAGE_EXPORT_DIR to an existing, trusted absolute folder.
Each is enabled separately and requires local AnkiConnect v1.ANKI_MEDIA_IMPORT_DIRS. Public HTTPS and base64 sources do not need
this setting.Review previews before approving destructive changes. Not every tool offers a preview. The server does not make backups or automatically retry writes; after an error, check Anki before repeating the action.
npx: make sure both Node and npm are on the
client's PATH. On Windows, use npx.cmd if your client needs the shim.ANKI_URL without /api/v1.