Anki MCP for Claude Desktop
io.github.ryhus/anki-mcp
Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.
client:Claude Desktop
transport:stdio
runtime:npm
Install Anki MCP in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@ryhus/anki-mcp"
],
"env": {
"ANKI_URL": "<ANKI_URL>",
"ANKI_API_MODE": "<ANKI_API_MODE>",
"ANKI_REQUEST_TIMEOUT_MS": "<ANKI_REQUEST_TIMEOUT_MS>",
"ANKI_MEDIA_IMPORT_DIRS": "<ANKI_MEDIA_IMPORT_DIRS>",
"ANKI_PACKAGE_IMPORT_DIR": "<ANKI_PACKAGE_IMPORT_DIR>",
"ANKI_PACKAGE_EXPORT_DIR": "<ANKI_PACKAGE_EXPORT_DIR>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs