by jasperket
Provides an MCP server that enables Claude Desktop to create, update, and manage Anki decks and cards via AnkiConnect.
Clanki offers an MCP‑based interface allowing AI assistants such as Claude Desktop to interact programmatically with Anki. It bridges Claude’s commands to Anki’s deck and card operations, leveraging the AnkiConnect plugin.
npm install, then build with npm run build.claude_desktop_config.json to point to the built index.js script (e.g., { "mcpServers": { "clanki": { "command": "node", "args": ["/absolute/path/to/clanki/build/index.js"] } } }).{{c1::text}} syntax.An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP).
git clone https://github.com/yourusername/clanki.git
cd clanki
npm install
npm run build
Make sure Anki is running and the AnkiConnect plugin is installed and enabled
Configure Claude for Desktop to use the server by editing claude_desktop_config.json:
{
"mcpServers": {
"clanki": {
"command": "node",
"args": ["/absolute/path/to/clanki/build/index.js"]
}
}
}
Replace /absolute/path/to/clanki with the actual path to your clanki installation.
Creates a new Anki deck
name: Name for the new deckCreates a new basic flashcard in a specified deck
deckName: Name of the deck to add the card tofront: Front side content of the cardback: Back side content of the cardtags: (Optional) Array of tags for the cardCreates a new cloze deletion card in a specified deck
deckName: Name of the deck to add the card totext: Text containing cloze deletions using {{c1::text}} syntaxbackExtra: (Optional) Extra information to show on the back of the cardtags: (Optional) Array of tags for the cardUpdates an existing basic flashcard
noteId: ID of the note to updatefront: (Optional) New front side contentback: (Optional) New back side contenttags: (Optional) New tags for the cardUpdates an existing cloze deletion card
noteId: ID of the note to updatetext: (Optional) New text with cloze deletionsbackExtra: (Optional) New extra information for the backtags: (Optional) New tags for the cardTo modify or extend the server:
src/index.tsnpm run buildnpx @modelcontextprotocol/inspector node build/index.jsThis project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Please log in to share your review and rating for this MCP.
Explore 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.