productivitydeveloper-tools

Anki MCP Server

by zlatanpham

Anki MCP Server: use AI to manage Anki decks, create basic & cloze cards, add cards and handle review queues via natural

Enables AI assistants to manage Anki flashcard decks and cards through natural language, supporting deck creation, card additions (basic and cloze types), and review queue management.

github stars

1

Works with existing Anki installationSupports batch operations for efficiencyOne-click installation via .mcpb bundle

best for

  • / Students creating study materials from course content
  • / Language learners building vocabulary decks
  • / Researchers organizing knowledge into spaced repetition systems
  • / Educators preparing flashcard sets for students

capabilities

  • / Create and manage Anki flashcard decks
  • / Add notes with Basic or Cloze deletion types
  • / Search existing flashcards using Anki query syntax
  • / Batch create multiple flashcards at once
  • / Update and delete existing notes
  • / Create custom note types with specific fields

what it does

Connects LLMs to Anki flashcard software, allowing you to create, search, and manage flashcards and decks through AnkiConnect.

about

Anki MCP Server is a community-built MCP server published by zlatanpham that provides AI assistants with tools and capabilities via the Model Context Protocol. Anki MCP Server: use AI to manage Anki decks, create basic & cloze cards, add cards and handle review queues via natural It is categorized under productivity, developer tools.

how to install

You can install Anki MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Anki MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Anki MCP Server

An MCP (Model Context Protocol) server that provides tools for interacting with the Anki API. This server allows AI assistants to manage Anki decks and cards through simple tool calls.

Features

  • List Anki decks with pagination
  • Create new decks
  • Add cards (basic and cloze types)
  • Batch add multiple cards
  • Get review queue with filtering options
  • Support for dynamically loading additional tools from an external API

Available Tools

  1. listDecks - List all Anki decks with optional pagination
  2. createDeck - Create a new Anki deck
  3. addCardsBatch - Add multiple cards to a deck in batch
  4. addBasicCard - Add a single basic card to a deck
  5. addClozeCard - Add a cloze deletion card to a deck
  6. getReviewQueue - Get cards due for review with filtering options

Installation

npm install -g @x-mcp/anki
# or
pnpm add -g @x-mcp/anki

Development

# Install dependencies
pnpm install

# Build the project
pnpm run build

# Run in development mode (auto-restart on changes)
pnpm run dev

# Run the server
pnpm start

# Lint and format code
pnpm run lint
pnpm run format

Configuration

MCP Client Configuration

Add this to your MCP client settings:

{
  "mcpServers": {
    "anki-mcp": {
      "command": "npx",
      "args": ["-y", "@x-mcp/anki@latest"],
      "env": {
        "ANKI_BASE_URL": "http://localhost:3000", // Anki API base URL
        "ANKI_API_KEY": "ank_YOUR_API_KEY_HERE" // Your Anki API key
      }
    }
  }
}

Environment Variables

Create a .env file:

# Required: Anki API configuration
ANKI_BASE_URL=http://localhost:3000/api/v1
ANKI_API_KEY=ank_YOUR_API_KEY_HERE

# Optional: External tools API configuration
API_URL=https://your-api-endpoint.com/tools
API_KEY=your-api-key

Usage Example

Once configured, the AI assistant can use commands like:

  • "List all my Anki decks"
  • "Create a new deck called 'Spanish Vocabulary'"
  • "Add a card with front 'Hello' and back 'Hola' to my Spanish deck"
  • "Show me cards due for review"

Each tool makes direct HTTP requests to the Anki API and returns the response data.

API Requirements

The tools interact with an Anki API that should have the following endpoints:

  • GET /api/v1/decks - List decks
  • POST /api/v1/decks - Create deck
  • POST /api/v1/decks/{deckId}/cards/batch - Add cards
  • GET /api/v1/study/queue - Get review queue

License

MIT

FAQ

What is the Anki MCP Server MCP server?
Anki MCP Server is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Anki MCP Server?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Anki MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Anki MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Anki MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Anki MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Anki MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Anki MCP Server surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Anki MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Anki MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Anki MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Anki MCP Server is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.