# Anki MCP Server

> Anki MCP Server is an MCP server. MCP server enabling LLMs to interact with Anki flashcard software through AnkiConnect. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.nailuoGG/anki-mcp-server
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "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

---
Source: https://ai-powered.com/mcp/anki-mcp-server-2
