Skip to content
MCP server

Anki MCP Server

MCP server enabling LLMs to interact with Anki flashcard software through AnkiConnect

Runs locallyStatus and history
Install
Runs
Locally
Version
0.1.8
Listing updated
4 days ago

About Anki MCP Server

Anki MCP Server is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add anki-mcp-server -- npx -y anki-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "anki-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "anki-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "anki-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "anki-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Anki MCP Server FAQ

How do I add Anki MCP Server to Claude Code?

Run this command in your terminal: claude mcp add anki-mcp-server -- npx -y anki-mcp-server