Stefanwille MCP Server

Anki MCP server for flashcard management

Local serverstdioGo

What is the Stefanwille MCP Server?

Anki MCP server for flashcard management

What you get

Edit your Claude Desktop config (claude_desktop_config.json), and add:

What the assistant can call

Once Stefanwille is connected, these are the calls the assistant has available:

  • get_decks — Get all deck names from Anki
  • create_deck — Create a new deck
  • delete_deck — Delete a deck and all its cards (including sub-decks)
  • list_cards — List cards in a deck with front/back content
  • create_cards — Create one or more basic cards in a deck
  • update_card — Update an existing card's content
  • rename_deck — Rename a deck
  • Prerequisites — The Prerequisites tool exposed by this server

Setting it up

The server ships on npm as pnpm, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

  • Anki with AnkiConnect add-on installed - Node.js 24+ (Download) - Anki running, with AnkiConnect on http://127.0.0.1:8765 (default)

Choosing this one

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.

Recorded tools

  • get_decks — Get all deck names from Anki
  • create_deck — Create a new deck
  • delete_deck — Delete a deck and all its cards (including sub-decks)
  • list_cards — List cards in a deck with front/back content
  • create_cards — Create one or more basic cards in a deck
  • update_card — Update an existing card's content
  • rename_deck — Rename a deck

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_decksGet all deck names from Anki
create_deckCreate a new deck
delete_deckDelete a deck and all its cards (including sub-decks)
list_cardsList cards in a deck with front/back content
create_cardsCreate one or more basic cards in a deck
update_cardUpdate an existing card's content
rename_deckRename a deck

How to install the Stefanwille MCP Server

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["-y", "stefanwille-anki-mcp-server@latest"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Anki with AnkiConnect add-on installed - Node.js 24+ (Download) - Anki running, with AnkiConnect on http://127.0.0.1:8765 (default)

Example prompts to try

  • “Use Stefanwille to get decks.”
  • “Use Stefanwille to create deck.”
  • “Use Stefanwille to delete deck.”

Frequently asked questions

Anki MCP server for flashcard management Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.