NA

nietus/anki-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 13 forks 品質 84 トレンド 8MIT

nietus/anki-mcp は https://github.com/nietus/anki-mcp. からインポートされた MCP サーバーの候補です

概要

nietus/anki-mcp は https://github.com/nietus/anki-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Claude(または任意のMCPクライアント)に話して、あなたのAnkiコレクションを勉強し、管理します。 AnkiConnect の 35 ツール: チャットでクイズを取得, 理由とあなたの保持が行く方法を参照してください。, 忘れ続けるカードを見つけます。, バルクでメモを作成し、クリーンアップします。, あなたがそれらをバックアップしたいまで、カードのグループ全体を一時停止.

質問できるもの

  • 「今日勉強しなければならないのは?」 → 今週のデッキ、streak、レビューごとの期限
  • 「スペインのデッキから10枚のカードを抜く」→Ankiに次なる間隔で1つの質問をしました。
  • 「カードが間違っているの?」 それらを修正するのに役立ちます。」 → リーチ、レビュー履歴、および承認書を書き換えます。
  • “HSK5にタグ付けされたすべてのものを調べて、それを簡単に戻すことができます。” → 正確にこれらのカードを復元する一時停止、スケジュールの不正確な。
  • 「この記事を私の生物学のデッキでクローズカードに入れる」→重複チェックした一括追加。
  • 「持っていないデッキですべてのカードにオーディオを追加」 → 一括でAzure TTS。
  • 「grammar にタグ付けされたカードを新しいサブデッキに移動」/「todo を review]] に名前を変更します」/ 「次の2週間にわたってバックログをコピーします。」.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

anki-mcp

Study and manage your Anki collection by talking to Claude (or any MCP client). 35 tools over AnkiConnect: get quizzed in chat, see what is due and how your retention is going, find the cards you keep forgetting, create and clean up notes in bulk, and pause whole groups of cards until you want them back.

What you can ask

  • “What do I have to study today?” → due counts per deck, streak, reviews this week.
  • “Quiz me on 10 due cards from my Spanish deck.” → one question at a time, graded, and recorded in Anki with the next interval.
  • “Which cards do I keep getting wrong? Help me fix them.” → leeches, their review history, and rewrites you approve.
  • “Suspend everything tagged HSK5 until my exam, and make it easy to bring back.” → named pause that restores exactly those cards, scheduling intact.
  • “Turn this article into cloze cards in my Biology deck.” → duplicate-checked bulk add.
  • “Add audio to every card in this deck that doesn’t have it.” → Azure TTS in bulk.
  • “Move the cards tagged grammar to a new subdeck” / “rename the tag todo to review” / “spread my backlog over the next two weeks”.

Bulk changes can be previewed with a dry run, deleting always needs a confirmation step, and when Anki is closed the assistant is told to ask you to open it instead of failing silently.

Install

You need Node.js 18+, Anki running, and the AnkiConnect add-on (code 2055492159).

Claude Desktop

Download anki-mcp.mcpb from the latest release and drag it into Settings → Extensions. That’s it.

Claude Code

claude mcp add anki --scope user -- npx -y github:nietus/anki-mcp

Cursor and other MCP clients

Add this to the client’s MCP configuration:

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["-y", "github:nietus/anki-mcp"]
    }
  }
}

On Windows, if the client cannot start npx directly, use "command": "cmd" with "args": ["/c", "npx", "-y", "github:nietus/anki-mcp"].

From source

git clone https://github.com/nietus/anki-mcp
cd anki-mcp
npm install
npm run build

Then point your client at node /path/to/anki-mcp/build/client.js. To build the Claude Desktop bundle yourself, run npm run pack:mcpb (output in dist/anki-mcp.mcpb).

Configuration

All environment variables are optional. Put them in a .env file in the project folder or pass them through your MCP client.

Variable Default Purpose
GitHub で README 全文を見る

インストール

npx -y github:nietus/anki-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "anki": { "command": "npx", "args": ["-y", "github:nietus/anki-mcp"] } } }