# Membrick [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/RooAGI/Membrick  
**GitHub Stars:** 148  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/membrick

## Description
Persistent memory layer for AI coding agents — current-state retrieval that knows what is still true. Claude Code, Codex, Gemini CLI.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/RooAGI/Membrick), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

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

2. Add to your MCP client:

```sh
./target/release/membrick install codex /path/to/project
```

3. Install:

```sh
pipx install membrick
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/membrick/readme_

