anki-mcp-server

This repository provides an MCP server implementation that connects to a local Anki instance, enabling card review and creation functionalities through the Anki-Connect add-on, enhancing the Anki desktop app.

113
4

Anki MCP Server

This repository contains an implementation of an MCP (Model Context Protocol) server designed to interface with a locally running Anki desktop application, enabling card review and creation functionalities. It leverages the Anki-Connect add-on for communication.

The server provides resources like fetching cards from the current deck (deck:current), due cards (is:due), and new cards (is:new). It also offers tools such as update_cards to mark cards as answered with an ease score, add_card to create new cards, get_due_cards to retrieve a specified number of due cards, and get_new_cards to fetch a certain number of new cards.

For development, the repository includes instructions for installing dependencies (npm install), building the server (npm run build), and running a development mode with auto-rebuild (npm run watch). Configuration instructions are provided for integrating the server with Claude Desktop, along with debugging guidance using the MCP Inspector (npm run inspector).

Repository

SC
scorzeth

scorzeth/anki-mcp-server

Created

December 11, 2024

Updated

March 27, 2025

Language

JavaScript

Category

Developer Tools