Skip to main content
Glama

Clanki

by jasperket

Clanki - Claude の Anki 統合

Claude のような AI アシスタントが Model Context Protocol (MCP) を介して Anki フラッシュカード デッキと対話できるようにする MCP サーバー。

特徴

  • Ankiデッキの作成と管理
  • 前面/背面コンテンツを含む基本的なフラッシュカードを作成する
  • 穴埋め式カードを作成する
  • 既存のカードを更新し、穴埋め問題を削除します
  • タグの追加と管理
  • デッキの内容とカード情報を表示する
  • AnkiConnectとの完全な統合

前提条件

  • Ankiをインストールして実行中
  • AnkiにAnkiConnectプラグインをインストール
  • Node.js 16以上

インストール

  1. このリポジトリをクローンします:
git clone https://github.com/yourusername/clanki.git cd clanki
  1. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
npm run build

設定

  1. Ankiが実行中であり、AnkiConnectプラグインがインストールされ、有効になっていることを確認してください。
  2. claude_desktop_config.jsonを編集して、Claude for Desktop がサーバーを使用するように設定します。
{ "mcpServers": { "clanki": { "command": "node", "args": ["/absolute/path/to/clanki/build/index.js"] } } }

/absolute/path/to/clanki clanki インストールへの実際のパスに置き換えます。

利用可能なツール

デッキ作成

新しいAnkiデッキを作成する

  • パラメータ:
    • name : 新しいデッキの名前

カード作成

指定されたデッキに新しい基本フラッシュカードを作成します

  • パラメータ:
    • deckName : カードを追加するデッキの名前
    • front :カードの表面の内容
    • back :カードの裏面の内容
    • tags : (オプション) カードのタグの配列

穴埋めカード作成

指定されたデッキに新しい穴埋め削除カードを作成します

  • パラメータ:
    • deckName : カードを追加するデッキの名前
    • text : {{c1:}} 構文を使用した穴埋め削除を含むテキスト
    • backExtra : (オプション) カードの裏面に表示する追加情報
    • tags : (オプション) カードのタグの配列

アップデートカード

既存の基本フラッシュカードを更新します

  • パラメータ:
    • noteId : 更新するノートのID
    • front : (オプション) 新しいフロントサイドコンテンツ
    • back : (オプション) 新しい裏面コンテンツ
    • tags : (オプション) カードの新しいタグ

クローズカードの更新

既存の穴埋め削除カードを更新します

  • パラメータ:
    • noteId : 更新するノートのID
    • text : (オプション) 穴埋め問題を削除した新しいテキスト
    • backExtra : (オプション) 背面の新しい追加情報
    • tags : (オプション) カードの新しいタグ

発達

サーバーを変更または拡張するには:

  1. src/index.tsに変更を加える
  2. npm run buildでリビルドする
  3. npx @modelcontextprotocol/inspector node build/index.jsでデバッグする
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude のような AI アシスタントが Anki フラッシュカード デッキと対話できるようにし、ユーザーが自然言語の会話を通じてフラッシュカードを作成、管理、更新できるようにする MCP サーバー。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 設定
          1. 利用可能なツール
            1. デッキ作成
            2. カード作成
            3. 穴埋めカード作成
            4. アップデートカード
            5. クローズカードの更新
          2. 発達

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              An MCP server that integrates Claude with Anki flashcards, allowing users to review due cards and create new flashcards directly through conversation.
              Last updated -
              6
              8
              Python
              • Apple
            • -
              security
              A
              license
              -
              quality
              An MCP server that enables Claude to interact with Port.io's AI agent, allowing users to trigger the agent with prompts and receive structured responses including status, output, and action items.
              Last updated -
              6
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.
              Last updated -
              7
              Python
              • Apple
            • -
              security
              A
              license
              -
              quality
              An MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.
              Last updated -
              505
              Python
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/jasperket/clanki'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server