Anki Study Assistant

v0.15.1Knowledge & Memorystable

Exposes Anki flashcard collections to AI assistants via MCP, enabling AI-powered study sessions, card creation, deck management, and review workflows. Supports comprehensive collection operations including search, media management, and note type cust

aianki-addonanki-mcpmcp
Share:
42
Stars
0
Downloads
0
Weekly
0/5

What is Anki Study Assistant?

Anki Study Assistant is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to exposes anki flashcard collections to ai assistants via mcp, enabling ai-powered study sessions, card creation, deck management, and review workflows. supports comprehensive collection operations incl...

Exposes Anki flashcard collections to AI assistants via MCP, enabling AI-powered study sessions, card creation, deck management, and review workflows. Supports comprehensive collection operations including search, media management, and note type cust

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Exposes Anki flashcard collections to AI assistants via MCP,

Use Cases

Flashcard collection management
AI-powered study automation
Note type customization
ankimcp

Maintainer

LicenseNOASSERTION
Languagepython
Versionv0.15.1
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ankimcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Anki Study Assistant

AnkiMCP Server is an Anki addon that embeds an MCP server directly inside the Anki desktop application, letting AI assistants like Claude interact with your entire flashcard collection in real time. It exposes tools for creating, updating, deleting, and searching notes and decks, managing card scheduling, handling media files, and even controlling the Anki GUI — all over a local HTTP server on port 3141. Students and language learners use it to automate card creation from study material, bulk-update decks, and run AI-powered review sessions without leaving their AI client.

Prerequisites

  • Anki 25.07 or later (requires Python 3.13 bundled with Anki)
  • Node.js 18 or later (for Claude Desktop integration via mcp-remote)
  • An MCP client such as Claude Desktop or Claude Code
  • Optional: an ankimcp.ai account for remote tunnel access outside your local network
1

Install the AnkiMCP addon

Open Anki, go to Tools → Add-ons → Get Add-ons, enter the addon code 124672614, then restart Anki. Alternatively, download the .ankiaddon file from GitHub Releases and double-click it.

Addon code: 124672614
2

Verify the local MCP server is running

After restarting Anki with the addon installed, it starts an HTTP MCP server on port 3141 automatically. You can verify it is reachable with a simple curl.

curl http://127.0.0.1:3141
3

Configure Claude Desktop to connect

Add the server to your claude_desktop_config.json using mcp-remote as a bridge from stdio to the local HTTP server.

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["mcp-remote", "http://127.0.0.1:3141"]
    }
  }
}
4

Connect via Claude Code (alternative)

If you use Claude Code instead of Claude Desktop, register the server with the CLI.

claude mcp add anki --transport http http://127.0.0.1:3141/
5

Optional: enable remote tunnel

To access your Anki collection from anywhere (e.g. from a phone or remote Claude instance), log in with your ankimcp.ai account inside Anki's AnkiMCP settings. The addon will authenticate via OAuth 2.0 device flow and store credentials locally.

Anki Study Assistant Examples

Client configuration

Claude Desktop config connecting to the locally running AnkiMCP server via mcp-remote.

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["mcp-remote", "http://127.0.0.1:3141"]
    }
  }
}

Prompts to try

Sample prompts that use AnkiMCP's deck management, card creation, and scheduling tools.

- "Show me all my decks and how many cards are due in each one"
- "Create 10 flashcards from this vocabulary list and add them to my Spanish deck"
- "Search my collection for cards tagged 'biology' that I've failed more than 3 times"
- "Reschedule all suspended cards in my Chemistry deck so they come up for review tomorrow"

Troubleshooting Anki Study Assistant

Claude cannot connect to the AnkiMCP server

Make sure Anki is open and running — the addon's MCP server only runs while Anki is active. Check that port 3141 is not blocked by a firewall with: curl http://127.0.0.1:3141

mcp-remote command not found when launching Claude Desktop

Install mcp-remote globally first: npm install -g mcp-remote, or use npx mcp-remote in your args array which will auto-install it on first run.

Batch add_notes operation silently drops some cards

add_notes accepts up to 100 notes per call. Check that your note fields match the note type's required fields exactly, and that the deck name already exists in your collection.

Frequently Asked Questions about Anki Study Assistant

What is Anki Study Assistant?

Anki Study Assistant is a Model Context Protocol (MCP) server that exposes anki flashcard collections to ai assistants via mcp, enabling ai-powered study sessions, card creation, deck management, and review workflows. supports comprehensive collection operations including search, media management, and note type cust It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Anki Study Assistant?

Follow the installation instructions on the Anki Study Assistant GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Anki Study Assistant?

Anki Study Assistant works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Anki Study Assistant free to use?

Yes, Anki Study Assistant is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ankimcp-server": { "command": "npx", "args": ["-y", "ankimcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Anki Study Assistant?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides