Anki-MCP-Server
1
Anki MCP Server integrates Anki flashcard functionality with LLMs through the AnkiConnect API, enabling automated flashcard management and information retrieval. Its key features include deck creation, note management, and support for bulk operations.
Anki MCP Server
A Model Context Protocol (MCP) server that enables LLMs to interact with Anki flashcard software through the AnkiConnect API.
Features
- Create new decks in Anki
- Add notes to existing decks
- List available decks and note models
- Search for notes using Anki's search syntax
- Get detailed information about note models and their fields
- Bulk add multiple notes at once
Prerequisites
- Node.js (v14 or later)
- Anki with the AnkiConnect add-on installed
- A Model Context Protocol compatible client
Usage
- Make sure Anki is running with AnkiConnect enabled
- Start the MCP server
- Connect your MCP client to this server
Available Tools
- listDecks: Get a list of all decks in Anki
- listModels: Get a list of all note models/types in Anki
- createDeck: Create a new deck in Anki
- getModel: Get details about a specific note model/type
- addNote: Add a single note to a deck
- addNotes: Add multiple notes at once
- searchNotes: Search for notes using Anki's search syntax
Troubleshooting
- Cannot connect to Anki
- Ensure Anki is running
- Check AnkiConnect installation
- Verify AnkiConnect URL
- Permission issues with AnkiConnect
- Look for permission prompts in Anki.