grooverLab/fable

๐Ÿง  Knowledge & Memory
0 Views
0 Installs

๐Ÿ ๐Ÿ  ๐ŸŽ ๐Ÿง - MCP server over your Claude Code transcript history โ€” full-text + semantic search, byte-identical thread recall, durable /remember facts. Local SQLite, stdlib-only.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "grooverlab-fable": {
      "command": "npx",
      "args": [
        "-y",
        "grooverlab-fable"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

fable Recall โ€” verbatim session memory: every Claude Code session, indexed byte-for-byte, searchable in milliseconds

fable Recall

Your Claude already has a memory. fable unlocks it.

Quickstart ยท Why fable ยท Benchmarks ยท Roadmap ยท Discussions

MIT stdlib only tests local first

search your entire Claude Code historyusage analytics dashboard
compose new sessions from old threads

Every conversation you've ever had with Claude Code is already saved on your machine โ€” every decision, every debugging hunt, every 2 AM breakthrough, word for word. Claude just isn't allowed to use it.

Mid-session, compaction builds a wall: everything behind it is locked away to save tokens, and Claude carries on with a thin summary. /clear wipes the slate. And after 30 days, Claude Code quietly deletes the files themselves. Your project's real memory โ€” locked, then destroyed, by design.

Everyone else sells you a replacement memory: summaries, extracted facts, vector stores. fable does something different โ€” it unlocks the real one.

fable demo

pipx install git+https://github.com/grooverLab/fable
fable install       # one command: register the MCP, install hooks, index your history
fable serve         # browse your memory in a dashboard

100% local ยท no API keys ยท no cloud ยท no daemons. Your conversations never leave your machine.

Setup & commands
pipx install git+https://github.com/grooverLab/fable   # install the CLI
fable install        # one-shot: claude mcp add + Claude Code hooks +
                     # ~/.fable home + index every transcript
fable serve          # dashboard at http://127.0.0.1:8765
pipx upgrade fable-recall   # update later (pulls latest from GitHub)

fable install is idempotent โ€” safe to re-run; it skips anything already wired. To do it by hand: fable setup (home) ยท claude mcp add fable -- fable mcp (MCP) ยท fable discover (index).

commandwhat it does
fable search <q>rank threads by relevance (--project, --kind, -n)
fable context <q>assemble a budgeted context pack
fable thread <id>a thread's raw turns, byte-identical
fable file <path>a file's full edit history across sessions
fable cards rungenerate AI summary cards (background)
fable discover(re)scan + index all Claude Code projects
fable prune ยท fable export ยท fable statsslim a session ยท export ยท index stats
fable servethe dashboard
  • Ask about past conversations with Claude โ€” get the real answer. "What did we decide about auth last month?" Claude searches its own history mid-session (via MCP) and quotes the actual transcript โ€” not a summary, not an extracted "fact." The conversation itself.
  • The wall stops costing you. fable catalogs everything before compaction walls it off, and hands back exactly what Claude lost โ€” on demand, under a token budget you set.
  • The 30-day deletion becomes irrelevant. Sealed into a local vault, byte-identical, for as long as you decide.

First of its kind โ€” five things no other tool does

๐Ÿงต Composed Sessions. Hand-pick conversations from any project, any month โ€” put them in your order โ€” and fable builds a brand-new session that Claude resumes as its own lived history. A workspace with curated memory. (Empirically verified: restitched sessions resume cleanly, signatures intact.)

๐Ÿ•ฐ๏ธ File time-travel. Your transcripts accidentally versioned everything. fable reconstructs every file's edit history โ€” every Edit and Write Claude ever made, across every session โ€” with side-by-side comparison between any two moments of a file's life, and a jump back to the conversation that made each change. (fable file src/loader.py)

โœ‚๏ธ Transcript Surgery. Your 80 MB session is paying rent on dead threads. Remove whole conversations โ€” fable re-stitches the timeline, shows you the simulation first, and keeps every removed byte recallable forever. Reversible by construction.

๐Ÿชถ Pruning that loses nothing. Slim every message (tool noise, images, bloat) before resuming a heavy session โ€” with an itemized preview of the savings, and the original sealed in the vault first.

๐Ÿ” Memory Diff. See exactly what any prune or cleanup cost any conversation โ€” generation by generation, byte by byte. Nobody else can even show you what was lost.

How it works (the short version)

fable indexes your transcripts into a local SQLite archive: an immutable vault (every byte, forever) plus a search map (keyword + semantic, optional local embeddings via Ollama). Hooks run before Claude Code's compaction and cleanup; an MCP server gives Claude search / recall / remember tools. Measured on a real archive โ€” 191,000 records, 6,000 conversations:

recall@1recall@5search (p50)full re-index
76.7%90.0%135 ms6.6 s

Reproduce it: python3 scripts/benchmark.py. No competitor publishes retrieval numbers.

Why fable โ€” and not another memory layer

fableclaude-memmem0 / Lettanative Claude Code
Memory = your actual conversationsโœ…โŒ summariesโŒ fact snippetsโš ๏ธ locked behind the wall
Survives the 30-day deletion & /clearโœ…โš ๏ธ its summaries doโŒโŒ
Claude searches its own history (MCP)โœ…โœ…โŒโŒ
Composed sessions / file time-travel / surgery / diffโœ… first of its kindโŒโŒโŒ
Zero API keys, fully offlineโœ…โœ…โŒโœ…
Footprintone SQLite fileNode + Chroma daemoncloud / Dockerโ€”

(Fair is fair: mem0 fits multi-LLM production agents; ccusage goes deeper on billing analytics. Different jobs, both compatible with fable.)

Trusted the hard way

fable's first user is the session that built it: mid-build, that session was pruned by fable (7.8 MB โ†’ 3.0 MB), kept working through compaction via its own hook, and is now searchable through its own MCP server โ€” and fable file fable/recall.py replays its own source code being written, 18 versions deep. The build history eats its own dogfood โ€” all $83k of API-equivalent work in the author's archive included.

What people use it for

  • "Why did we choose X?" โ€” architecture archaeology, weeks later
  • "When did this function break?" โ€” file time-travel to the exact edit and the conversation around it
  • Picking up a debugging hunt exactly where the wall cut it off
  • A composed "workspace" session: threads from three projects, one memory
  • Slimming a heavy session before --resume, reversibly
  • fable remember "we deploy Fridays only" โ€” standing rules, every session

Try it on a fictional sample first: python3 demo/seed_demo.py && fable --db demo/demo.db serve


MIT ยท local-first forever (non-goals) ยท built with Claude Code, for Claude Code ยท @claude answers issues here โ€” the butler is Claude ยท architecture deep-dive ยท Star History Chart

Related MCP Servers

modelcontextprotocol/server-memoryVerified

๐Ÿ“‡ ๐Ÿ  - Knowledge graph-based persistent memory system for maintaining context

๐Ÿง  Knowledge & Memory2 views
0xshellming/mcp-summarizer

๐Ÿ“• โ˜๏ธ - AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content

๐Ÿง  Knowledge & Memory0 views
20alexl/claude-engram

๐Ÿ ๐Ÿ  - Persistent memory and session intelligence for Claude Code. Auto-tracks mistakes, decisions, and context via hooks. Mines session history for patterns and cross-session search. Loop detection, pre-edit warnings, context compaction survival. Runs locally with Ollama.

๐Ÿง  Knowledge & Memory0 views
a2cr/a2cr

๐Ÿ โ˜๏ธ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - MCP server for AI-agent handoffs. Saves client-encrypted WorkBaton checkpoints and WorkStash notes so Codex, Claude Code, Roo Code, and other MCP clients can resume work without passing full chat history.

๐Ÿง  Knowledge & Memory0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.