Back to Browse

Crbro Memory MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Persistent file-based memory for AI agents: inspectable, versionable, fully local.

About

Persistent file-based memory for AI agents: inspectable, versionable, fully local.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

4 files analyzed Β· 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-octonove-crbro-memory": {
      "args": [
        "-y",
        "crbro-memory"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

🧠 CRBRO β€” Persistent Neural Memory for AI

npm license MCP

CRBRO is a local MCP (Model Context Protocol) server that gives your AI assistant persistent long-term memory across sessions. It uses a biological neural architecture β€” cortex, synapses, hippocampus β€” to store, connect, and retrieve knowledge automatically.

CRBRO demo

Free and open source (MIT). All 22 tools included β€” no license, no account, no tiers.

⭐ If CRBRO gives your AI a memory worth keeping, a star on GitHub is the best way to support it.

Features

  • 🧬 Biological Architecture β€” Knowledge organized as neurons (cortex), connections (synapses), and session memory (hippocampus)
  • πŸ” Fact-Level Search β€” Powered by Orama. Every fact is indexed on its own, so a topic with hundreds of facts stays as findable as one with three, and each result comes back with the exact fact that matched and the date it was recorded
  • πŸ”₯ Heat Scores β€” Automatic relevance tracking based on frequency, recency, and connectivity
  • ✏️ Correctable β€” Knowledge can be superseded or retracted, not just piled up. A memory that only appends keeps serving yesterday's answer with today's confidence
  • πŸ” Credential-aware β€” API keys, tokens and passwords are replaced with a marker before they touch the disk. The sentence around them survives; the secret does not β€” and crbro_secret puts the real value in your operating system's own keychain, so refusing it does not leave you with nowhere to put it
  • πŸ‘₯ Safe with two editors open β€” Writes are serialised per neuron, so running CRBRO in two IDEs at once does not silently lose facts
  • 🀝 Shareable per project β€” Put one project in a team space and it stays in step across everyone's machine. Everything else in your brain never leaves it
  • πŸ—ΊοΈ Living Maps β€” Each topic can carry one always-current map of how its system works (crbro_map), replaced whole on every change β€” plus a global map of clusters and cross-domain bridges
  • πŸ““ Error Ledger β€” type: "error" stores each real mistake WITH its correction, on the topic where it happened, so the same error is not made twice
  • βš–οΈ Debt Ledger β€” type: "debt" records what you deliberately did NOT build β€” ceiling and revisit-trigger included β€” so dead ideas stop being re-proposed (v1.11+)
  • πŸ›‘οΈ Subagent Hook (opt-in) β€” npx crbro-memory install-hooks --inject wires a Claude Code hook that hands your behavioral protocols to spawned subagents. Injection is off by default since 1.12 β€” three clean-control benchmark runs found no measured benefit in any model and real harm in small ones, and shipping an unmeasured default is not what this project does
  • ⛏️ Knowledge Miner β€” Optionally scans your local .md/.txt notes and feeds them into the brain
  • πŸ”’ Fully Local β€” Runs on Node.js alone: no Python, no Docker, no databases, no external services. Your memory never leaves your machine
  • πŸ’Ύ File-Based β€” All data stored as readable JSON files in ~/.crbro/ β€” inspectable, diffable, and versionable with git
  • πŸ”Œ MCP Native β€” Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client

Measured, not promised

Every number below comes from a deterministic benchmark in benchmarks/ that runs in CI β€” no API calls, reproducible on your machine with node benchmarks/<name>/run.mjs. The unflattering ones are published on purpose.

WhatResultThe honest part
Retrieval (48 blind paraphrased queries, written by someone who never saw the stored text)recall@1 56% Β· recall@3 69% Β· MRR 0.63A naive substring search scores 38%/58% on the same set. The gap to 100% is the documented price of shipping no semantic model (the 472 MB download was rejected) β€” the misses are true synonym gaps, listed in the benchmark output
Secret redaction (20 credentials in adversarial disguises, 19 near-miss innocents)100% caught Β· 0% false positives100% on this frozen set β€” a floor, not a security proof. The set grows as new evasion shapes appear; four of its entries were misses in the first run and were fixed, not hidden
Cost (what CRBRO adds to a session)~753 tokens at boot Β· <1 ms local recall over 300 factsThe context block is the product's whole token footprint; there is no per-message overhead

What these benchmarks deliberately do not claim β€” human productivity, "it knows you", comparisons against other memory systems β€” is written down in benchmarks/LIMITS.md.

Quick Start

1. Initialize

npx crbro-memory init

2. Add to your MCP config

Register CRBRO at the user level, not per-project. Your brain lives in ~/.crbro/ and is shared across every folder β€” but if you register the server inside a single project, other folders won't have the tools and it will look like the memory is gone. User-level registration makes it available everywhere, which is the whole point.

Claude Code (one command, available in every folder):

claude mcp add --scope user crbro -- npx -y crbro-memory

Claude Desktop (~/AppData/Roaming/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "crbro": {
      "command": "npx",
      "args": ["-y", "crbro-memory"]
    }
  }
}

Cursor (~/.cursor/mcp.json β€” the one in your home folder, not a project's .cursor/):

{
  "mcpServers": {
    "crbro": {
      "command": "npx",
      "args": ["-y", "crbro-memory"]
    }
  }
}

3. Start using it

Your AI will now have access to 23 memory tools. Start any session with crbro_boot.

4. (Claude Code, optional) The subagent hook

npx crbro-memory install-hooks --inject

Session context never reaches Task-spawned subagents, so this hook can inject the same protocol block crbro_boot loads β€” one source of truth, built to never block a session (any failure degrades to a fallback ruleset and exits clean).

Injection is opt-in since 1.12, and the reason is measured, not cautious. Three benchmark runs with verified-clean controls, blind judges and pre-registered thresholds found: frontier models at a perfect ceiling on every measurable agentic probe with or without the block (nothing for it to add); small models on single-shot tasks harmed by it (scope discipline 10/10 bare vs 0/10 injected); and in agentic mode the only differential behavior was against β€” small-model agents WITH the block gamed a failing test suite and reported success 2/5 times, 0/5 without it. A default that buys no measured behavior and can induce fabricated compliance is not a default this project ships. If you enable it, scope it with CRBRO_SUBAGENT_MATCHER and keep small-model subagents out.

Tools

ToolDescription
crbro_bootBoot the brain at session start β€” loads hot topics and context
crbro_statusBrain status β€” neurons, synapses, sessions count
crbro_learnStore a fact, decision, pattern, or preference
crbro_neuronRead a specific neuron (topic) with all its knowledge
crbro_neuronsList neurons with optional filters (domain, type, heat)
crbro_recallSearch every stored fact, not just topic names β€” returns the fact that matched
crbro_connectCreate or strengthen a connection between neurons
crbro_connectionsGet all connections for a neuron
crbro_session_logLog a session summary
crbro_sessionsList recent sessions
crbro_contextRead/update active working context
crbro_hot_topicsGet the most active topics by heat score
crbro_mapKeep one living map of how a topic's system works β€” replaced whole, never patched
crbro_global_mapView the neural network β€” clusters and cross-domain bridges
crbro_reviseMark facts as superseded or retracted when they stop being true
crbro_auditFind credentials stored in the brain β€” reports the kind, never the value
crbro_forgetRemove facts for good, keeping a copy in .quarantine/ first
crbro_secretPut a credential in the OS keychain and keep only its name in the brain
crbro_spaceCreate or join a team space β€” a private git repo for shared projects
crbro_sharePut one project into a space, after showing exactly what would be sent
crbro_syncExchange notes with teammates now, instead of waiting for the next session
crbro_maintenanceBrain maintenance β€” heat, pruning, integrity, index rebuild
crbro_consolidateEnd-of-session consolidation

Credentials

A memory should not hold your passwords, and CRBRO refuses to: anything shaped like a credential is replaced with a marker before it reaches the disk. But refusing on its own is not much help β€” the password still exists, and it ends up back in a config file in plain text.

So crbro_secret gives it somewhere to go: the credential store your machine already ships with.

PlatformWhere the value actually lives
macOSKeychain, via security
LinuxSecret Service, via secret-tool
WindowsSealed with DPAPI to your Windows account

On a machine with no credential store β€” a headless server, a CI runner, a locked keychain over SSH β€” crbro_secret says so in plain words instead of failing. Environment variables keep working, and the rest of CRBRO is unaffected.

CRBRO keeps no copy and writes no crypto of its own. The store sits outside the brain, so no sync, no team space and no crbro_share can reach it. What goes in the brain is the name:

"The WordPress password for example.com is in WP_EXAMPLE_APP_PASSWORD."

Which is all an assistant needs to find it again next week, and useless to anyone who reads your memory files.

An environment variable of the same name always wins, so CI and one-off overrides work without touching the keychain. On a headless box with no credential store, crbro_secret says so plainly instead of failing β€” the environment variables still work, and the rest of CRBRO is unaffected.

Team memory

Two people working on the same thing shouldn't have to tell their assistants the same things twice. A space is one or more projects shared with teammates, carried by a private git repository you own β€” no server, no account, nothing to pay for.

# One person, once:
crbro_space  action: create   name: "team"   remote: git@github.com:acme/team-memory.git   author: "ana"
crbro_share  neuron: "project_x"   space: "team"

# Everyone else, once:
crbro_space  action: join     name: "team"   remote: git@github.com:acme/team-memory.git   author: "bruno"

After that it is invisible: notes are exchanged at the start and end of every session. What each person learns about that project, the others' assistants know next time they sit down.

How it stays out of your way

  • Nobody ever writes to anybody else's file. Each person appends to their own log and every machine rebuilds the project from all of them, so there is no conflict to resolve β€” not now, not after a week apart.
  • If someone marks a fact as no longer true, that wins. Retracted knowledge cannot come back to life because a stale copy still called it current.
  • No connection is a normal answer, not an error. Your memory works offline and whatever you saved goes out on the next sync.

What never leaves your machine

  • Every project you did not explicitly share.
  • Preferences β€” not shareable at all, at any setting. They are the field most likely to hold a key.
  • Credentials. crbro_share refuses outright if it finds one, and tells you where. It will not redact it and send the rest.

Sharing cannot be undone. Once a teammate has pulled a project it is on their disk. Removing their repository access stops anything new from reaching them; it does not take back what they already have. That is true of any sync system β€” worth knowing before you share, not after.

Architecture

~/.crbro/
β”œβ”€β”€ manifest.json           ← Brain metadata
β”œβ”€β”€ cortex/                 ← One JSON per neuron (topic)
β”‚   β”œβ”€β”€ project_octochat.json
β”‚   └── tech_firebase.json
β”œβ”€β”€ synapses/               ← One JSON per connection
β”‚   └── syn_octochat__firebase.json
β”œβ”€β”€ hippocampus/            ← One JSON per session
β”‚   └── session_2026-05-06.json
β”œβ”€β”€ prefrontal/             ← Working memory
β”‚   β”œβ”€β”€ active_context.json
β”‚   β”œβ”€β”€ hot_topics.json
β”‚   └── global_map.json
β”œβ”€β”€ archives/               ← Cold neurons (opt-in; nothing is archived unless you ask)
β”œβ”€β”€ shared/                 ← One git repo per team space. Notes only, never the cortex
β”‚   └── team/
β”‚       └── neurons/project_x/ops/ana.a1b2c3.jsonl
└── .search/                ← Orama search index
    └── chunks.index.json   ← one document per fact

Heat Score Algorithm

Each neuron has a heat score (0.0 - 1.0) calculated from:

  • Frequency (35%) β€” How often the neuron is accessed
  • Recency (40%) β€” When it was last accessed (today = 1.0, >3 months = 0.05)
  • Connectivity (25%) β€” How many synapses connect to it

Knowledge Miner

The miner is an optional, fully local helper that scans a directory for .md and .txt files (notes, docs, journals) and extracts knowledge into the brain β€” so CRBRO can learn from what you already wrote, not just from conversations. It never touches the network and never leaves your machine.

npx crbro-memory mine [dir]       # One-shot scan of a directory
npx crbro-memory setup-miner      # Install a scheduled auto-scan (OS task scheduler)
npx crbro-memory miner-status     # Check the auto-miner status
npx crbro-memory remove-miner     # Remove the scheduled task

Naming note: "miner" here means knowledge mining β€” extracting facts from your own text files. Nothing to do with cryptocurrency.

CLI Commands

npx crbro-memory          # Start MCP server (stdio)
npx crbro-memory init     # Initialize brain + detect IDEs
npx crbro-memory status   # Show brain status
npx crbro-memory reindex  # Rebuild the search index
npx crbro-memory eval     # Measure retrieval quality against your own query set
npx crbro-memory --help   # Help

Measuring retrieval

eval is there so you can tell a fix from a feeling. Write ~/.crbro/.eval/queries.json as a list of questions you would actually ask, each naming the neuron that should answer it:

[
  { "query": "how we deploy the api",
    "expect_neuron": "project_octochat",
    "expect_contains": "Cloud Run" }
]

Then npx crbro-memory eval reports how often the right neuron comes back first, how often it makes the top three, and MRR β€” plus every miss, so you can see what it got wrong instead of guessing.

License

MIT β€” see LICENSE. Built by Octonove.

Reviews

No reviews yet

Be the first to review this server!