Back to MCP directory
publicPublicdnsLocal runtime

anki-mcp

一个简单的记事本MCP服务器,可以存储笔记并生成已存储内容的摘要。

article

README

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.
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client