
Memora
io.github.Servation由 GitHub 账号 Servation 发布v0.1.1更新于 Oct 24, 2026
Flashcards, quizzes, and cloze cards with spaced repetition, as an inline MCP App.
概览
Memora 是一个本地 MCP 服务器,让 Claude Desktop 对话变成带 FSRS 间隔重复和内嵌复习的闪卡、测验与填空学习会话。
- 可以做什么
- 创建与管理卡组:生成闪卡、填空卡和选择题测验,追加、编辑、重命名或删除卡组与卡片,并用分类嵌套卡组、支持反向练习。内嵌复习:以可点击的翻卡、测验或填空形式复习单个卡组或整个分类分支。评分与排程:记录作答、更新每张卡的 FSRS 到期时间,并汇总今日到期内容、标出反复出错的卡片。改进与捕获:提议拆分或改写卡片,把刚遇到的 bug 或答错题转成草稿卡片,经用户批准后才保存。
- 适用场景
- 适合在 Claude Desktop 内学习或记忆材料,让助手根据对话生成并维护卡组,由间隔重复决定接下来复习什么。适用于外语词汇、考试准备和快速回忆练习,而非通用笔记。
- 运行要求
- 以 npm 包形式通过 npx 在本地运行,需要 Node.js 20.11 或更高版本,并在 Claude Desktop 的 mcpServers 中配置。卡组保存在用户主目录下的 JSON 文件中,路径可用 MEMORA_DECKS 环境变量覆盖。无需账号、API 密钥或外部服务。
安装
在 SourceWeft 中
- 打开 控制台中的 Memora,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Memora MCP
[License: MIT] [MCP Apps] [TypeScript] [React]
Turn any conversation into an interactive study session, right inside Claude Desktop. Ask Claude to make a deck and it generates the cards, then renders them as an inline review you can click through: flip flashcards, answer multiple-choice quizzes, and fill in cloze blanks. Every answer updates a spaced-repetition schedule, and your results flow back to Claude so it can drill what you missed.
Keywords: Model Context Protocol, MCP server, MCP Apps, Claude Desktop, flashcards, quizzes, spaced repetition, SRS, FSRS, Anki alternative.
Built on the MCP Apps extension (SEP-1865): core MCP spec 2025-11-25 plus the Apps extension 2026-01-26.
[Three ways to study, rendered inline in Claude]
Features
Three ways to study, all rendered inline and all graded the same way:
- Flashcards: click to flip, then grade Got it / Missed it.
- Multiple-choice quizzes: pick an option and the correct/wrong answers reveal instantly.
- Cloze (fill-in-the-blank): the blank reveals in place so the sentence stays intact. Write a blank as
[...]in a card front and it becomes a cloze card automatically.
Spaced repetition: every grade updates a per-card FSRS schedule (via ts-fsrs), so weak cards resurface sooner and due cards come first. Ask "what's due today?" for a summary across all your decks.
Organize with categories: name decks with :: to nest them (e.g. LLM::Attention). Browse the category tree, or the same tree as an interactive mind map, and study a whole branch in one merged session. Quiz decks are flagged with a badge.
Manage your decks: create, append to, edit, rename, and delete decks and cards without leaving the chat. Pass reverse when creating a deck to also drill each card back-to-front (handy for vocabulary).
Just JSON: decks live in data/decks.json, read live on every call. Hand-edit them or let Claude build them. No database, no external service.
[Browse decks as a category tree or a mind map]
The tools
Only review_deck and study open the inline flip-card UI; everything else returns a text summary, so editing or creating in chat no longer pops the widget.
Card generation follows Memora's quality rules (atomic single-concept cards, 1-5 word answers, active recall, unambiguous, no answer leakage, application over definition), based on Wozniak's 20 Rules of Formulating Knowledge. New cards are linted on write and flagged (never blocked) so Claude can revise them.
How it works (MCP Apps)
A tool declares a ui:// resource. When Claude calls the tool, the host (Claude Desktop) fetches that resource, renders its HTML in a sandboxed iframe, passes the tool result to the UI, and the UI talks back to the host over JSON-RPC (to grade cards and report progress to the model).
Quick start
Prerequisites
- Node.js 20.11+
Connect to Claude Desktop
Open Settings > Developer > Edit Config and add Memora under mcpServers:
Then fully quit Claude Desktop (from the system tray) and relaunch. memora appears under Settings > Developer, pre-loaded with a few sample decks.
Your decks are stored in ~/.memora/decks.json (override the path with the MEMORA_DECKS environment variable). Hand-edit that file or let Claude manage it.
Run from source instead
Point the config at the built entry with an absolute path (decks then live in the repo's data/decks.json):
Try it (in a Claude Desktop chat)
review my World Capitals deckmake me a deck of 10 Spanish travel phrasesmake a reversible deck of 10 Spanish words(drills both directions)make a fill-in-the-blank deck about the water cycle(cloze cards)quiz me with 10 multiple-choice questions on the solar systemturn what we just discussed into a deck called "Photosynthesis"study my LLM categorywhat's due today?
Tech stack
- Server: TypeScript,
@modelcontextprotocol/sdkplus@modelcontextprotocol/ext-apps, stdio transport (Streamable HTTP also available). - UI: React plus Vite, bundled to a single inlined HTML file via
vite-plugin-singlefile. - Scheduling:
ts-fsrs(FSRS). - Runtime is plain
nodeonce built (no bun or tsx needed).
Deck format
- Stored in
~/.memora/decks.jsonwhen installed (ordata/decks.jsonfrom source); override withMEMORA_DECKS. - Read live (mtime-cached).
create_deck,create_quiz, andgrade_cardwrite here atomically. - A quiz card adds
"options": ["...", "..."]; itsbackis the correct option. - A cloze card writes the blank as
[...]in the front, with the hidden term as theback. - Cards gain a
duedate and an FSRSsrsblock as you review them; cards without them are treated as new. - Keep it valid JSON, or the server falls back to a built-in default deck.
Project structure
Development
For fast local iteration you can also run the app against the MCP Apps reference host (basic-host) from the ext-apps repo.
Roadmap
See TODO.md for the backlog: npm + MCP Registry publishing, cross-client hosting (Streamable HTTP), tests around parsing and scheduling, and a real screen-capture demo GIF.
License
来源:README.md,提交 8564480
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分