MCP.so
ログイン

Yanki MCP Server ( Yet Another Anki MCP Server )

@htlin222

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

htlin222

Yanki MCP Server について

An MCP server implementation that connects to a locally running Anki, providing card review and creation. This is a fork of [scorzeth/anki-mcp-server](

Yanki MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Yanki MCP Server のツール

4

Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)

Creates a new card in a date-structured deck (format: `DECK::YYYY::MM::DD`)

Returns n number of cards currently due for review

Returns n number of cards from new

概要

What is Yanki MCP Server?

Yanki MCP Server is a Model Context Protocol server that connects to a local Anki desktop app via the Anki-Connect add-on. It enables AI assistants to review and create flashcards, automatically organizing new cards into date‑structured decks. It is a fork of scorzeth/anki-mcp-server with added date‑based organization.

How to use Yanki MCP Server?

Run without installation via npx yanki-mcp-server or install globally with npm install -g yanki-mcp-server and run yanki-server. To use with Claude Desktop, add a configuration entry pointing to the server and optionally set the DECK environment variable to change the base deck name (default: "00_Inbox"). All communication happens over MCP stdio.

Key features of Yanki MCP Server?

  • Connects to a locally running Anki via Anki-Connect
  • Provides resources for searching current deck, due cards, and new cards
  • Tools to add cards with date‑structured deck names (DECK::YYYY::MM::DD)
  • Tools to update cards with ease scores (1 = Again, 4 = Easy)
  • Tools to retrieve due or new cards by count
  • Zero configuration when using default deck; fully customizable via DECK env var

Use cases of Yanki MCP Server?

  • Automatically organize new flashcards by creation date instead of manual categories
  • Review due cards from the current day without leaving your AI assistant
  • Add quick notes or facts that get timestamped and placed into a daily deck
  • Study newly created cards from a specific date range to reinforce recent learning
  • Integrate spaced repetition review into an MCP‑compatible client workflow

よくある質問

1

What does Yanki MCP Server require to run?

It requires the Anki desktop app and the Anki-Connect add‑on to be installed and running locally.

2

How are new cards organized?

New cards are added to a deck with the format `DECK::YYYY::MM::DD`, where `DECK` is the base name (default "00_Inbox") and the rest is the current date.

3

Can I change the base deck name?

Yes, set the `DECK` environment variable in your MCP server configuration to any custom name.

4

How do I debug this server?

Use the included MCP Inspector by running `npm run inspector` after cloning the repository.

5

What transport does this server use?

It communicates over MCP stdio (standard input/output). No authentication is required.

コメント

「その他」の他のコンテンツ