
nailuogg/anki-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
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 reachableanki_list_decks- List all available Anki decks, optionally with deck IDsanki_create_deck- Create a new Anki deckanki_list_tags- List all tags currently used in the collectionanki_add_note_tags- Add tags to one or more notesanki_remove_note_tags- Remove tags from one or more notesanki_create_note- Create a new noteanki_batch_create_notes- Create multiple notes at onceanki_search_notes- Search for notes using Anki query syntaxanki_get_note_info- Get detailed information about a noteanki_update_note- Update an existing note’s fields and/or tagsanki_delete_note- Delete one or multiple notesanki_list_note_types- List all available note typesanki_create_note_type- Create a new note typeanki_get_note_type_info- Get detailed structure of a note typeanki_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 IDsanki://tags/all- Complete list of tagsanki://note-types/all- List of all available note typesanki://note-types/all-with-schemas- Detailed structure information for all note typesanki://note-types/{modelName}- Detailed structure information for a specific note type
Prerequisites
- Anki installed on your system
- AnkiConnect add-on installed in Anki
- 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.
- Generate the
.mcpbfile locally using the provided script:
npm run mcpb
- Open Claude Desktop Settings → Extensions and drag the generated
.mcpbfile 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",
インストール
npx --yes anki-mcp-server設定
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["--yes", "anki-mcp-server"]
}
}
}