[ Claude Code ]

Membral for Claude Code

Membral reads Claude Code's transcripts from disk, keeps the sessions in one store on your machine, and extracts decisions, learnings and outcomes, each with its quote and a link to the session. Claude Code searches the store over MCP.

[ · what Claude Code gets ]

What Membral does for Claude Code

Capture
Reads Claude Code's transcripts from disk, with end-of-session hooks
Sync
membral sessions, plus a 20-minute sweep
MCP
Claude Code searches with memory_search, memory_recall and get_code_session
Preamble
Added at session start
Prompt lookup
Matching records arrive with each prompt, in Claude Code only
The rows are the README's Supported agents table and its description of the CLI.

Connect Claude Code

Run in your shell with the claude CLI on your PATH. Replace YOUR_API_KEY with the key npx membral local up printed.

claude mcp add-json membral '{"type":"http","url":"http://localhost:3000/api/mcp","headers":{"Authorization":"Bearer YOUR_API_KEY"},"alwaysLoad":true}' --scope user

A Claude Code plugin is an alternative to the CLI hooks. Plugin install