# Anki MCP Server

> Manage Anki flashcards through AnkiConnect.

- **URL**: https://followmcp.com/en/servers/nailuogg-anki-mcp-server
- **Category**: Other
- **Origin**: Community
- **Stars**: 257
- **FMRS Score**: 51/100 (Grade D)
- **Source**: https://github.com/nailuoGG/anki-mcp-server
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 20.11+
- **Auth**: No credential needed

## Overview
Anki MCP Server lets large language models interact with Anki through AnkiConnect. Its tools query and manage decks, tags, notes, and note types, and can trigger AnkiWeb sync. Anki and the AnkiConnect add-on must be installed and running.

## Best for
- Users with Anki and AnkiConnect who want to manage a collection through a stdio MCP client.
- Workflows that need Anki query searches or batch note creation.

## Not for
- Users without Anki and the AnkiConnect add-on installed and running.
- Workflows that require AnkiWeb sync without explicit confirmation.

## Required permissions
- The server needs to connect to AnkiConnect and can read or modify decks, notes, tags, and note types through its tools.
- Triggering AnkiWeb sync requires explicit confirmation.

## Risks
- Deleting notes or changing note content and tags modifies the Anki collection.
- A full sync can merge or overwrite local and remote collections; an accepted request does not guarantee that data synced to AnkiWeb.

## Client config (JSON)
```json
{"mcpServers":{"anki":{"command":"npx","args":["--yes","anki-mcp-server"]}}}
```

## Tools (16)
- `anki_check_connection`: Check whether AnkiConnect is reachable.
- `anki_list_decks`: List available decks, optionally including deck IDs.
- `anki_create_deck`: Create a deck.
- `anki_list_tags`: List tags currently used in the collection.
- `anki_add_note_tags`: Add tags to one or more notes.
- `anki_remove_note_tags`: Remove tags from one or more notes.
- `anki_create_note`: Create a note.
- `anki_batch_create_notes`: Create multiple notes at once.
- `anki_search_notes`: Search notes using Anki query syntax.
- `anki_get_note_info`: Get detailed information about a note.
- `anki_update_note`: Update fields and/or tags on an existing note.
- `anki_delete_note`: Delete one or more notes.
- `anki_list_note_types`: List available note types.
- `anki_create_note_type`: Create a note type.
- `anki_get_note_type_info`: Get the detailed structure of a note type.
- `anki_sync`: Trigger AnkiWeb sync; requires confirmation because a full sync can merge or overwrite local and remote collections. Success means Anki accepted the request, not that data reached AnkiWeb; a blocking dialog can leave sync queued.
