flashcard-mcp
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., "@flashcard-mcpCreate a deck 'English' and add cards for these phrasal verbs: look up, break down, give up."
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.
π Flashcard MCP
Give any AI assistant a memory that actually lasts.
A lightweight MCP server that adds spaced-repetition flashcards (the classic SM-2 algorithm behind SuperMemo and Anki) to Claude, Cursor, VS Code, and every other MCP-compatible assistant.
Stop re-teaching your AI the same thing every session. Your assistant now learns vocabulary, concepts, and facts once β then reviews them at the optimal moment so they stick forever.
Why?
Every AI session starts from zero. You ask your assistant to help you learn English words, it makes a nice list β and by tomorrow both of you have forgotten everything.
Flashcard MCP fixes this: it stores flashcards locally and schedules reviews using the SM-2 algorithm, the scientifically-backed method that powers SuperMemo and Anki. The AI creates the cards, you review them, and the server decides exactly when to bring each card back so it moves from short-term to long-term memory.
π 100% local β your data lives in a single SQLite file. No cloud, no accounts, no tracking.
π§ Real spaced repetition β the SM-2 algorithm, not a random "quiz".
β‘ Zero config β install, add two lines to your MCP config, done.
π Pure Python, zero heavy dependencies β one tiny package, nothing else.
Related MCP server: Anki MCP Server
Installation
pip install flashcard-mcpConfiguration
Add the server to your MCP client. Examples for the most common setups:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"flashcards": {
"command": "flashcard-mcp",
"args": []
}
}
}VS Code / Cursor (.mcp.json):
{
"servers": {
"flashcards": {
"type": "stdio",
"command": "flashcard-mcp"
}
}
}Data location: the database is created at
./data/flashcards.dbnext to the package. Override it with theFLASHCARD_DBenvironment variable.
How it works
You ask your AI to build a deck β e.g. "Create a deck 'English' and add cards for these phrasal verbs: look up, break down, give up."
The AI calls the tools β the server creates the deck and cards in SQLite.
When you want to review β ask "Let's review my due cards." The server returns exactly the cards that are due today, per the SM-2 schedule.
You grade each card (0β5), the algorithm updates the easiness factor and picks the next review date. Perfect recalls β longer intervals. Misses β the card comes back tomorrow.
Repeat β over time each card is reviewed at expanding intervals and permanently lands in your long-term memory.
Tools
Tool | Description |
| Create a study deck |
| List all decks with card counts |
| Delete a deck and its cards |
| Add a flashcard (front / back) |
| List flashcards, filtered by deck |
| Delete a flashcard |
| Get cards due for review today |
| Grade a card (quality 0β5) and reschedule it |
| Total cards, due today, per-deck breakdown |
| Export everything as JSON |
The SM-2 algorithm
When you grade a card, the server updates two numbers:
Easiness factor (EF) β how easy this card is for you. Starts at 2.5, never drops below 1.3.
Interval (days) β the gap until the next review.
1 β 6 β 6ΓEF β 6ΓEFΒ² β β¦
A grade below 3 resets the card to a 1-day interval. This is exactly the schedule that makes spaced repetition effective β it targets reviews right before you'd forget.
Development
pip install -e ".[dev]"
pytestProject structure
flashcard_mcp/
βββ src/flashcard_mcp/
β βββ srs.py # SM-2 scheduling algorithm
β βββ db.py # SQLite storage layer
β βββ server.py # MCP server + tool definitions
βββ tests/ # unit + end-to-end stdio testsRoadmap
Anki
.apkgimport/exportHTML dashboard with retention graphs
Prompt templates for vocabulary / exam / language learning
Prebuilt study decks
License
MIT
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants like Claude to interact with Anki flashcard decks, allowing users to create, manage, and update flashcards through natural language conversations.40MIT
- Alicense-qualityAmaintenanceAn MCP server that enables AI assistants to interact with the Anki flashcard application for studying, deck management, and note creation. It supports natural language interaction for reviewing cards, searching content, and managing media files across local and remote environments.606417MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to seamlessly manage Anki flashcards, decks, and templates through the AnkiConnect API. It supports intelligent querying, batch note creation, and detailed study progress analysis using natural language.4MIT
- Flicense-qualityCmaintenanceLocal Leitner flashcard MCP server enabling AI clients to create decks, manage cards, study with spaced repetition, and track progress.
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
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/cokovali10-sketch/flashcard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server