MCP ExplorerExplorer

Anki Mcp

1 GPL-3.0
FreeCommunity
AI Systems
Anki-MCP is an MCP server for connecting LLMs with Anki via AnkiConnect API.

Overview

What is Anki Mcp

Anki-MCP is an MCP (Model Control Protocol) server that facilitates interaction with the Anki flashcard application via the AnkiConnect API.

Use cases

Use cases for Anki-MCP include automating the creation of flashcards for language learning, managing study decks for exam preparation, and integrating Anki with other applications for enhanced learning experiences.

How to use

To use Anki-MCP, ensure Anki is running with the AnkiConnect plugin active. After configuring the MCP settings and installing dependencies, you can create and update flashcards, manage decks, and perform various Anki operations through the server.

Key features

Key features of Anki-MCP include the ability to create and update flashcards, manage decks, query card information, and execute all operations supported by the AnkiConnect plugin, such as card actions, deck actions, note actions, and media actions.

Where to use

Anki-MCP can be used in educational settings, personal study routines, and any environment where flashcard-based learning is beneficial.

Content

Anki-MCP

An MCP (Model Control Protocol) server for interacting with the Anki flashcard application through the AnkiConnect API.

Overview

Anki-MCP provides a bridge between your LLM’s and Anki. This project implements the Anki-Connect API (https://git.sr.ht/~foosoft/anki-connect) as an MCP server.

Prerequisites

Installation

  1. Clone this repository
  2. Install dependencies with npm install
  3. Configure your MCP settings (below) to include the Anki-MCP server

Configuration

Depending your MCP host, add the following to your mcp_settings.json file:

Replace /path/to/anki-mcp/index.js with the actual path to your installation.

Usage

Important: Anki must be running with the AnkiConnect plugin active for this MCP server to work.

Once configured, you can use the Anki-MCP server to:

  • Create and update flashcards
  • Manage decks
  • Query card information
  • Execute all Anki operations available from AnkiConnect plugin

Available Tools

The server provides tools for all operations supported by AnkiConnect, including:

  • Card actions (getEaseFactors, suspend, unsuspend, etc.)
  • Deck actions (deckNames, createDeck, changeDeck, etc.)
  • Note actions (addNote, updateNote, findNotes, etc.)
  • Media actions (storeMediaFile, retrieveMediaFile, etc.)
  • And many more

License

GPL-3.0

Acknowledgments

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers