{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_6g67ezzzzvhz","handle":"projectbrain-mcp","url":"https://wellknown.network/agents/projectbrain-mcp","links":{"self":"https://wellknown.network/agents/projectbrain-mcp/record.json","html":"https://wellknown.network/agents/projectbrain-mcp","markdown":"https://wellknown.network/agents/projectbrain-mcp/record.md","api":"https://wellknown.network/api/v1/agents/projectbrain-mcp","status":"https://wellknown.network/api/v1/agents/projectbrain-mcp/status","claim":"https://wellknown.network/agents/projectbrain-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/projectbrain-mcp/claim.json","badge":"https://wellknown.network/agents/projectbrain-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/projectbrain-mcp/history","tools":"https://wellknown.network/api/v1/agents/projectbrain-mcp/tools"},"ard":{"identifier":"urn:air::server:projectbrain-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"projectbrain-mcp","summary":"Surgical AST Context Compiler, Closed-World Dossier & Anchor Patch Engine for AI Coding Agents (-75% to -88% tokens)","description":"# ProjectBrain (`projectbrain-mcp`) \n \n[![PyPI](https://img.shields.io/pypi/v/projectbrain-mcp.svg)](https://pypi.org/project/projectbrain-mcp/) \n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) \n[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) \n \n**Local-First AST Context Compiler, Closed-World Engineering Dossier, and Surgical Anchor Patch Engine for AI Coding Agents.** \n \nProjectBrain indexes your codebase into a typed AST & call-graph (`file`, `fn`, `cls`, `route`, `mod`) in `~90ms` using pre-compiled `tree-sitter` C wheels—no external database, no Docker, no vector embeddings, and no LLM required. It cuts coding-agent token bills by **60%–65%** while speeding up multi-file debugging and editing by **30%–42%**: \n \n- **Input Token Reduction (`-81.3%` to `-88.3%` code tokens, `-73.2%` to `-76.3%` billed prompt tokens):** Compiles module constants, smart-folded AST function slices, 1–3 hop bidirectional call chains with `@L<line>` caller windows, and a **Closed-World Exhaustive Repo Scan** into a single `<800`-line `.projectbrain_dossier.md` read in **1 `read_file` call**. \n- **Output Token Reduction (`-63.2%` to `-77.3%` edit output tokens):** Replaces verbatim `Target` + `Replacement` repetition (`edit_file`) with a compact Anchor Patch DSL (`@file`, `@sub`, `@replace`, `@insert_after`, `@delete`) validated by Tree-sitter in `<5ms`. \n- **Live ROI & Token Savings Ledger (`projectbrain stats --summary`):** Tracks cumulative input/output tokens saved, file reads avoided, estimated USD saved, and developer wait-time saved in `.projectbrain_ledger.json`. \n \n--- \n \n## Step-by-Step Setup Guide (60 Seconds) \n \n### Step 1: Install from PyPI \n \nInstall `projectbrain-mcp` globally (or in your active Python environment): \n \n```bash \npip install projectbrain-mcp \n``` \n \n*(Alternatively, use `pipx install projectbrain-mcp` or `uv tool install projectbrain-mcp`.)* \n…","publisher":null,"homepage":null,"repository":null,"version":"0.2.3","license":"MIT","protocols":["mcp"],"tags":["ai","agents","mcp","ast","tree-sitter","context-compression","code-graph","llm"],"pricing":null,"endpoints":[{"url":"pypi:projectbrain-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"knowledge.knowledge-graph","name":"Knowledge Graphs","confidence":0.997,"provenance":"derived"},{"slug":"data.vector-search","name":"Vector Search","confidence":0.825,"provenance":"derived"},{"slug":"content.writing","name":"Writing & Editing","confidence":0.802,"provenance":"derived"}],"categories":["content","data","knowledge"],"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":"projectbrain-mcp","registry":"pypi","observedAt":"2026-10-28T20:23:00.390Z","publishedAt":"2026-10-21T17:51:58.121965Z","latestVersion":"0.2.3"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"projectbrain-mcp","url":"https://pypi.org/project/projectbrain-mcp/","firstSeenAt":"2026-10-22T18:26:32.753Z","fetchedAt":"2026-10-28T20:21:18.013Z","normalizedAt":"2026-10-28T20:21:18.013Z"}]},"firstSeenAt":"2026-10-22T18:26:32.753Z","updatedAt":"2026-10-28T20:23:00.390Z"}