Anki MCP Server
Servidor MCP de Anki
Una implementación de servidor MCP que se conecta a un Anki que se ejecuta localmente y proporciona revisión y creación de tarjetas.
Este servidor está diseñado para funcionar con la aplicación de escritorio Anki y el complemento Anki-Connect .
Asegúrese de tener el complemento instalado antes de usarlo.
Recursos
anki://search/deckcurrent
Devuelve todas las cartas del mazo actual
Equivalente de
deck:currenten Anki
anki://search/isdue
Devuelve tarjetas en revisión y aprendizaje en espera de ser estudiadas
Equivalente de
is:dueen Anki
anki://search/isnew
Devuelve todas las cartas no vistas
Equivalente de
is:newen Anki
Related MCP server: Anki MCP Server
Herramientas
tarjetas_de_actualización
Marca las tarjetas con los identificadores de tarjeta dados como respondidas y les otorga un puntaje de facilidad entre 1 (Nuevamente) y 4 (Fácil)
Entradas:
answers(matriz): Matriz de objetos con camposcardId(número) yease(número)
agregar_tarjeta
Crea una nueva carta en el mazo predeterminado de Anki
Entradas:
front(cadena): Frente de la tarjetaback(cadena): reverso de la tarjeta
obtener_tarjetas_vencidas
Devuelve n número de tarjetas que actualmente deben revisarse
Entradas:
num(número): Número de cartas
obtener_nuevas_tarjetas
Devuelve n número de tarjetas de nuevo
Entradas:
num(número): Número de cartas
Desarrollo
Instalar dependencias:
npm installConstruir el servidor:
npm run buildPara desarrollo con reconstrucción automática:
npm run watchConfiguración
Para utilizar con Claude Desktop, agregue la configuración del servidor:
En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json En Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "/path/to/anki-mcp-server/build/index.js"
}
}
}Depuración
Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:
npm run inspectorEl Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.
Available Tools
4 toolsadd_cardA
Create a new flashcard in Anki for the user. Must use HTML formatting only. IMPORTANT FORMATTING RULES:
Must use HTML tags for ALL formatting - NO markdown
Use for ALL line breaks
For code blocks, use with inline CSS styling
Example formatting:
Line breaks:
Code:
Lists: and tags
Bold:
Italic:
Inputs: front (required), back (required).
get_due_cardsB
Returns a given number (num) of cards due for review.
Inputs: num (required).
get_new_cardsB
Returns a given number (num) of new and unseen cards.
Inputs: num (required).
update_cardsA
After the user answers cards you've quizzed them on, use this tool to mark them answered and update their ease
Inputs: answers.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: add_card creates new flashcards, get_due_cards retrieves cards due for review, get_new_cards fetches unseen cards, and update_cards marks answered cards and updates their ease. The four tools cover different stages of the flashcard lifecycle without any ambiguity.
All tool names follow a consistent verb_noun pattern (add_card, get_due_cards, get_new_cards, update_cards) using snake_case throughout. The naming is predictable and readable, with clear action-object relationships that align with their functions.
With 4 tools, this server is well-scoped for its purpose of managing Anki flashcards. Each tool earns its place by covering essential operations: creation, retrieval of due/new cards, and updating after reviews. The count is neither too sparse nor bloated for the domain.
The tool set provides strong coverage of core flashcard workflows: creating cards, retrieving cards for review, and updating them after answers. A minor gap is the lack of tools for deleting or editing existing cards, but agents can still function effectively with the provided operations.
Maintenance
Related MCP Connectors
Remote MCP server for saving, searching, syncing, and managing Teak cards.
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables LLMs to interact with Anki flashcard software through AnkiConnect, allowing for creation and management of flashcards, decks, and note types.16446 npm254MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows LLMs to interact with Anki flashcard software, enabling functions like creating decks, adding notes, searching cards, and managing flashcard content through natural language.1MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables interaction with Anki flashcards through AnkiConnect, providing organized tools for managing decks, notes, cards, models, and media files.407MIT
- AlicenseCqualityBmaintenanceServer that enables programmatic interaction with Anki through the Model Context Protocol, allowing users to manage flashcards, decks, and review processes.344MIT