Membrick logo

Membrick

Evidence-aware persistent memory for coding agents, with current-state retrieval, supersession tracking, and MCP controls.

Install Membrick

Run the project’s own setup commands, in order.

Setup steps from the project

Membrick installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    cargo install --git https://github.com/RooAGI/Membrick
    
  2. 2. Add to your MCP client
    ./target/release/membrick install codex /path/to/project
    
  3. 3. Install
    pipx install membrick
    

Overview

Membrick is a persistent memory layer for AI coding agents that turns project sessions, documents, decisions, traces, notes, and code into evidence-backed context. Its retrieval considers relevance, time, semantic relationships, and supersession so newer project facts can take precedence without deleting historical evidence. MCP controls support session recording, memory listing, runtime enablement, disabling, and status checks. Reach for it when coding agents need shared, project-scoped memory across sessions and protection against stale decisions.

Use cases

  • Retrieve the current value of changing project settings
  • Share memory across coding-agent sessions
  • Record and inspect agent session history
  • Find historical decisions without confusing them with current state
  • Surface contradictions and stale project claims

Key features

  • Evidence-backed persistent project memory
  • Current-state retrieval with supersession tracking
  • Temporal and semantic relationship-aware search
  • Shared memory across supported coding agents
  • MCP controls for sessions and runtime state
  • CLI commands for indexing, querying, and context generation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

10/10 checks healthy over the last 38d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars148Stargazers on the source repository.
Last commit10d agoMost recent push to the default branch.

How Membrick works

What Membrick does

Membrick gives coding agents a persistent, project-scoped memory store. It can index material such as session records, documents, decisions, traces, notes, and source code, then retrieve context based on both topical relevance and whether the information remains current.

The main distinction is state-aware retrieval. If two documents describe different values for the same setting, Membrick can infer that the newer value supersedes the older one when the documents establish the same semantic domain. Explicit supersession metadata remains authoritative. Older evidence is retained, allowing historical questions to recover superseded information without presenting it as the current answer.

The shared store lives under .membrick/memory/ within a project. Multiple supported coding-agent integrations can use that same store.

How it works

Membrick combines several signals when selecting context:

  • Relevance to the question
  • Evidence age and recency
  • Semantic relationships between facts and entities
  • Explicit or inferred supersession
  • The temporal intent of the query
  • Source and relationship evidence

Queries can ask for the current state or historical information. Relative time expressions are resolved against a reference clock, helping distinguish questions about the present from questions about an earlier project state. The system also surfaces corpus conditions such as contradictions, stale claims, terminology drift, orphan pages, and missing links.

The command-line interface can inspect a corpus, review or index a local repository, return query results, or produce LLM-ready context. A reproducible terminal example demonstrates current-state retrieval for conflicting retry-policy documents.

Setup and configuration

Install from GitHub with Cargo:

bash
cargo install --git https://github.com/RooAGI/Membrick

Useful starting commands include:

bash
membrick status .
membrick review /path/to/repo
membrick query "what is the current retry policy?" /path/to/repo/docs
membrick context "what is the current retry policy?" /path/to/repo/docs

Claude Code and Codex integrations are built with their corresponding Cargo features. Installation commands register the integration for a selected project. Existing legacy provider-specific stores can be migrated into the shared project memory directory on first run.

Tools and capabilities

The shared MCP controls include:

  • record_session, with start, stop, and status actions
  • list_memories, with a result limit
  • enable_membrick
  • disable_membrick
  • membrick_status

Supported agent integrations include Claude Code, Codex, Gemini CLI, Antigravity CLI, and Muse Code. Claude Code and Codex provide project memory, lifecycle capture, MCP tools, and replay or comparison. Gemini CLI, Antigravity CLI, and Muse Code provide project memory, lifecycle capture, and MCP tools.

Limitations and notes

Membrick is aimed at coding-agent workflows and local project corpora. Its benchmark material includes LongMemEval-S results, but provider-specific integration smoke tests are described as diagnostics rather than release benchmarks. Results must be compared using the same dataset scope, recall metric, and cutoff.

The shared store is project-scoped, so agents need to operate against the same project location to share memory. Historical information remains available, but current-state retrieval intentionally distinguishes it from superseded evidence.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Membrick

Membrick is an MCP server that connects AI coding agents to a persistent, project-scoped memory store. Its main tools record sessions, list memories, report status, and enable or disable Membrick at runtime. It also retrieves current, evidence-backed context while preserving superseded information for historical queries.

Install Membrick from GitHub with `cargo install --git https://github.com/RooAGI/Membrick`. You can then check or index a local corpus with `membrick status` or `membrick review`, and configure the supported agent integration using the project’s integration setup.

Yes, Membrick provides a Claude Code integration with project memory, lifecycle capture, MCP tools, and replay or comparison. Build with the `claude-code` Cargo feature, then run the Claude installation command for the target project.

Yes, Membrick supports both Codex and Gemini CLI. Codex provides project memory, lifecycle capture, MCP tools, and replay or comparison, while Gemini CLI provides project memory, lifecycle capture, and MCP tools.

Membrick ranks evidence using relevance, time, semantic relationships, and supersession. It can infer chronological replacement for claims in the same semantic domain, while explicit supersession metadata takes precedence. Older evidence remains available for historical queries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMembrick AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/membrick?style=directory)](https://allmcps.com/mcp/membrick)
HTML Embed
<a href="https://allmcps.com/mcp/membrick"><img src="https://allmcps.com/api/badge/membrick?style=directory" alt="Membrick on AllMCPs" /></a>