repoctx — layered diagram

Local-first repository intelligence: discover code, build context for agents, predict impact, and gate merges — via CLI, MCP, or CI.

ENTRY DISCOVER CONTEXT IMPACT REVIEW OUTPUT CLI repoctx … MCP repoctx mcp CI init scaffold inspect repo facts index catalog search symbols map AST graph context task pack harness scripts workspace multi-repo impact blast radius review ctx diff pack verdict composite gate merge ready .dev-context artifacts PR comment GitHub Actions verdict PASS · WARN · FAIL

Animated workflow

1
ConnectInstall CLI or wire MCP host · optional init scaffold for CI + hooks
2
DiscoverInspect repo shape · index catalog · search symbols
3
ContextGenerate maps, task packs, harness commands before the agent edits
4
ImpactPredict touched files, tests, and risk-sensitive paths
5
Review & gateBuild PR context · run merge gate · emit composite verdict
6
EvidenceArtifacts in .dev-context/, PR comments, CI verdict for merge

MCP server

stdio MCP host for Cursor, VS Code, Claude Desktop. Exposes repo_inspect, context_pack, change_impact, review_gate, review_verdict, and 6 more v2 tools.

repoctx mcp context_pack review_gate