Skip to main content
Glama
fabianissam

AnkiConnect MCP Server

by fabianissam

AnkiConnect MCP Server

AnkiConnect 用の Python MCP サーバーです。デッキレビューアシスタント: デッキのカードを 1 枚ずつ確認して、欠けている箇所(動詞の活用形や格変化など)を見つけ、承認を得て修正します。

前提条件

  • Anki 2.1.x がバックグラウンドで動作していること

  • AnkiConnect アドオン(インストールコード: 2055492159

  • Python 3.11+

AnkiConnect の動作確認: http://127.0.0.1:8765 を開くと、AnkiConnect と表示されます。

Related MCP server: Anki MCP Server

インストール

cd AnkiConnectMCP
python -m pip install -e .

Cursor MCP 設定

.cursor/mcp.json(または Cursor Settings → MCP)で設定:

{
  "mcpServers": {
    "anki-connect": {
      "command": "python",
      "args": ["-m", "anki_connect_mcp.server"],
      "cwd": "C:/Users/Fabian/Desktop/Projekte/AnkiConnectMCP",
      "env": {
        "PYTHONPATH": "src",
        "ANKI_CONNECT_URL": "http://127.0.0.1:8765"
      }
    }
  }
}

コード変更後は MCP サーバーをリロードしてください。

動作のしくみ

典型的なセッション — JSON なし、チャットのみ:

Du:  „Geh mein Italienisch-Deck durch — Verben sollen alle Formen auf einer Karte haben“

KI:  list_deck_cards(deck_name="Italienisch", offset=0)
     → #1–#15 mit Front/Back

     Chat-Analyse:
     #3  mangiare — Partizip fehlt
     #7  il libro — nicht dekliniert
     Soll ich #3 anpassen?

Du:  „ja, Partizip mangiato“

KI:  BEFORE/AFTER im Chat + edit_card(note_id=…, back="…")

Du:  „weiter“ / „nächster Block“ / „#7 auch“

Run が保留中のあいだに新しいチャットメッセージが届くと、そのまま適用されるのではなく、見直し(リビジョン)として扱われます。

ツール

ツール

説明

list_decks

デッキ名の一覧

list_deck_cards

体系的なレビューのための番号付きカード一覧

get_card

1 枚のカードの詳細

search_cards

対象を絞った検索(動詞、タグ、テキスト)

edit_card

承認済みの編集を 1 件適用

add_card

新しいカードを 1 枚追加

ライセンス

MIT

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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/fabianissam/AnkiConnectMCP'

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