anki-mcp Server
by CamdenClark
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 Server?
An MCP server designed to integrate with Anki using the AnkiConnect plugin. It provides a structured way to interact with Anki decks, note models, and notes through URIs and a set of tools.
How to use anki-mcp Server?
- Install dependencies using
npm install
. 2. Build the server usingnpm run build
. 3. Configure the server in your Claude Desktop config file (claude_desktop_config.json) by adding the server details including the command to execute the server. 4. Debug using the MCP Inspector withnpm run inspector
.
Key features of anki-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
addNote
andaddNotes
tools for creating notesIntegration with AnkiConnect API
Use cases of anki-mcp Server
Programmatically managing Anki decks and notes
Integrating Anki with other applications via MCP
Creating custom tools for interacting with Anki data
Bulk creation of Anki notes from external data sources
FAQ from anki-mcp Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for communication between applications.
What is AnkiConnect?
What is AnkiConnect?
AnkiConnect is an Anki add-on that provides an API for interacting with Anki decks and notes.
How do I configure the server?
How do I configure the server?
Add the server config to your Claude Desktop's claude_desktop_config.json
file with the correct command and arguments.
How do I debug the server?
How do I debug the server?
Use the MCP Inspector by running npm run inspector
.
What dependencies are required?
What dependencies are required?
The server requires Node.js and npm. Install dependencies with npm install
.