# Anki MCP Server (MCP server)

> Anki MCP Server is an MCP server that adds productivity tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect. It has 507 GitHub stars, is released under the MIT license and runs locally with npx -y @ankimcp/anki-mcp-server.

Seamlessly integrate Anki with AI assistants through the Model Context Protocol Beta - This project is in active development. APIs and features may change.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ankimcp/anki-mcp-server |
| GitHub stars | 507 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: @ankimcp/anki-mcp-server |
| Remote URL | none |
| Needs API key | no |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Productivity |
| Latest release | v0.27.0 (Oct 4, 2026) |
| Last commit | Oct 4, 2026 |
| MCP registry name | ai.ankimcp/anki-mcp-server |

## Install

### Claude Desktop (claude_desktop_config.json)

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

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

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

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

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

Project file; use ~/.cursor/mcp.json to enable it in every project.

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

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

Config formats checked against the official docs on 2026-10-07.

## Tools

- `sync`: Sync with AnkiWeb to pull latest data and push changes
- `get_due_cards`: Get cards that are due for review, optionally filtered by deck (answers omitted unless includeanswer: true, default…
- `get_cards`: Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck (answers omitted unless…
- `present_card`: Show a card for review with its question/front side
- `rate_card`: Rate card performance (Again, Hard, Good, Easy) and schedule the next review
- `suspend`: Suspend cards so they are skipped during review until unsuspended
- `unsuspend`: Unsuspend cards so they return to normal review
- `collection_stats`: Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts
- `review_stats`: Review history analysis (temporal patterns, retention metrics, study streaks)

## Similar MCP servers

- [Kaneo](https://appsgit.com/mcp-servers/kaneo): Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients. (9,368 stars, MIT, official, needs API key)
- [PraisonAI](https://appsgit.com/mcp-servers/praisonai): AI Agents Framework with Self Reflection and MCP support. (9,192 stars, MIT)
- [Windows MCP](https://appsgit.com/mcp-servers/windows-mcp): An MCP Server for computer-use in Windows OS. (7,725 stars, MIT)
- [Excel MCP Server](https://appsgit.com/mcp-servers/excel-mcp-server): Create, read and edit Excel workbooks without Microsoft Excel. (4,212 stars, MIT)
- [Basic Memory](https://appsgit.com/mcp-servers/basic-memory): Local-first knowledge management with bi-directional LLM sync via Markdown files. (4,108 stars, AGPL-3.0)
- [RevoGrid DataGrid MCP](https://appsgit.com/mcp-servers/revogrid-datagrid-mcp): Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval. (3,448 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/anki-mcp-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
