Memora MCP

Memora MCP

An interactive flashcard MCP App for Claude Desktop. Claude generates flashcards from your request or the conversation and renders them as an inline, gradeable flip-card review with spaced repetition.

Category
Visit Server

README

Memora MCP

License: MIT MCP Apps TypeScript React

An interactive flashcard MCP App for Claude Desktop. Claude generates flashcards from your request or the conversation and renders them as an inline, gradeable flip-card review with spaced repetition. Your grades flow back to the model, so Claude can react to your score and offer to drill what you missed.

Keywords: Model Context Protocol, MCP server, MCP Apps, Claude Desktop, flashcards, spaced repetition, SRS, Anki alternative.

Built on the MCP Apps extension (SEP-1865): core MCP spec 2025-11-25 plus the Apps extension 2026-01-26.

Memora flip-card review

What it does

  • review_deck: opens a deck as an inline flip-card UI. Click to flip, grade Got it / Missed it, see a results screen. Due cards come first, and grades are sent back to the model via the host bridge.
  • create_deck: Claude generates cards from your request or the chat, saves them to data/decks.json, and renders them immediately. They persist, so review_deck can replay them later. Generation follows Memora's card-quality rules (atomic single-concept cards, 1-5 word answers, active-recall or cloze prompts, unambiguous).
  • create_quiz: Claude generates multiple-choice questions (question + options + answer); the UI shows the options, reveals correct/wrong on pick, and schedules them with the same FSRS. Quiz and flashcard decks share the same tree and review flow, and quiz decks are flagged with a badge in the tree and mind map.
  • grade_card (spaced repetition): each grade persists a per-card FSRS schedule (via ts-fsrs), so weak cards resurface sooner. due_today summarizes what is due across all your decks.
  • Decks & categories: switch decks from a dropdown, browse a category tree (deck names use :: to nest, e.g. LLM::Attention), or see the same tree as an inline mind map. The study tool reviews a whole subtree at once, merging its decks into one session.
  • Decks are plain JSON read live on every call, so you can hand-edit them or let Claude create them. No database, no external service.

Claude builds a deck from the conversation

How it works (MCP Apps)

A tool declares a ui:// resource. When Claude calls the tool, the host (Claude Desktop) fetches that resource and 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.

Architecture: the MCP Apps round trip

Tech stack

Prerequisites

  • Node.js 20+

Setup

npm install
npm run build      # builds the UI bundle (dist/mcp-app.html) and compiles the server (dist/)

Connect to Claude Desktop

Open Settings > Developer > Edit Config and add (use the absolute path to this folder):

{
  "mcpServers": {
    "memora": {
      "command": "node",
      "args": ["C:\\path\\to\\memora-mcp\\dist\\main.js", "--stdio"]
    }
  }
}

Then fully quit Claude Desktop (from the system tray) and relaunch. memora should appear under Settings > Developer.

Usage (in a Claude Desktop chat)

  • review my World Capitals deck
  • make me a deck of 10 Spanish travel phrases
  • turn what we just discussed into a deck called "Photosynthesis"
  • add 5 harder capitals to my World Capitals deck (uses append)
  • what's due today?

Development

npm run dev        # vite watch (UI) plus tsx server on http://localhost:3001/mcp
npm run typecheck  # tsc --noEmit (UI)

For fast local iteration you can also run the app against the MCP Apps reference host (basic-host) from the ext-apps repo.

Deck format (data/decks.json)

{
  "Deck Name": [
    { "front": "question", "back": "answer" }
  ]
}

Read live (mtime-cached). create_deck and grade_card write here atomically. Cards gain optional spaced-repetition fields (due, interval, ease, reps) 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

memora-mcp/
├── server.ts            # MCP server: review_deck + create_deck + grade_card + ui:// resource
├── main.ts              # entry: stdio (Claude Desktop) or Streamable HTTP transport
├── mcp-app.html         # UI entry HTML (bundled by vite)
├── src/
│   ├── mcp-app.tsx      # React flip-card UI, deck picker, grade -> model bridge
│   ├── mcp-app.module.css
│   └── global.css       # host theme variable fallbacks (light/dark)
├── data/decks.json      # editable decks, read live
├── media/flip-card.svg  # README image
├── vite.config.ts       # single-file bundle config
└── tsconfig*.json

Roadmap

See TODO.md for the full backlog: inline card editing, deck management tools, a fuller FSRS scheduler, npm + MCP Registry publishing, cross-client hosting, and a real demo GIF.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured