Anki MCP Server
A server implementation that connects to a locally running Anki, enabling card review and creation through the Model Context Protocol.
scorzeth
Tools
update_cards
After the user answers cards you've quizzed them on, use this tool to mark them answered and update their ease
add_card
Create a new flashcard in Anki for the user. Must use HTML formatting only. IMPORTANT FORMATTING RULES: 1. Must use HTML tags for ALL formatting - NO markdown 2. Use <br> for ALL line breaks 3. For code blocks, use <pre> with inline CSS styling 4. Example formatting: - Line breaks: <br> - Code: <pre style="background-color: transparent; padding: 10px; border-radius: 5px;"> - Lists: <ol> and <li> tags - Bold: <strong> - Italic: <em>
get_due_cards
Returns a given number (num) of cards due for review.
get_new_cards
Returns a given number (num) of new and unseen cards.
README
Anki MCP Server
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.
Resources
- anki://search/deckcurrent
- Returns all cards from current deck
- Equivalent of
deck:current
in Anki
- anki://search/isdue
- Returns cards in review and learning waiting to be studied
- Equivalent of
is:due
in Anki
- anki://search/isnew
- Returns all unseen cards
- Equivalent of
is:new
in Anki
Tools
-
update_cards
- Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)
- Inputs:
answers
(array): Array of objects withcardId
(number) andease
(number) fields
-
add_card
- Creates a new card in the Default Anki deck
- Inputs:
front
(string): Front of cardback
(string): Back of card
-
get_due_cards
- Returns n number of cards currently due for review
- Inputs:
num
(number): Number of cards
-
get_new_cards
- Returns n number of cards from new
- Inputs:
num
(number): Number of cards
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Configuration
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"
}
}
}
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.
Recommended Servers
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
Todoist MCP
An MCP server that enables LLMs to interact with Todoist tasks, projects, and other features through the Todoist API.

Notion API MCP Server
Enables advanced todo list management and content organization using Notion's API, supporting features like creating databases, dynamic filtering, and collaborative task tracking.
Todoist MCP Server
Integrates Claude with Todoist for natural language task management, supporting project and section organization, task creation, updating, completion, and deletion using everyday language.
Todoist MCP Server
An MCP server that integrates Claude with Todoist, enabling natural language task management including creating, updating, completing, and deleting tasks.
Curri MCP Server
Enables interaction with Curri's API by managing text notes, offering tools for note creation, and generating summaries using structured prompts.
Inkdrop MCP Server
Integrates Inkdrop note-taking app with Claude AI through Model Context Protocol, allowing Claude to search, read, create, and update notes in your Inkdrop database.
Notion MCP Server
Enables interaction with Notion through the Notion API by exposing it as tools for LLMs, allowing operations like reading, creating, updating, and deleting Notion pages seamlessly via natural language.
PeakMojo Server
A Python server implementation that enables integration with the PeakMojo API, providing access to various resources like users, personas, scenarios, and tools for managing PeakMojo functionality.
Notion MCP Server
A Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.