MCP-AnkiConnect
mcp-ankiconnect MCP サーバー
MCP を介して Claude の会話を AnkiConnect に接続し、「今日のフラッシュカードを見てみましょう」や「これのフラッシュカードを作ってみましょう」といった間隔をあけた反復学習を簡単に行えるようにします。
コンポーネント
ツール
サーバーは 3 つのツールを実装します。
num_cards_due_today: 今日期限が切れるカードの数を取得する特定のデッキでフィルタリングするためのオプションの
deck引数すべてのデッキまたは指定されたデッキの期限付きカードの数を返します
get_due_cards: レビュー期限が迫っているカードを取得するオプションの
limit引数(デフォルト:5)でカードの数を制御特定のデッキでフィルタリングするためのオプションの
deck引数今日のカードのみを表示する場合は、オプションの
today_only引数(デフォルト:true)を使用します。質問と回答を含むカードをXML形式で返します
submit_reviews: レビューしたカードの回答を送信するcard_idとrating含むreviewsのリストを取得します評価: 「間違っている」、「難しい」、「良い」、「簡単」
提出されたレビューの確認を返します
Related MCP server: Anki MCP Server
構成
前提条件
AnkiはAnkiConnectプラグイン(プラグインID 2055492159)をインストールした状態で実行されている必要があります。MacではAppSleep機能によりAnkiConnectの動作が遅くなる可能性があるため、AnkiではAppSleep機能を無効にしてください。無効にするには、ターミナルで以下のコマンドを実行してください。
defaults write net.ankiweb.dtop NSAppSleepDisabled -bool true defaults write net.ichi2.anki NSAppSleepDisabled -bool true defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool true
インストール
クイックスタート
Anki に AnkiConnect プラグインをインストールします。
ツール > アドオン > アドオンを取得...
コードを入力してください:
2055492159Ankiを再起動する
Claude デスクトップを設定します。
MacOS の場合:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows の場合:%APPDATA%/Claude/claude_desktop_config.json次の構成を追加します。
{ "mcpServers": { "mcp-ankiconnect": { "command": "uv", "args": ["run", "--with", "mcp-ankiconnect", "mcp-ankiconnect"] } } }AnkiとClaudeデスクトップを再起動します
デバッグ
MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。まず、リポジトリをクローンし、依存関係をインストールします。
git clone https://github.com/samefarrar/mcp-ankiconnect.git
cd mcp-ankiconnect
uv syncMCP インスペクターは、mcp CLI 経由で起動できます。
uv run mcp dev mcp_ankiconnect/server.py起動すると、インスペクターにブラウザでアクセスしてデバッグを開始できる URL が表示されます。
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants like Claude to interact with Anki flashcard decks, allowing users to create, manage, and update flashcards through natural language conversations.40MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that bridges Claude AI with Anki flashcard app, allowing users to create and manage flashcards using natural language commands.9MIT
- FlicenseAqualityDmaintenanceAn MCP server that enables Claude Code to create, manage, and search Anki flashcards directly from the terminal. It supports batch card creation, deck statistics retrieval, and synchronization with AnkiWeb for cross-platform review.8
- AlicenseAqualityDmaintenanceAn MCP server that connects to Anki for card review and creation, featuring automatic date-based organization of new cards.4441MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that integrates with Discord to provide AI-powered features.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/samefarrar/mcp-ankiconnect'
If you have feedback or need assistance with the MCP directory API, please join our Discord server