Membrick

Developer toolsMemory and knowledge

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

Your AI app calls the Membrick MCP server, which does the developer tools and memory and knowledge work and sends the result back to the chat.

About Membrick

Membrick is a community MCP server from RooAGI, filed in our directory under developer tools and memory and knowledge. Persistent memory layer for AI coding agents, current-state retrieval that knows what is still true. Claude Code, Codex, Gemini CLI.

At a glance

Publisher
RooAGI (community)
Runs
See the README for setup
Written in
Rust
License
Apache-2.0
GitHub stars
280

How to set up Membrick

  1. Follow the install steps in the Membrick README; it is written in Rust, so have that toolchain ready.
  2. Check the Membrick README for keys or settings; the registry lists none that Membrick requires.
  3. Add Membrick to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Membrick tools to confirm the connection.
  5. Run one read-only task with Membrick first, and keep your app asking before each tool call until the results look right.

Membrick compared with similar servers

  • Codespar C6 by codespar has fewer GitHub stars than Membrick (278 against 280); both are community servers, and both run locally.
  • Idx by fzn0x has fewer GitHub stars than Membrick (280 against 280); both are community servers, and both run locally.
  • Correios by codespar has fewer GitHub stars than Membrick (278 against 280); both are community servers, and both run locally.

Before you connect Membrick

  • Give Membrick its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Membrick tool call until you trust what it does with them.
  • Treat text that Membrick fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Membrick on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Membrick

How marketing and sales teams put Membrick to work, by company size. Pick the size closest to yours and start Membrick on one use case.

Small business

  • A small business with a developer can use Membrick to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Membrick to explain and fix a marketing site issue without context switching between tools.
  • A small business can give Membrick its offers, FAQs and tone of voice once, so every draft starts from the same facts.
  • Membrick runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Membrick to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Membrick to keep scripts and automations documented and versioned as they change.
  • Marketing teams can connect Membrick to positioning docs and past campaigns, so agents write on message without a long prompt each time.
  • Start Membrick on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Membrick with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Membrick so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can use Membrick with permissions that follow the source documents, so an agent only recalls what the person asking may see.
  • Membrick is a community server, so have security review the code and pin a version before Membrick touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Membrick README

From RooAGI/Membrick on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Documentation (rooagi.github.io/Membrick) · Quickstart · Agent integrations · Benchmarks · Discussions

  • MCP Registry name: mcp-name: io.github.RooAGI/membrick

Membrick: persistent memory for AI coding agents

One memory for every agent. 75% fewer tokens.

8 agent harnesses. 1 shared project memory. No embedding, database, or server setup.

Membrick is open-source, local-first AI agent memory for Claude Code, Codex, Gemini CLI, Antigravity, Muse Code, OpenClaw, Hermes, and RooAGI AgentFlow. It remembers your project's decisions, sessions, docs, and code across sessions, and gives your agent the current answer instead of a stale one. One memory, shared by every agent, stored locally in your project. No hosted cloud, no data leaves your machine.

The problem: your project changes its mind

Monday's doc says gateway timeout retries are 5. Friday's says 2. Both are still in the repo, and a normal search returns either one and leaves the model to guess.

Membrick keeps 2 as the current answer and 5 as history. That is the whole point: memory that knows what is still true.

It works anywhere project truth changes over time: architecture decisions, API contracts, config values, runbooks, ownership, terminology, plans.

What it does

  • Remembers sessions, decisions, docs, and code across sessions
  • Ranks current evidence ahead of superseded guidance, with sources
  • Answers "is this still true?" instead of just "is this similar?"
  • Catches contradictions, stale claims, terminology drift, and orphan pages
  • Stays local and inspectable: a dashboard shows what is in memory

Quickstart

cargo install --git https://github.com/RooAGI/Membrick
membrick install claude /path/to/project
membrick query "what is the current retry policy?" /path/to/project

See the CLI reference and full quickstart for Docker, HTTP, Python, Rust, and MCP setup.

Agent integrations

Integration Project memory Lifecycle capture MCP tools Replay
Claude Code Yes Yes Yes Yes
Codex Yes Yes Yes Yes
Gemini CLI Yes Yes Yes ,
Antigravity CLI / AGY Yes Yes Yes ,
Muse Code Yes Yes Yes ,

Plus OpenClaw, Hermes, and RooAGI AgentFlow: all eight share the same .membrick/memory/ store, so a decision recorded by one agent is visible to the others.

Lifecycle capture saves every transcript message into searchable turn documents (Claude Code and Codex; other agents save what their payloads provide), plus the session summary. Capture is verbatim: no observer LLM compresses your sessions. record_session is separate, an opt-in replay log.

membrick install also installs 20 skills (.claude/skills/, .agents/skills/), including membrick-search and membrick-memory, which enforces MCP-first search. They wrap the MCP tools; they do not learn new skills on their own. The learning signal that exists is the search-feedback loop, reviewed in the dashboard.

All agents share one project store: /path/to/project/.membrick/memory/. Legacy per-provider stores are migrated on first run.

Dashboard

The local server serves a read-only dashboard at /dashboard. Find its URL in .membrick/server.toml (dashboard_url). Four views: Overview, Index, Providers, Search reviews. Data refreshes every five seconds.

See observability.

Benchmarks

LongMemEval-S, 500 questions, 2026-10-16, heuristic backend, no embeddings: any-hit Recall@5 / @10 / @20 96.6% / 98.8% / 100.0%, MRR 88.85%, NDCG@10 87.91%, mean search 3.48 ms. github.com/RooAGI/Membrick/blob/main/docs

LoCoMo agentic evaluation, 1,540 questions, reader and judge both Muse, up to 5 search rounds: 78.5% overall (single-hop 86.4%, multi-hop 60.6%, temporal 80.7%, open-domain 54.2%). Not directly comparable to Letta's 74.0% or Mem0's 92.5%, which use different readers, judges, and protocols. BEAM has not been run. github.com/RooAGI/Membrick/blob/main/docs

Retrieval cost, same 1,540 questions, k=3: about 1,196 tokens per search (chars/4 estimate; median 1,198, p95 1,647), about 6,948 per question at ~5.8 searches each. Mem0 reports ~6,956 tokens per query on LoCoMo, so per search we run ~6x lighter; per question it comes out about even.

Token savings, same routing-decision-supersession scenario, diagnostics not guarantees: Claude, 3 runs per setup, fresh input tokens 128 → 32 (-75.0%), overall tokens 2,884,478 → 605,686 (-79.0%), tool calls 65 → 14, recall 9/9. Codex, 1 run per setup, overall tokens 313,066 → 196,102 (-37.4%), tool calls 7 → 4, recall 3/3. No single token-savings headline: the figures differ by provider and run count. Claude · Codex

How it works

Sessions, docs, code, and traces go in. Facts, entities, symbols, and time come out. Links, ownership, and supersession connect them. Search returns ranked, sourced, current context.

Search is keyword-based plus entity and graph signals. No embeddings, no vector database, no neural reranker. Follow-up questions inside a session get reranked by default. Chunking is heading / line based, with a symbol index; not AST-aware. github.com/RooAGI/Membrick/blob/main/docs/chunk-strategy.md

Use it from your stack

# CLI
membrick query "what is the current retry policy?" /path/to/repo

# Docker / HTTP (team server: self-hosted, token or JWT auth)
export SERVER_TOKEN=local-dev-token
docker compose up --build -d
curl http://127.0.0.1:8080/health
import membrick
memory = membrick.Memory(path=".")  # this project's resident
memory.add([{"role": "user", "content": "Docker runs on Ubuntu hosts"}], user_id="user-1")
print(memory.search("docker ubuntu", user_id="user-1", top_k=5))
# Remote server: membrick.Memory(base_url="http://127.0.0.1:8080", api_key="local-token")
use membrick::{MemoryService, PipelineOptions};
let mut memory = MemoryService::in_memory(PipelineOptions::default());
// upsert documents, refresh, search_with_filters, see docs/memory-service-api.md

See the HTTP server guide and full quickstart.

Project status

Current release: v0.10.1, published on crates.io, npm, and PyPI. Apache-2.0.

Membrick is under active development. The release query path uses the heuristic backend; experimental model-backed query semantics stay separate.

License

Apache-2.0

Questions about Membrick

What is the Membrick MCP server?

Persistent memory layer for AI coding agents, current-state retrieval that knows what is still true. Claude Code, Codex, Gemini CLI. Membrick is maintained by RooAGI on GitHub at RooAGI/Membrick, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Membrick MCP server?

Membrick doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (RooAGI/Membrick). Like most servers, Membrick ends with a command or URL you paste into your AI app's MCP config.

Does Membrick need an API key?

The registry lists no required keys for Membrick. Check the Membrick README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Membrick an official MCP server?

No. Membrick is a community server maintained by RooAGI. Community servers can be excellent; read the code and the open issues before you give Membrick access to company data.

What license is Membrick under?

Membrick is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Membrick; the service it connects to has its own terms.