anki-mcp MCP Server
by MCP-Mirror
This is a TypeScript-based MCP server that integrates with Anki via the AnkiConnect plugin. It demonstrates core MCP concepts by providing resources representing Anki decks and note models with URIs, and tools for creating and managing Anki notes.
Last updated: N/A
What is anki-mcp MCP Server?
This server integrates with Anki via the AnkiConnect plugin, providing a way to manage Anki decks and notes using the Model Context Protocol (MCP). It exposes Anki decks and note models as resources with URIs and offers tools for creating and managing Anki notes.
How to use anki-mcp MCP Server?
To use this server, you need to install it and configure it within Claude Desktop. Add the server config to the claude_desktop_config.json
file, specifying the command to run the server. You can then use the MCP Inspector for debugging.
Key features of anki-mcp MCP Server
List and access Anki decks via
anki://decks/{id}
URIsList and access note models via
anki://models/{id}
URIsJSON representation of Anki objects
listDecks
- Get names of all deckslistModels
- Get names of all note modelsgetModel
- Get details of a specific note modeladdNote
- Create a single noteaddNotes
- Create multiple notes in bulk
Use cases of anki-mcp MCP Server
Programmatically create and manage Anki flashcards.
Integrate Anki with other applications using the MCP.
Bulk import notes into Anki from external sources.
Automate the creation of flashcards based on specific criteria.
FAQ from anki-mcp MCP Server
What is AnkiConnect?
What is AnkiConnect?
AnkiConnect is an Anki add-on that allows external programs to interact with Anki.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a protocol for communication between applications.
How do I install the server?
How do I install the server?
Follow the installation instructions in the README, which involves configuring the server in Claude Desktop.
How do I debug the server?
How do I debug the server?
Use the MCP Inspector, which can be run using npm run inspector
.
What are the dependencies?
What are the dependencies?
The server requires Node.js and npm. Install dependencies using npm install
.