🧠 Anki MCP
Transform your Anki flashcard experience with AI! This MCP (Model Context Protocol) server bridges your Anki flashcard collection with AI assistants like Claude, enabling natural conversations about your study materials.
에이전트 강화
게시자의 자체 명령입니다. PlugMCP 엔드포인트가 아닙니다.
Host a copy with our keys and logs.
npx -y @arielbk/[email protected]Claude Code에는 로컬 명령용 설치 링크가 없습니다. 아래 명령을 복사해 터미널에서 실행합니다.
claude mcp add io.github.arielbk-anki-mcp -- npx -y @arielbk/anki-mcp@0.3.2터미널에서 실행합니다.
{ "mcpServers": { "io.github.arielbk-anki-mcp": { "command": "npx", "args": [ "-y", "@arielbk/[email protected]" ] } }}claude_desktop_config.json
원격 URL인가요, 내 컴퓨터에서 실행하는 명령인가요? 두 설치 방식의 차이
PlugMCP에서 실행
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
실행게시자 제공
Transform your Anki flashcard experience with AI! This MCP (Model Context Protocol) server bridges your Anki flashcard collection with AI assistants like Claude, enabling natural conversations about your study materials.
MCP server for integrating with Anki flashcards through conversational AI
Imagine having an AI tutor that knows your entire flashcard collection and can:
Special thanks to the yanki-connect library for providing the robust AnkiConnect interface that powers this integration!
Download and install Anki if you haven't already.
2055492159📋 Version Requirements: This server requires AnkiConnect version 25.2.25.0 or newer (released 2025-02-25) for full compatibility. Most features work with older versions, but we recommend updating for the best experience.
AnkiConnect works out of the box, but you can customize settings:
Install the package
npm install -g @arielbk/anki-mcp
Configure Claude Desktop
Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"anki": {
"command": "anki-mcp",
"args": []
}
}
}
Restart Claude Desktop
Start using it!
💡 Pro Tip: You can test your setup by asking Claude simple questions like "How many Anki decks do I have?" or "What's in my largest deck?"
Clone the repository
git clone https://github.com/arielbk/anki-mcp.git
cd anki-mcp
Install dependencies
pnpm install
Build the project
pnpm build
Test the server
# Use the MCP inspector to test functionality
pnpm inspect
This server works with any MCP-compatible client. You can also use it with:
For stdio transport, run:
node dist/index.js
For localhost HTTP (Streamable HTTP) transport, run:
node dist/index.js --http --host=127.0.0.1 --port=3000
# The MCP endpoint will be at http://127.0.0.1:3000/mcp
Clients that support Streamable HTTP can connect directly. Legacy SSE clients may still work via client-side fallback.
Once configured with Claude Desktop, you can have natural conversations like:
You: "I have a Japanese exam tomorrow. Can you quiz me on Hiragana cards I haven't reviewed in a week?"
Claude: I'll find your Hiragana cards that need review and start a quiz session...
You: "Create flashcards for the major battles of World War II with dates and significance"
Claude: I'll create comprehensive flashcards covering the key WWII battles...
You: "How am I doing with my medical terminology deck? Show me my weak areas."
Claude: Let me analyze your performance on the medical terminology deck...
You: "Tag all cards about cardiovascular system with 'cardiology' and move them to my MCAT prep deck"
Claude: I'll help you organize those cards...
The server provides 7 intuitive tools that cover everything you need:
Create, update, delete, and search your flashcards. Perfect for content creation, bulk updates, and organization.
Run interactive quiz sessions, manage card scheduling, and track which cards need review.
Create and organize decks, move cards around, and configure deck settings.
Dive into your study statistics, review history, and learning patterns.
Customize note types, add fields, modify templates, and style your cards.
Handle sync, media files, imports/exports, and other utility operations.
Retrieve media files (images, audio, etc.) from your Anki collection. AI assistants can analyze images directly (though they won't display in the UI).
💡 Pro Tip: Many operations support pagination to prevent overwhelming your context window. Use
limitandoffsetparameters when working with large result sets.
# Run in development mode with auto-reloading
pnpm dev
# Lint the code
pnpm lint
# Format the code
pnpm format
# Test with MCP inspector
pnpm inspect
The server connects to AnkiConnect on localhost:8765 by default. If you've customized your AnkiConnect configuration, you may need to adjust the connection settings.
Important: Make sure Anki is running and AnkiConnect is installed before using the MCP server. The server will fail to connect if AnkiConnect is not accessible.
💡 Note: The underlying yanki-connect library supports auto-launching Anki on macOS, but this feature is not currently exposed in the MCP server configuration. You'll need to start Anki manually.
For advanced users, you can pass additional parameters:
{
"mcpServers": {
"anki": {
"command": "anki-mcp",
"args": ["--verbose"],
"env": {
"ANKI_CONNECT_HOST": "localhost",
"ANKI_CONNECT_PORT": "8765"
}
}
}
}
Common Issues:
npm list -g @arielbk/anki-mcpWe welcome contributions! Please:
MIT - see LICENSE file for details.
Transform your flashcard experience with AI-powered conversations! 🚀
MCP server for integrating with Anki flashcards through conversational AI
{ "mcpServers": { "io.github.arielbk-anki-mcp": { "command": "npx", "args": [ "-y", "@arielbk/[email protected]" ] } }}도구
아직 도구 목록이 없습니다. 원격 서버는 첫 상태 확인 후에 도구 목록이 생깁니다.
FAQ
이 페이지에서 Cursor, Claude Desktop, Claude Code 또는 VS Code용 stdio 설정을 복사합니다. PlugMCP 프록시가 아니라 게시자의 설치 방식을 사용합니다.
이 레코드에는 필수 환경 변수가 등록되어 있지 않습니다.
Anki은(는) stdio를 통해 로컬에서 실행됩니다.
마지막 확인: 2026-11-09. MCP server for integrating with Anki flashcards through conversational AI