anki-mcp-server

anki-mcp-server

116

The Anki MCP Server connects to a locally running Anki application to facilitate card review and creation. It supports interactions through various resources and tools that integrate with the Anki system, using a Model Context Protocol server structure.

Anki MCP Server

An MCP server designed to interface with a locally running Anki application, providing card review and creation functionality.

Resources

  • anki://search/deckcurrent: Fetches all cards from the current deck.
  • anki://search/isdue: Retrieves cards awaiting review and learning.
  • anki://search/isnew: Gets all unseen cards.

Tools

  • update_cards: Marks cards as answered with an ease score.
  • add_card: Creates a new card in the Default Anki deck.
  • get_due_cards: Fetches a specific number of due cards.
  • get_new_cards: Retrieves a specific number of new cards.

Development

Install dependencies with npm, and use 'npm run build' to build the server. 'npm run watch' is available for auto-rebuild.

Configuration

Configure Claude Desktop with appropriate server settings in the config files for MacOS or Windows.