Basic information
About Anki MCP Server
Anki MCP Server: use AI to manage Anki decks, create basic & cloze cards, add cards and handle review queues via natural language.
Anki MCP Server is a MCP server in the Productivity category listed in the AddMCP.net directory, published by zlatanpham. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 245 GitHub stars. Source code is hosted on github.com. Related topics: anki, anki-connect, cline, community, developer-tools.
Setup
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@x-mcp/anki@latest"
],
"env": {
"ANKI_BASE_URL": "http://localhost:3000",
"ANKI_API_KEY": "ank_YOUR_API_KEY_HERE"
}
}
}
}
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@x-mcp/anki@latest"
],
"env": {
"ANKI_BASE_URL": "http://localhost:3000",
"ANKI_API_KEY": "ank_YOUR_API_KEY_HERE"
}
}
}
}
{
"servers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@x-mcp/anki@latest"
],
"env": {
"ANKI_BASE_URL": "http://localhost:3000",
"ANKI_API_KEY": "ank_YOUR_API_KEY_HERE"
}
}
}
}
Anki MCP Server — by zlatanpham config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"@x-mcp/anki@latest"
],
"env": {
"ANKI_BASE_URL": "http://localhost:3000",
"ANKI_API_KEY": "ank_YOUR_API_KEY_HERE"
}
}
}
}
Anki MCP Server — by zlatanpham tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Anki MCP Server?
A Model Context Protocol (MCP) server that enables LLMs to interact with Anki flashcard software through the AnkiConnect add-on. It bridges AI agents and Anki for creating, searching, updating, and deleting flashcards and decks.
How to use Anki MCP Server?
Install Anki and the AnkiConnect add-on, then configure your MCP client (Claude Desktop, Cline, etc.) to launch the server via npx --yes anki-mcp-server. Optionally specify a custom AnkiConnect port with --port. For Claude Desktop, you can also install a packaged .mcpb extension. Claude Code users can add the Anki skill with npx skills add nailuoGG/anki-mcp-server@anki.
Key features of Anki MCP Server
- 16 tools for Anki operations (deck, note, tag, sync management)
- Readable resources exposing decks, tags, and note type schemas
- Supports AnkiConnect at default or custom ports
- Legacy unprefixed tool names remain for backward compatibility
- Automated CI/CD publishing to NPM and MCP Registry
- Packaged as a Desktop Extension (.mcpb) for one-click Claude Desktop install
Use cases of Anki MCP Server
- Create new Anki decks and add basic or cloze deletion cards
- Search, update, and delete existing notes programmatically
- Batch create multiple notes in one request
- Add or remove tags from notes for organization
- Trigger AnkiWeb sync from an LLM agent
Frequently asked questions
1 What prerequisites does Anki MCP Server require?
Anki must be installed with the AnkiConnect add-on, and Node.js 20.11 or newer is required.
2 Does Anki MCP Server support authentication or alternative transports?
No authentication is mentioned. It communicates with AnkiConnect over HTTP (stdio is used for MCP transport). No other transports are described.
3 Where does my card data live?
All data resides in your local Anki collection. The server does not store or transmit data externally, except when you trigger AnkiWeb sync.
4 What is the limitation of the sync tool?
The sync tool is fire-and-forget; a success response means Anki accepted the request, not that AnkiWeb received the data. A blocking dialog in Anki can keep the sync queued silently.
5 Can I use the .mcpb packaged version as the MCP server?
No—do not use the .mcpb packaged version as the MCP server because it outputs Electron metadata to stdout, which breaks the MCP stdio protocol. Use npx -y anki-mcp-server instead.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In