Anki MCP Server
Connects to a locally running Anki instance through the Anki-Connect add-on, providing tools for reviewing existing cards, creating new cards, and retrieving cards from different categories (due, new, current deck).
Used for package management, installation of dependencies, and running build and start scripts for the MCP server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Anki MCP Serverget 5 cards due for review"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anki MCP Server
An MCP server implementation that connects to a locally running Anki, providing card review and creation.
This server is designed to work with the Anki desktop app and the Anki-Connect add-on.
Make sure you have the add-on installed before using.
Resources
anki://search/deckcurrent
Returns all cards from current deck
Equivalent of
deck:currentin Anki
anki://search/isdue
Returns cards in review and learning waiting to be studied
Equivalent of
is:duein Anki
anki://search/isnew
Returns all unseen cards
Equivalent of
is:newin Anki
Related MCP server: Anki MCP Server
Tools
update_cards
Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)
Inputs:
answers(array): Array of objects withcardId(number) andease(number) fields
add_card
Creates a new card in the Default Anki deck
Inputs:
front(string): Front of cardback(string): Back of card
get_due_cards
Returns n number of cards currently due for review
Inputs:
num(number): Number of cards
get_new_cards
Returns n number of cards from new
Inputs:
num(number): Number of cards
Development
Install dependencies:
npm installBuild the server:
npm run buildStart the server:
npm startSSE
SSE URL: http://localhost:3001/sse
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA server implementation that connects to a locally running Anki, enabling card review and creation through the Model Context Protocol.Last updated4184MIT
- AlicenseAqualityCmaintenanceA 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.Last updated16124246MIT
- AlicenseCqualityDmaintenanceA TypeScript-based server that integrates with Anki via the AnkiConnect plugin, allowing you to manage flashcard decks, note models, and create Anki notes using natural language.Last updated33183MIT
- Alicense-qualityDmaintenanceA 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.Last updated1241MIT
Related MCP Connectors
AI-powered YouTube to flashcards with spaced repetition and Anki export
Agentic search over your Dewey document collections from any MCP-compatible client.
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pengpongpang/anki-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server