Anki MCP Server

by scorzeth

Not rated
GitHub

About

Connects to a local Anki instance to review and create flashcards. Requires the Anki desktop app and Anki-Connect add-on.

Details

Author
scorzeth
Categories
Productivity, Other, Knowledge Base

Setup

Install Anki MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/scorzeth/anki-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP server implementation that connects to a locally running Anki, providing card review and creation.

This server is designed to work with theAnki desktop appand theAnki-Connectadd-on.

Make sure you have the add-on installed before using.

- anki://search/deckcurrent

- Returns all cards from current deck
- Equivalent ofdeck:currentin Anki

- Returns cards in review and learning waiting to be studied
- Equivalent ofis:duein Anki

- Returns all unseen cards
- Equivalent ofis:newin Anki

- Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)
- Inputs:

- answers(array): Array of objects withcardId(number) andease(number) fields

- Creates a new card in the Default Anki deck
- Inputs:

- front(string): Front of card
- back(string): Back of card

- Returns n number of cards currently due for review
- Inputs:

- num(number): Number of cards

- Returns n number of cards from new
- Inputs:

- num(number): Number of cards

To use with Claude Desktop, add the server config:

On MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "anki-mcp-server": { "command": "/path/to/anki-mcp-server/build/index.js" } } }

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using theMCP Inspector, which is available as a package script:

The Inspector will provide a URL to access debugging tools in your browser.

Manage Anki flashcards and decks via the AnkiConnect plugin.

Connect Claude with AnkiConnect to create and review flashcards using natural language.

A Model Context Protocol (MCP) server that provides seamless integration with Anki, enabling AI assistants to interact with your flashcard collection. Create, read, update, and manage Anki cards programmatically through a standardized interface.

Create Anki flashcards using natural language by connecting to the AnkiConnect add-on.

Connects to Anki via AnkiConnect to retrieve leech-tagged flashcards for use in Claude Desktop.

Interact with the Anki flashcard app via the AnkiConnect add-on. Supports audio generation and similarity search.

Enables AI assistants to interact with Anki flashcard decks via the AnkiConnect plugin.

ree certification prep for the Claude Certified Architect exam. 390 questions, guided capstone build, 30 handouts, 6 reference projects, practice exams, interactive UI, progress dashboard, spaced repetition, deterministic grading. Runs locally.

Interactive flashcards, quizzes, and cloze cards with FSRS spaced repetition, rendered inline in Claude Desktop as an MCP App.

A MCP server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.