# Anki MCP Server

> Anki MCP Server is a freemium MCP server for education and exams. Let an AI assistant review, create and edit Anki flashcards through AnkiConnect. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $5 a month
- **Platforms:** self-hosted, CLI, macOS, Windows, Linux
- **Website:** https://ankimcp.ai
- **Repository:** https://github.com/ankimcp/anki-mcp-server
- **MCP Registry name:** ai.ankimcp/anki-mcp-server
- **Categories:** education and exams, language learning
- **Listing updated:** 2026-11-15

## About

This repository covers the stdio route, for clients that start the server as a subprocess, plus a one-click MCPB bundle for Claude Desktop. The maintainers now recommend their separate Anki add-on for most setups, since it runs the server inside Anki without Node.js or AnkiConnect and also handles remote access; this repo stays maintained alongside it.

The README counts 53 tools: 42 essential ones for review, study and card management, and 11 GUI tools that drive the Anki desktop interface. A study flow syncs with AnkiWeb, fetches due cards, presents each one and records your rating. Other flows create note types, including right-to-left styling for Arabic, batch-add notes and store media files.

Local use with Claude Desktop, Claude Code, Cursor, Cline or Zed is free and needs no account. Remote access for ChatGPT, claude.ai or a phone goes through a managed tunnel with a free tier, a $5 a month Plus plan and a $15 a month Pro plan that adds Hosted Anki in the cloud.

## Features

- **Conversational review:** The assistant presents due cards, checks answers and records ratings.
- **Card creation:** Creates and edits notes, including batch adds and custom note types.
- **Media handling:** Stores images and audio files on cards.
- **GUI tools:** Eleven tools drive the Anki desktop interface for editing workflows.
- **AnkiWeb sync:** Syncs with AnkiWeb before and after a session.
- **Remote access:** An optional managed tunnel reaches web and mobile assistants.

## Good for

- Review a language deck by talking with an assistant
- Generate flashcards from notes or a lecture
- Add pronunciation audio to vocabulary cards
- Create right-to-left cards for Arabic or Hebrew
- Edit existing notes in bulk

## Install

### Claude Code (Terminal)

```sh
claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "anki-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
```

## Tools

- `sync`: Syncs with AnkiWeb
- `get_due_cards`: Gets cards due for review, optionally by deck
- `get_cards`: Gets cards filtered by state and deck
- `present_card`: Shows a card's front for review
- `rate_card`: Rates a card and schedules the next review
- `modelNames`: Lists note types
- `createModel`: Creates a custom note type
- `updateModelStyling`: Updates a note type's CSS styling
- `addNotes`: Batch-creates notes
- `storeMediaFile`: Uploads a local file into Anki media
- `guiSelectedNotes`: Reads the note selected in the browser
- `notesInfo`: Reads note details
- `updateNoteFields`: Updates fields of a note

## FAQ

### Is it free?

Local use is free and always will be. Remote access uses a managed tunnel with a free tier, Plus at $5 a month and Pro at $15 a month.

### What does Pro add?

Hosted Anki, a copy of Anki running on the vendor's cloud so your AI can reach it with your laptop off.

### Should I use this repo or the add-on?

The README recommends the add-on for most setups, and this repo for stdio transport or the Claude Desktop MCPB bundle.

### How many tools are there?

The README lists 53: 42 essential and 11 GUI tools.

### Do I need an account?

Not for local use. You sign in only to connect the tunnel.

### Is Anki MCP Server free?

Anki MCP Server has a free plan, with paid plans for more usage or features. Paid plans start at $5 a month.

### How do I add Anki MCP Server to Claude Code?

Run this command in your terminal: claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-server

### What are the best alternatives to Anki MCP Server?

The closest alternatives to Anki MCP Server are Born Then, Wuai, FreeDict, A punt · Aranese (Val d'Aran Occitan) and Extraudinary.

## Alternatives

- [Born Then](https://ai-powered.com/mcp/born-then): Born Then is a free MCP server for education and exams.
- [Wuai](https://ai-powered.com/mcp/wuai): Wuai is a freemium MCP server for design and media.
- [FreeDict](https://ai-powered.com/mcp/freedict): FreeDict is a freemium MCP server for language learning.
- [A punt · Aranese (Val d'Aran Occitan)](https://ai-powered.com/mcp/a-punt-aranese-val-d-aran-occitan): A punt · Aranese (Val d'Aran Occitan) is a free MCP server for language learning.
- [Extraudinary](https://ai-powered.com/mcp/extraudinary): Extraudinary is a freemium MCP server for education and exams.
- [Scormbusters](https://ai-powered.com/mcp/scormbusters): Scormbusters is an MCP server for education and exams.
- [Kora](https://ai-powered.com/mcp/kora): Kora is a freemium MCP server for exam preparation.
- [Dengdeng Chinese Dictionary](https://ai-powered.com/mcp/dengdeng-chinese-dictionary): Dengdeng Chinese Dictionary is a free MCP server for language learning.

---
Source: https://ai-powered.com/mcp/anki-mcp-server
