- Home
- MCP servers
- Anki
Anki
- javascript
175
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"scorzeth-anki-mcp-server": {
"command": "/path/to/anki-mcp-server/build/index.js",
"args": []
}
}
}You can run this MCP server to connect to a locally running Anki application, enabling card review, creation, and management from MCP clients. It works with the Anki desktop app and the Anki-Connect add-on, letting you query decks, fetch due and new cards, and perform updates or additions programmatically.
How to use
Connect to the Anki MCP server from your MCP client to fetch cards that are due for review, retrieve new cards, or create new ones. Use the following core actions to manage your studying flow: - Get cards that are due for study to prioritize your review session. - Retrieve unseen cards to surface new material. - Create new cards directly in the Default Anki deck to extend your study set. - Update cards with your answers to adjust their ease score for future reviews. - Add new cards by sending front and back content for quick expansion of your deck. Each action maps to a distinct tool exposed by the server, allowing you to orchestrate card review from your MCP client with simple calls.
How to install
Prerequisites you need before starting: - Node.js installed on your machine. - npm (comes with Node.js) to install dependencies. - Anki desktop application installed with the Anki-Connect add-on enabled for communication. - The MCP server binary or script available locally to run from your machine.
Additional sections
Configuration details are provided below to run the server locally and integrate with your Anki setup. The server is designed to communicate over stdio, so you will start it as a local process that your MCP client can interact with directly.
Available tools
get_due_cards
Returns a specified number of cards that are currently due for review, enabling you to pull cards ready for study.
get_new_cards
Returns a specified number of cards that are new, allowing you to surface unseen material.
update_cards
Marks given cards as answered and assigns an ease score from 1 (Again) to 4 (Easy) to tailor future reviews.
add_card
Creates a new card in the Default Anki deck with a front and back content.