NA

nailuogg/anki-mcp-server

Developer tools

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

252 stars 38 forks 品質 77 トレンド 38

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

概要

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

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)サーバーで、LLMがAnkiフラッシュカードソフトウェアとAnkiConnectを通じてやり取りできるようにします。

特徴

道具

  • anki_check_connection - AnkiConnectが到達可能かどうか確認してください
  • anki_list_decks - 利用可能なすべてのAnkiデッキをリストアップ(オプションでデッキID付き)
  • anki_create_deck - 新しいAnkiデッキを作成する
  • anki_list_tags - コレクションで現在使用されているすべてのタグをリストアップ
  • anki_add_note_tags - 1つ以上のノートにタグを追加する
  • anki_remove_note_tags - 1つ以上のノートからタグを除去する
  • anki_create_note - 新しいノートを作成
  • anki_batch_create_notes - 複数のノートを同時に作成
  • anki_search_notes - Ankiクエリ構文を使ったノート検索
  • anki_get_note_info - メモの詳細情報を入手
  • anki_update_note - 既存のノートのフィールドやタグを更新する
  • anki_delete_note - 1つまたは複数のノートを削除してください
  • anki_list_note_types - 利用可能なすべてのノートタイプをリストアップします
  • anki_create_note_type - 新しいノートタイプを作成する
  • anki_get_note_type_info - ノートタイプの詳細な構造を取得
  • anki_sync - AnkiWeb同期をトリガー;完全な同期はローカルおよびリモートコレクションの統合や上書きを行う可能性があるため、{"confirm": true}が必要です。

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

README

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

Anki MCP Server

A Model Context Protocol (MCP) server that enables LLMs to interact with Anki flashcard software through AnkiConnect.

Features

Tools

  • anki_check_connection - Check whether AnkiConnect is reachable
  • anki_list_decks - List all available Anki decks, optionally with deck IDs
  • anki_create_deck - Create a new Anki deck
  • anki_list_tags - List all tags currently used in the collection
  • anki_add_note_tags - Add tags to one or more notes
  • anki_remove_note_tags - Remove tags from one or more notes
  • anki_create_note - Create a new note
  • anki_batch_create_notes - Create multiple notes at once
  • anki_search_notes - Search for notes using Anki query syntax
  • anki_get_note_info - Get detailed information about a note
  • anki_update_note - Update an existing note’s fields and/or tags
  • anki_delete_note - Delete one or multiple notes
  • anki_list_note_types - List all available note types
  • anki_create_note_type - Create a new note type
  • anki_get_note_type_info - Get detailed structure of a note type
  • anki_sync - Trigger AnkiWeb sync; requires {"confirm": true} because a full sync can merge or overwrite local and remote collections. Success means Anki accepted the request, not that AnkiWeb received the data; a blocking dialog in Anki can silently keep the sync queued

Legacy unprefixed tool names such as create_note and list_decks remain callable for existing clients, but new agent integrations should use the anki_* names.

Resources

  • anki://decks/all - Complete list of available decks with deck IDs
  • anki://tags/all - Complete list of tags
  • anki://note-types/all - List of all available note types
  • anki://note-types/all-with-schemas - Detailed structure information for all note types
  • anki://note-types/{modelName} - Detailed structure information for a specific note type

Prerequisites

  1. Anki installed on your system
  2. AnkiConnect add-on installed in Anki
  3. Node.js 20.11 or newer

Configuration

Install via Desktop Extension (.mcpb)

This repository supports Anthropic Desktop Extensions (MCPB). The easiest way to use this server in Claude Desktop is by installing the packaged .mcpb bundle.

  1. Generate the .mcpb file locally using the provided script:
npm run mcpb
  1. Open Claude Desktop Settings → Extensions and drag the generated .mcpb file in, then click Install.

This validates manifest.json and outputs a .mcpb archive you can install as above. Learn more about Desktop Extensions in Anthropic’s announcement: Desktop Extensions: One-click MCP server installation for Claude Desktop.

Usage with Claude Desktop

Add the server to your claude_desktop_config.json:

{
  "mcpServers": {
    "anki": {
      "command": "npx",
GitHub で README 全文を見る

インストール

npx --yes anki-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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