ankimcp/anki-mcp-server

A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

What it solves

This project bridges the gap between Anki, the popular flashcard application, and AI assistants. It allows you to interact with your flashcards using natural language, turning study sessions into dynamic conversations where an AI can explain concepts, adapt to your learning style, and manage your decks automatically.

How it works

It acts as a Model Context Protocol (MCP) server that connects to your local Anki installation via the AnkiConnect plugin. By exposing 53 specific tools, it allows AI assistants (like Claude Desktop, Cursor, or Cline) to perform tasks such as fetching due cards, rating performance, creating new notes, and managing media or deck structures directly through chat commands.

Who it’s for

This tool is designed for Anki users who want to use AI to enhance their study experience. It is ideal for those who use AI-powered editors or desktop assistants and want to automate deck management or receive personalized explanations for their flashcards.

Highlights

  • Comprehensive Toolset: Includes 42 essential tools for study and deck management, plus 11 GUI-driven tools for note editing.
  • Flexible Integration: Supports local connections via STDIO for desktop AI clients and secure tunnel connections for remote or web-based AI assistants.
  • Smart Study Features: Enables natural language review sessions where the AI can explain topics, handle RTL styling for languages, and manage media imports.
  • Easy Setup: Offers a one-click .mcpb bundle for Claude Desktop users, alongside standard npm installation for other environments.

Related

  • Project
  • Project
  • Project
  • Project
  • Project