Skip to main content

An Anki MCP server

Project description

Anki MCP Server

A Model Context Protocol (MCP) server for integrating AI assistants with Anki, the popular spaced repetition flashcard software.

Features

This MCP server enables AI assistants to interact with Anki through the following tools:

Tools

  • get-collection-overview: Returns an overview of the Anki collection like available decks, available models and their fields

  • add-or-update-notes: Adds new notes or updates existing ones. Allows batch adding/updating multiple notes at once.

  • get-cards-reviewed: Get the number of cards reviewed by day

  • find-notes: Allows querying notes using the Anki searching syntax

Requirements

  • Anki must be installed and running
  • The AnkiConnect add-on must be installed in Anki and running
  • This MCP server uses uv. To install uv, follow the official instructions.

Configuration

Claude Desktop

  1. Open your Claude Desktop config file:
  • MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  1. Add anki-mcp to the mcpServers section:
"mcpServers": {
  "anki-mcp": {
    "command": "uvx",
    "args": [
      "anki-mcp"
    ]
  }
}
  1. Restart Claude Desktop.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anki_mcp-0.2.0a1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anki_mcp-0.2.0a1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file anki_mcp-0.2.0a1.tar.gz.

File metadata

  • Download URL: anki_mcp-0.2.0a1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for anki_mcp-0.2.0a1.tar.gz
Algorithm Hash digest
SHA256 4f471659fe25f49b1a7b4ec1fca48ce346e52dd6211a875f71ccd7951c485152
MD5 3abb49a6257a0f340eb7821d45e61784
BLAKE2b-256 079a314bce081e38c13b34cbc05c1ea51b731ea93cef21a8e22013b5d79f3a27

See more details on using hashes here.

File details

Details for the file anki_mcp-0.2.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for anki_mcp-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 544bc7f37f27caa1b65339b8496a23190d86190ee95e82c9eee874a6d3d0ddad
MD5 47478f87f778b94ed6bc7fdf78907b23
BLAKE2b-256 3c73e4c6748bb1be1b5a5855bae1b130bcb090a0bf84bd18648f9709ff08c4d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page