MCP Catalogs
Homeanki-mcp-server screenshot

anki-mcp-server

by nailuoGG·239·Score 51

An MCP server for Anki flashcards via AnkiConnect, allowing LLMs to create, manage, and sync cards.

productivityai-llmdeveloper-tools
40
Forks
6
Open issues
this month
Last commit
2d ago
Indexed

Overview

The Anki MCP server provides comprehensive tools and resources for interacting with Anki flashcards through the Model Context Protocol. It supports both basic and cloze note types, batch operations, deck management, and syncing with AnkiWeb. The server integrates with various LLM clients including Claude Desktop, Cline, and Claude Code, making it versatile for different AI workflows. The codebase is well-maintained with TypeScript implementation, comprehensive testing, and documentation for both developers and end-users.

Try asking AI

After installing, here are 3 things you can ask your AI assistant:

you:Automatically generate flashcards from study materials using LLM
you:Batch import cards from external sources into Anki
you:Sync card creation between different devices through AnkiWeb

When to choose this

Choose this server if you want to integrate Anki flashcard management into AI workflows, especially for automating note creation and deck management.

When NOT to choose this

Don't choose this if you're not using Anki or need alternative flashcard systems, as this server is specifically designed to interface with Anki via AnkiConnect.

Tools this server exposes

12 tools extracted from the README
  • list_decks

    List all available Anki decks

  • create_deck

    Create a new Anki deck

  • create_note

    Create a new note (Basic or Cloze)

  • batch_create_notes

    Create multiple notes at once

  • search_notes

    Search for notes using Anki query syntax

  • get_note_info

    Get detailed information about a note

  • update_note

    Update an existing note

  • delete_note

    Delete a note

  • list_note_types

    List all available note types

  • create_note_type

    Create a new note type

  • get_note_type_info

    Get detailed structure of a note type

  • sync

    Trigger AnkiWeb sync

Comparable tools

mnemosyne-mcpsupermemo-apiremote-memoryflashcard-mcp

Installation

Installation

Prerequisites

  • Anki installed
  • AnkiConnect add-on installed in Anki

Claude Desktop Configuration

Add to your claude_desktop_config.json:

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

Or with custom AnkiConnect port:

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["--yes", "anki-mcp-server", "--port", "8080"]
    }
  }
}

Via Desktop Extension (.mcpb)

  1. Generate the .mcpb file: npm run pack
  2. Open Claude Desktop Settings → Extensions and drag the .mcpb file to install

Cline Configuration

Add to your VSCode settings cline_mcp_settings.json:

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

Compare anki-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.