
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@arielbk/anki-mcp
Advanced tools
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.
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
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...
This MCP server provides comprehensive access to your Anki collection through these capabilities:
# 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-mcp
We welcome contributions! Please:
MIT - see LICENSE file for details.
Transform your flashcard experience with AI-powered conversations! 🚀
FAQs
MCP server for integrating with Anki flashcards
The npm package @arielbk/anki-mcp receives a total of 12 weekly downloads. As such, @arielbk/anki-mcp popularity was classified as not popular.
We found that @arielbk/anki-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.