
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIアシスタントが間隔反復フラッシュカードアプリケーションであるAnkiとやり取りできるようにするモデルコンテキストプロトコル(MCP)サーバーです。
概要
モデルコンテキストプロトコルを通じてAnkiをAIアシスタントとシームレスに統合 - このプロジェクトは現在開発中です。APIや機能は変更される場合があります。 AIアシスタントが間隔反復フラッシュカードアプリケーションであるAnkiとやり取りできるようにするモデルコンテキストプロトコル(MCP)サーバーです。 自然な言語の交流でAnki体験を一変させましょう。まるでプライベートチューターを持つかのように。AIアシスタントは単に質問と回答を提供するだけでなく、概念の説明、学習プロセスをより魅力的で人間らしいものにし、文脈を提供し、学習スタイルに適応させます。ノートを即座に作成・編集し、勉強時間を動的な会話に変えてくれます。さらに多くの機能が近日公開予定です! このMCPサーバーをClaude Desktopで使うための包括的なガイド、実例、ステップバイステップのチュートリアルについては、以下をご覧ください: - 実用的な例やユースケースを含む完全なドキュメント 補足ドキュメントはドキュメントやレビュアーの設定ガイドやサンプルのAnkiデッキをご覧ください。
概要(AI 翻訳)
モデルコンテキストプロトコルを通じてAnkiをAIアシスタントとシームレスに統合
[!重要] ほとんどのセットアップではAnkiMCPアドオンを好みます。
アドオン(GitHub)は、MCPサーバーをAnki内で直接動かします。インストールNode.jsもなく、AnkiConnectの設定もなく、別のプロセスを実行し続ける必要もありません。コード
124672614でインストールし、Ankiを再起動すれば、Ankiが開くたびにサーバーは起動します。ローカルHTTPアクセスと内蔵トンネルを通じたリモートアクセスをカバーしています。このリポジトリは、特に以下のようなものが必要な場合に最適な選択肢です:
- STDIO トランスポート — Claude Desktop、Claude Code、カーソル、またはサブプロセスとしてサーバーを生成する任意のクライアント
- MCPBバンドル — Claude Desktop用のワンクリック[
.mcpbインストールHTTP、トンネル、またはウェブベースのクライアント(claude.ai、ChatGPT)では、アドオンがよりシンプルでサポートの良い経路です。
このリポジトリは推奨されているわけではありません。同じ ankimcp.ai プロジェクトの一環としてアドオンと共に維持・リリースされています。
AIアシスタントが間隔反復フラッシュカードアプリケーションであるAnkiとやり取りできるようにするモデルコンテキストプロトコル(MCP)サーバーです。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Anki MCP Server
[!IMPORTANT] Prefer the AnkiMCP addon for most setups.
The addon (GitHub) runs the MCP server directly inside Anki. There is no Node.js to install, no AnkiConnect to configure, no separate process to keep running: install it with code
124672614, restart Anki, and the server is up every time Anki opens. It covers local HTTP access and remote access through a built-in tunnel.This repository is the right choice when you specifically need:
- STDIO transport — Claude Desktop, Claude Code, Cursor, or any client that spawns the server as a subprocess
- MCPB bundle — the one-click
.mcpbinstall for Claude DesktopFor HTTP, tunnel, or web-based clients (claude.ai, ChatGPT), the addon is the simpler and better-supported path.
This repo is not being deprecated. It stays maintained and released alongside the addon as part of the same ankimcp.ai project.
A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
Transform your Anki experience with natural language interaction - like having a private tutor. The AI assistant doesn’t just present questions and answers; it can explain concepts, make the learning process more engaging and human-like, provide context, and adapt to your learning style. It can create and edit notes on the fly, turning your study sessions into dynamic conversations. More features coming soon!
Examples and Tutorials
For comprehensive guides, real-world examples, and step-by-step tutorials on using this MCP server with Claude Desktop, visit:
ankimcp.ai - Complete documentation with practical examples and use cases
See docs/ for supplementary documentation, including the reviewer setup guide and the sample Anki deck.
Example Use Cases
Three representative prompts showing the tool flows this server enables:
- “Help me review my Spanish deck.” — The assistant offers to sync with AnkiWeb (
sync), fetches due cards (get_due_cardswith deck filter), presents each card (present_card), and records your rating (rate_card). Natural study conversation with explanations tailored to you.
インストール
npx -y @ankimcp/anki-mcp-server --stdio設定
{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": ["-y", "@ankimcp/anki-mcp-server", "--stdio"],
"env": {
"ANKI_CONNECT_URL": "http://localhost:8765"
}
}
}
}