FlashLearn
Click on "Deploy 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., "@FlashLearnshow me my due cards for the Biology deck"
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.
FlashLearn
FlashLearn is a local Leitner flashcard system with two entry points:
an MCP stdio server so an AI client can create decks, create cards, read cards, study cards, promote/demote cards, and inspect progress
a localhost web app for interactive study and deck progress
The app stores data in data/flashlearn.json by default. Set FLASHLEARN_DATA=/path/to/file.json to use another location.
Run the Web App
npm run webOpen http://127.0.0.1:5731.
If that port is already in use, FlashLearn automatically tries the next port and prints the URL.
The web UI lets you add decks and cards, study due cards, turn on All cards to study beyond the due queue, reveal answers, skip cards, mark cards as remembered or forgotten, manually promote/demote cards, search cards, and view progress by deck and Leitner box.
The dashboard also shows an annual practice heatmap with daily average, days learned, longest streak, and current streak; category/tag progress chips; and active toggles for due cards, mastered cards, empty decks, archived decks, and practice-focus mode. Category selection filters both the card library and the study queue, and each card in the library has Practice, Edit, promote/demote, and delete actions for immediate recall and cleanup.
Use Backup JSON to download a full flashlearn-backup.json, or Export CSV to download card rows for spreadsheet review. Deck settings support renaming, descriptions, custom Leitner intervals such as 0,1,3,7,14, archive/restore, and delete.
Keyboard shortcuts while not typing in a form:
rorSpace: reveal1orf: forgot2ork: remembers: skipp: promoted: demote
The card library can filter by box, due date range, mastery state, minimum review count, and maximum review count.
Related MCP server: flashcards-mcp
Run the MCP Server
npm run mcpExample MCP client config for Codex or another JSON-configured MCP client:
First, get the repository's absolute path from its root:
pwd -PReplace /absolute/path/to/flashlearn below with that output. This keeps the
configuration portable between clones and does not depend on a particular user
account or Desktop layout.
{
"mcpServers": {
"flashlearn": {
"command": "node",
"args": ["/absolute/path/to/flashlearn/src/mcp-server.js"]
}
}
}Example Claude Desktop config:
{
"mcpServers": {
"flashlearn": {
"command": "node",
"args": ["/absolute/path/to/flashlearn/src/mcp-server.js"],
"env": {
"FLASHLEARN_DATA": "/absolute/path/to/flashlearn/data/flashlearn.json"
}
}
}
}Available MCP tools:
create_decklist_decksupdate_deckarchive_deckdelete_deckcreate_cardupdate_carddelete_cardread_cardsdue_cardsreview_cardpromote_carddemote_cardprogressexport_data
Useful MCP tool arguments:
create_deckandupdate_deck: passboxIntervalsDaysfor deck-specific Leitner spacing.list_decks,read_cards,due_cards, andprogress: passincludeArchivedto include archived decks.read_cards: filter withquery,tag,dueOnly,dueBefore,dueAfter,box,mastered,reviewCountMin,reviewCountMax, andhideMastered.export_data: passformat: "json"for backup data orformat: "csv"for card rows.
Leitner Behavior
New cards start in box 1 and are due immediately. The default box intervals are:
box 1: now
box 2: 1 day
box 3: 2 days
box 4: 4 days
box 5: 7 days
box 6: 14 days
box 7: 30 daysWhen you remember a card, FlashLearn promotes it one box. When you forget a card, it returns to box 1. The highest box counts as mastered, but the card can still be studied manually or demoted later.
Verification
Install the locked dependencies and Chromium once in a fresh clone:
npm ci
npx playwright install chromiumThen run the complete verification suite:
npm test
npm run smoke:mcp
npm run smoke:web
npm run test:uinpm run test:ui runs Playwright against an isolated temp data file and writes desktop/mobile screenshots under test-results/.
GitHub Actions runs the same four gates on Node.js 22. The CI runner also installs Chromium and its Linux system dependencies before the UI tests.
License
FlashLearn is available under the MIT License. The npm package
remains marked private to prevent accidental publication.
Research Note
See docs/card-systems-research.md for researched alternatives and why this project uses Leitner as the default scheduler.
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
- NibomoOAuthcom.nibomo
Read, write, and conversationally review open-source flashcards through split read/write MCP tools.
Read, write, and conversationally review open-source flashcards through split read/write MCP tools.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for Mochi Cards API, enabling AI assistants to manage flashcards, decks, and templates.4 npm11MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server for making flashcards with your agents and being quizzed on them using SM-2 spaced repetition.5 npmMIT
- AlicenseAqualityBmaintenanceAn MCP server for the FlashLearnAI public API that enables AI-powered flashcard deck generation, browsing sets, SM-2 spaced-repetition study sessions, and API usage tracking through natural language.7MIT
- AlicenseNot gradedqualityCmaintenanceA lightweight MCP server that adds spaced-repetition flashcards (SM-2) to AI assistants, storing data locally in SQLite and enabling card creation, review, and scheduling.MIT