Anki MCP for Grok
io.github.ryhus/anki-mcp
Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.
client:Grok
transport:stdio
runtime:npm
Install Anki MCP in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"anki-mcp": {
"type": "stdio",
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs