anki-mcp MCP Server
A server to integrate with Anki via the AnkiConnect plugin
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
- Tools for creating and managing Anki notes
- Integration with AnkiConnect API
Features
Resources
- List and access Anki decks via
anki://decks/{id}
URIs - List and access note models via
anki://models/{id}
URIs - JSON representation of Anki objects
Tools
listDecks
- Get names of all deckslistModels
- Get names of all note modelsgetModel
- Get details of a specific note modeladdNote
- Create a single note- Specify deck name, model name, fields and tags
addNotes
- Create multiple notes in bulk- Create many notes with specified parameters
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
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": {
"command": "node",
"args": ["d:\\anki-mcp-server\\build\\index.js"]
}
}
}
Debugging
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.
Anki MCP Server
Project Details
- CamdenClark/anki-mcp-server
- MIT License
- Last Updated: 4/10/2025
Recomended MCP Servers
mcp server for logseq graph
This is a MCP (Model Context Protocol) server that you can use with Cline through Visual Studio Code...
Store and load JSON documents from LLM tool use
An MCP server that provides access to Postman.
Using ffmpeg command line to achieve an mcp server, can be very convenient, through the dialogue to achieve...
TypeScript port of the original MCP Agent framework by lastmile-ai
[Self-hosted] A Model Context Protocol (MCP) server implementation that provides a web search capability over stdio transport. This...
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support,...
A Model Context Protocol server that validates and renders Mermaid diagrams.
An MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. Features include checking...
Model Context Protocol (MCP) server implementation with Minimax API integration