by scorzeth
Provides a local MCP server that interfaces with a running Anki instance to retrieve, create, and update flashcards through standard MCP calls.
Anki MCP Server implements a Model Context Protocol (MCP) endpoint that connects to a locally running Anki desktop application. It enables external tools (e.g., Claude Desktop) to query decks, fetch due or new cards, create new cards, and submit review answers via MCP messages.
npm install
npm run build
npx for quick start)
npx -y anki-mcp-server
serverConfig section below for an example.anki://search/deckcurrent, anki://search/isdue, and anki://search/isnew.update_cards tool marks cards as answered with an ease score (1‑4).add_card tool adds new cards to the default Anki deck.get_due_cards and get_new_cards return a specified number of due or new cards.npm run watch for auto‑rebuilding and npm run inspector for MCP debugging.npm run inspector) which gives a web UI for monitoring MCP traffic.npm run build or run directly via npx as shown above.An MCP server implementation that connects to a locally running Anki, providing card review and creation.
This server is designed to work with the Anki desktop app and the Anki-Connect add-on.
Make sure you have the add-on installed before using.
deck:current in Ankiis:due in Ankiis:new in Ankiupdate_cards
answers (array): Array of objects with cardId (number) and ease (number) fieldsadd_card
front (string): Front of cardback (string): Back of cardget_due_cards
num (number): Number of cardsget_new_cards
num (number): Number of cardsInstall dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "/path/to/anki-mcp-server/build/index.js"
}
}
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Please log in to share your review and rating for this MCP.
{
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"anki-mcp-server"
],
"env": {}
}
}
}claude mcp add anki-mcp-server npx -y anki-mcp-serverExplore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.
by topoteretes
Provides dynamic memory for AI agents through modular ECL (Extract, Cognify, Load) pipelines, enabling seamless integration with graph and vector stores using minimal code.
by basicmachines-co
Enables persistent, local‑first knowledge management by allowing LLMs to read and write Markdown files during natural conversations, building a traversable knowledge graph that stays under the user’s control.
by smithery-ai
Provides read and search capabilities for Markdown notes in an Obsidian vault for Claude Desktop and other MCP clients.
by chatmcp
Summarize chat messages by querying a local chat database and returning concise overviews.
by dmayboroda
Provides on‑premises conversational retrieval‑augmented generation (RAG) with configurable Docker containers, supporting fully local execution, ChatGPT‑based custom GPTs, and Anthropic Claude integration.
by qdrant
Provides a Model Context Protocol server that stores and retrieves semantic memories using Qdrant vector search, acting as a semantic memory layer.
by doobidoo
Provides a universal memory service with semantic search, intelligent memory triggers, OAuth‑enabled team collaboration, and multi‑client support for Claude Desktop, Claude Code, VS Code, Cursor and over a dozen AI applications.
by GreatScottyMac
Provides a project‑specific memory bank that stores decisions, progress, architecture, and custom data, exposing a structured knowledge graph via MCP for AI assistants and IDE tools.