Brainbox MCP server
io.github.thebasedcapital/brainbox·v0.1.6·13 starsHebbian memory for AI agents. Learns file patterns, predicts next tools, saves tokens.
13 stars153 downloads/wk
Reviews
Write oneNobody has reviewed Brainbox yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Brainbox tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scansource not scanned: tarball over 25MB20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 218 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumnpm install lifecycle script present
install.script
How Brainbox compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 68/100
- higher than 30% of 48,255 servers
- GitHub stars
- 13
- more than 89% of 28,688 servers
- Downloads a week
- 153
- more than 71% of 12,191 servers with a package
Install Brainbox in Claude Code, Cursor or VS Code
Runs npx -y brainbox-hebbian on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add brainbox -- npx -y brainbox-hebbian
What the publisher says
From the Brainbox repository's README, as published. We do not edit it. Read it on GitHub
BrainBox
Hebbian memory for AI coding agents. Learns which files you access together, which errors lead to which fixes, and which tool chains you use most — then recalls them instantly.
Not a vector database. Not RAG. Procedural memory.
If BrainBox saved you tokens, give it a star — it helps others find it.
Built by @thebasedcapital
Session 1: agent greps for auth.ts, reads it, edits it (2000 tokens)
Session 5: agent recalls auth.ts directly, skips search (500 tokens saved)
Session 20: auth.ts is a superhighway — instant recall, zero search costInstall
npm install brainbox-hebbianThat's it. The postinstall script automatically:
- Adds PostToolUse hook to ~/.claude/settings.json (learns from every file read/edit/search)
- Adds UserPromptSubmit hook (injects neural recall into prompts automatically)
- Registers the MCP server via claude mcp add (6 tools for manual recall/recording)
- Creates ~/.brainbox/ database directory
BrainBox learns passively from your next Claude Code session. No configuration needed.
What does NOT happen automatically
The macOS daemon (system-wide FSEvents file watcher) is completely separate and opt-in:
# Only if you want BrainBox to learn from VS Code, Xcode, vim, shell, etc.
brainbox daemon install # installs LaunchAgent, starts watching
brainbox daemon status # check if running
brainbox daemon uninstall # remove completelyThe daemon watches file changes across all your editors — not just Claude Code. It requires explicit opt-in because it registers a LaunchAgent and monitors your configured project directories.
Uninstall
brainbox uninstall # removes hooks + MCP server, preserves databaseSeed from git history (recommended)
Kill cold start by bootstrapping from your existing git history:
brainbox bootstrap --repo /path/to/project --importsThis seeds the neural network from git commit co-changes and import graphs so BrainBox starts with knowledge instead of from zero.
How It Works
BrainBox implements neuroscience-inspired learning:
- Neurons — files, tools, and errors you interact with
- Synapses — connections formed when things are accessed together ("neurons that fire together wire together")
- Myelination — frequently-used paths get faster (like muscle memory)
- Spreading activation — recalling one file activates related files
- Decay — unused connections weaken naturally, keeping the network clean
Hebbian Learning in Action (click to play)
https://github.com/thebasedcapital/brainbox/raw/main/assets/brainbox-animation.mp4
Spreading Activation — recalling one file activates related files through synaptic connections
https://github.com/thebasedcapital/brainbox/raw/main/assets/brainbox-spreading.mp4
Superhighway Formation — frequently-used pathways become instant-recall superhighways
https://github.com/thebasedcapital/brainbox/raw/main/assets/brainbox-superhighway.mp4
Error-Fix Immune System — remembers which files fixed which errors
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Brainbox: common questions
- Is Brainbox MCP server safe?
- With care: it is graded C, so read the findings first (68/100). Read the Brainbox safety report
- How do I install Brainbox?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Brainbox need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Brainbox maintained?
- The last commit was 255 days ago (2026-02-22). The latest release is v0.1.6.
- What can I use instead of Brainbox?
- Servers from other publishers that do the same job: Codebase Memory MCP server, Honcho MCP server and Token Optimizer MCP server.
- How does Brainbox compare with other MCP servers?
- safety score 68/100 (higher than 30% of 48,255 servers); github stars 13 (more than 89% of 28,688 servers); downloads a week 153 (more than 71% of 12,191 servers with a package). Full comparison.
Alternatives to Brainbox
Same job from other publishers: the closest match first, then the best rated.
- Codebase MemoryCodebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.not reviewedWidely usedC
- HonchoMemory that reasons: continual learning for stateful agents. Better context, fewer tokens.not reviewedEstablishedA
- Token OptimizerContext-window optimization: caching, compression & smart file tools that cut tokens 60-90%.not reviewedEstablishedC