robrain
local MCP serverrobrain is a local MCP server: Self-hosted decision memory for AI coding agents; warns before re-proposing a rejected approach. Install it from npm as robrain.
Installation
Terminal
claude mcp add robrain -e PERCEPTION_API_URL=... -e PERCEPTION_API_KEY=... -- npx -y robrain
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"robrain": {
"command": "npx",
"args": [
"-y",
"robrain"
],
"env": {
"PERCEPTION_API_URL": "...",
"PERCEPTION_API_KEY": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
PERCEPTION_API_URL,PERCEPTION_API_KEY
Summary
Self-hosted decision memory for AI coding agents; warns before re-proposing a rejected approach.
robrain vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| robrain | 81 | Local | Yes | npm |
| Selvedge | 24 | Local | Yes | pypi |
| Lockstep | 10 | Local | Yes | npm |
| projectmem | 844 | Local | No | pypi |
| tradememory-protocol | 1,424 | Local | No | pypi |
Questions
It reads 2 environment variables: PERCEPTION_API_URL, PERCEPTION_API_KEY. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
robrain is a local MCP server distributed as the npm package robrain.
Run: claude mcp add robrain -e PERCEPTION_API_URL=... -e PERCEPTION_API_KEY=... -- npx -y robrain
Run: codex mcp add robrain --env PERCEPTION_API_URL=... --env PERCEPTION_API_KEY=... -- npx -y robrain
Similar MCP servers
NameStars
- Selvedgeio.github.masondelan/selvedge24
- Lockstepio.github.lockstep-team-agent/lockstep10
- projectmemio.github.riponcm/projectmem844
- tradememory-protocolio.github.mnemox-ai/tradememory-protocol1,424
- deja-vuio.github.vshulcz/deja-vu1,076
- misakanetio.github.Ikalus1988/misakanet514
- PMB AIio.github.oleksiijko/pmb-ai280
- coreio.github.omega-memory/core218