brain0
Passive decision graph linking git commits to coding-agent prompts and context.
Install
See the repository for setupWhat it does
brain0 is a local, passive observer for repositories worked on by coding agents. It reads git history and the transcripts that agents such as Codex and Claude Code already write to disk, then builds a graph connecting commits, files, and symbols to the prompts and sessions behind them. No hooks, agent cooperation, or code changes are required.
It is aimed at developers and teams who need to know why an AI-written change happened, which session touched a given function, or whether an agent actually did what it claimed. It also records which files and secret kinds each session read, and assigns risk scores that update as reverts or fixes arrive.
You run it with npx brain0 up from any repository; the GUI opens at localhost:8787. Commands include today, report, query, and guard. The brain0 mcp command exposes a stdio MCP server with context, blame, debug, and audit tools for clients such as Claude Code. Installation needs Node.js 20 or newer (not musl/Alpine) and git; Ollama models improve summaries and search but are optional, and operation is offline by default.
Limitations: it only sees transcripts from supported agents, so read tracking is a lower bound rather than proof. Egress and storage choices are configurable, and raw prompt text is not kept.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 278
- Last push
- Nov 10, 2026
- License
- Apache-2.0
- Archived
- No
Other Ollama MCP servers
Compare serversFAQ
- What license does brain0 use?
- Apache-2.0
- Does brain0 run locally or remotely?
- It runs locally.
- Is brain0 an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/brain0"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.