Server data from the Official MCP Registry
Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.
About
Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.
Security Report
Valid MCP server (2 strong, 3 medium validity signals). 4 code issues detected. No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. 4 finding(s) downgraded by scanner intelligence.
9 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
What You'll Need
Set these up before or after installing:
Environment variable: ANKI_URL
Environment variable: ANKI_API_MODE
Environment variable: ANKI_REQUEST_TIMEOUT_MS
Environment variable: ANKI_MEDIA_IMPORT_DIRS
Environment variable: ANKI_PACKAGE_IMPORT_DIR
Environment variable: ANKI_PACKAGE_EXPORT_DIR
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@ryhus/anki-mcp@0.1.2"
],
"env": {
"ANKI_URL": "your-anki-url-here",
"ANKI_API_MODE": "your-anki-api-mode-here",
"ANKI_MEDIA_IMPORT_DIRS": "your-anki-media-import-dirs-here",
"ANKI_PACKAGE_EXPORT_DIR": "your-anki-package-export-dir-here",
"ANKI_PACKAGE_IMPORT_DIR": "your-anki-package-import-dir-here",
"ANKI_REQUEST_TIMEOUT_MS": "your-anki-request-timeout-ms-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
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.
Quick start
- Install Node.js 24 or newer with npm.
- In Anki Desktop, install
AnkiConnect via
Tools → Add-ons → Get Add-ons with code
2055492159. Restart Anki and keep it open. - Add the server configuration below in your MCP client's settings. No clone or global install is needed.
{
"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.
Try it
- “Find German notes tagged
a1that mentionHaus.” - “Draft three vocabulary notes for my German deck. Show me the drafts before creating them.”
- “Show me the front and back HTML of this card without changing it.”
- “Preview an export of my German deck without review history.”
Settings
ANKI_API_MODE=v1enables the full tool set with a compatible AnkiConnect build. For an older add-on, uselegacyfor the supported subset.- To enable local
.apkgimport or export, setANKI_PACKAGE_IMPORT_DIRorANKI_PACKAGE_EXPORT_DIRto an existing, trusted absolute folder. Each is enabled separately and requires local AnkiConnect v1. - To import media from disk, allowlist its source folder with
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.
Troubleshooting
- The client cannot find
npx: make sure both Node and npm are on the client's PATH. On Windows, usenpx.cmdif your client needs the shim. - Anki is unreachable: check that Anki is open and AnkiConnect is enabled.
Use the base address in
ANKI_URLwithout/api/v1. - The package is not found: check that the requested version has been published and that your client can reach the npm registry.
Reviews
No reviews yet
Be the first to review this server!
More Education & Research MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Memory
Freeby Modelcontextprotocol · Productivity
Knowledge graph-based persistent memory across sessions
