Anki Flashcard AI

v0.15.1Knowledge & Memorystable

An Anki addon that implements an MCP server, enabling AI assistants to interact with Anki, the spaced repetition flashcard application.

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

What is Anki Flashcard AI?

Anki Flashcard AI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to anki addon that implements an mcp server, enabling ai assistants to interact with anki, the spaced repetition flashcard application.

An Anki addon that implements an MCP server, enabling AI assistants to interact with Anki, the spaced repetition flashcard application.

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

Features

  • An Anki addon that implements an MCP server, enabling AI ass

Use Cases

Spaced repetition learning
AI-powered study sessions
ankimcp

Maintainer

LicenseNOASSERTION
Languagepython
Versionv0.15.1
UpdatedMay 13, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx anki-mcp-server-addon

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 Flashcard AI

anki-mcp-server-addon is an Anki desktop addon that implements a full MCP server inside the Anki application, allowing AI assistants to interact with your spaced-repetition flashcard collection through a standardized protocol. It starts a local HTTP server on port 3141 that exposes tools for managing decks and notes, scheduling cards, handling media, controlling the Anki GUI, and configuring the FSRS scheduler. Students, language learners, and medical professionals use it to automate bulk card creation from study material, intelligently reschedule reviews, and run AI-guided study sessions from within Claude or other MCP clients.

Prerequisites

  • Anki 25.07 or later with Python 3.13 (bundled with recent Anki versions)
  • Node.js 18 or later (for mcp-remote bridge with Claude Desktop)
  • An MCP client such as Claude Desktop or Claude Code
  • Anki must be running on your computer for the MCP server to be available
  • Optional: an ankimcp.ai account for HTTPS remote tunnel access
1

Install the addon from AnkiWeb

Open Anki, navigate to Tools → Add-ons → Get Add-ons, and enter the addon code 124672614. Restart Anki to activate the addon.

AnkiWeb addon code: 124672614
2

Verify the MCP server started

After restarting Anki, the addon automatically starts the MCP server on port 3141. Confirm it is running.

curl http://127.0.0.1:3141
3

Configure Claude Desktop with mcp-remote

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

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

Add via Claude Code CLI (alternative)

Register the server directly from the Claude Code command line.

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

Optional: configure remote tunnel

To access your Anki collection remotely, sign in with an ankimcp.ai account through the addon settings. The OAuth device flow will store credentials in user_files/credentials.json.

Anki Flashcard AI Examples

Client configuration

Claude Desktop config using mcp-remote to connect to the local AnkiMCP HTTP server.

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

Prompts to try

Sample prompts for card creation, deck management, search, and scheduling.

- "Create flashcards for these 20 Spanish vocabulary words and add them to my Spanish::Vocabulary deck"
- "Search my Anki collection for all cards tagged 'anatomy' and show me the ones I've failed most"
- "How many cards are due in each of my decks today?"
- "Suspend all cards in my Old Chemistry deck that haven't been reviewed in over 90 days"
- "Update the FSRS parameters for my Medical deck to optimize my retention rate"

Troubleshooting Anki Flashcard AI

Connection refused on port 3141

The MCP server only runs while Anki is open. Open Anki before trying to connect. If Anki is open and the port is still closed, go to Tools → Add-ons and confirm the AnkiMCP addon is enabled.

mcp-remote is not found when Claude Desktop starts

Install mcp-remote globally with: npm install -g mcp-remote. Alternatively, the npx args form will auto-download it on first use, which may cause a slow initial connection.

add_notes fails with field validation errors

Each note type in Anki requires specific fields. Use a tool call to list available note types and their required fields first, then structure your note data to match exactly.

Frequently Asked Questions about Anki Flashcard AI

What is Anki Flashcard AI?

Anki Flashcard AI is a Model Context Protocol (MCP) server that anki addon that implements an mcp server, enabling ai assistants to interact with anki, the spaced repetition flashcard application. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Anki Flashcard AI?

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

Which AI clients work with Anki Flashcard AI?

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

Is Anki Flashcard AI free to use?

Yes, Anki Flashcard AI 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": { "anki-mcp-server-addon": { "command": "npx", "args": ["-y", "anki-mcp-server-addon"] } } }

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

Read the full setup guide →

Ready to use Anki Flashcard AI?

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