FlashLearn
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., "@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: Anki MCP Server
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 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-qualityBmaintenanceSelf-hosted MCP server connecting AI assistants like Claude to Anki for AI-assisted flashcard generation and sync. It supports multi-tenant, authenticated operations to add, search, and analyze cards in real Anki collections.AGPL 3.0
- Alicense-qualityDmaintenanceMCP server for Mochi Cards API, enabling AI assistants to manage flashcards, decks, and templates.79MIT
Related MCP Connectors
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Cloud-hosted MCP server for durable AI memory
MCP server for AI dialogue using various LLM models via AceDataCloud
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/MaskwaSam/flashlearn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server