MCP.so
ログイン

Anki MCP Server

@MCP-Mirror

Anki MCP Server について

Mirror of

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

MCP-Mirror

設定

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

{
  "mcpServers": {
    "anki": {
      "command": "node",
      "args": [
        "path/to/anki-mcp-server/dist/index.js"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Anki MCP Server?

An MCP (Model Context Protocol) server for Claude Desktop that connects to Anki via AnkiConnect and retrieves leech-tagged cards. It also adds date-stamped review tags to cards and provides comprehensive card data for analysis by Claude.

How to use Anki MCP Server?

Ensure Anki is running with AnkiConnect installed. Clone the repository, install dependencies, build the project, and configure the .env file with the Anki Connect URL. Run npm start to start the server, then add the server to the mcpServers section in the Claude Desktop configuration file.

Key features of Anki MCP Server

  • Connects to Anki via AnkiConnect API
  • Retrieves cards with "leech" tags
  • Adds date-stamped review tags to cards
  • Provides comprehensive card data for analysis by Claude
  • Can be used with Claude Desktop

Use cases of Anki MCP Server

  • Analyze leech cards to improve study methods
  • Track which cards have been reviewed with date-stamped tags
  • Integrate Anki with Claude Desktop for AI-assisted card review

FAQ from Anki MCP Server

What are the prerequisites?

Anki installed and running, AnkiConnect add-on installed in Anki, and Node.js with npm.

How do I configure the connection to Anki?

Set the ANKI_CONNECT_URL environment variable to your Anki Connect API URL (default: http://localhost:8765). If connecting to localhost doesn't work, use your computer's local IP address (e.g., http://192.168.x.x:8765).

What tools are available?

get_leech_cards retrieves cards tagged as leeches, with optional detailed and count parameters. tag_reviewed_cards adds a date-stamped review tag to specified card IDs, with optional custom_tag_prefix.

Is there a testing mode?

Yes, set ANKI_MOCK_MODE=true to simulate Anki operations without affecting actual data. Use npm run start:test or the .env.test file.

What if I get a connection error?

Make sure Anki is running and AnkiConnect is installed. If using localhost fails, find your local IP address and update ANKI_CONNECT_URL accordingly. Ensure AnkiConnect allows connections from your IP address.

コメント

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