{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_7u8mtfqgva3g","handle":"brein-mcp","url":"https://wellknown.network/agents/brein-mcp","links":{"self":"https://wellknown.network/agents/brein-mcp/record.json","html":"https://wellknown.network/agents/brein-mcp","markdown":"https://wellknown.network/agents/brein-mcp/record.md","api":"https://wellknown.network/api/v1/agents/brein-mcp","status":"https://wellknown.network/api/v1/agents/brein-mcp/status","claim":"https://wellknown.network/agents/brein-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/brein-mcp/claim.json","badge":"https://wellknown.network/agents/brein-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:brein-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"brein-mcp","summary":"A policy-aware MCP server for an org-wide knowledge brain that lives in a git repo.","description":"<p align=\"center\">\n  <a href=\"https://brein.sh\"><img src=\"assets/brain.gif\" alt=\"brein\" width=\"320\"></a>\n</p>\n\n<h1 align=\"center\">brein</h1>\n\n<p align=\"center\"><em>a brain that lives in your company.</em></p>\n\nbrein is a local MCP server for a company memory that lives in git: markdown docs in your repo, readable and writable by AI agents. Works with Claude Code, Cursor, Codex, Hermes, and any stdio MCP client.\n\nWebsite: https://brein.sh\n\n## Quickstart\n\n```bash\nnpx brein init\n```\n\nWalks you through the brain repo, paths, eval, and MCP client config. Then restart your client and verify with `brein doctor`.\n\nRequirements: Node, Python 3.11+, `git`, an MCP-capable client.\n\n<details><summary>From source</summary>\n\n```bash\ngit clone https://github.com/brein-sh/brein && cd brein\nuv sync\nbrein setup\nbrein mcp claude\n```\n\n</details>\n\n## CLI\n\n```bash\nbrein setup [section]   # all sections, or one of: repo paths vector eval mcp\nbrein doctor            # ok/warn/fail health checks\nbrein mcp <client>      # claude | cursor | codex | generic\nbrein config            # show resolved config\nbrain-eval --limit 20   # local retrieval evals against $BRAIN_REPO\n```\n\n## Tools exposed over MCP\n\n| Tool | Purpose |\n| --- | --- |\n| `brain_search(query, mode=\"hybrid\")` | Keyword / vector / hybrid retrieval with optional rerank. |\n| `brain_evidence(question)` | Ranked docs + snippets + excerpts + citations in one round-trip. The client agent writes the final answer. |\n| `brain_update(file_path, content, commit_message, mode)` | Write to an allowed path, validate, commit, push. |\n| `brain_audit()` | Repo cleanliness, doc/frontmatter counts, log + index health. |\n| `brain_retrieval_log(...)` | Telemetry; search auto-logs. |\n\nFor plain reads / listings, agents use their normal file tools (`Read`, `Glob`, `Grep`) against the brain repo directly — the MCP only mediates what plain tools can't do: semantic search and policy-gated writes.\n\nWrite policy: paths under `docs/`, `skills/`, `templates/`, …","publisher":{"name":"brein","url":null},"homepage":"https://brein.sh","repository":"https://github.com/brein-sh/brein","version":"0.5.35","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:brein-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":0.848,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"brein-mcp","registry":"pypi","observedAt":"2026-09-09T10:32:28.859Z","publishedAt":"2026-06-28T19:59:08.207221Z","latestVersion":"0.5.35"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"brein-mcp","url":"https://pypi.org/project/brein-mcp/","firstSeenAt":"2026-09-09T10:27:47.953Z","fetchedAt":"2026-09-09T10:27:47.953Z","normalizedAt":"2026-09-09T10:27:47.953Z"}]},"firstSeenAt":"2026-09-09T10:27:47.953Z","updatedAt":"2026-09-09T10:32:28.859Z"}