Agent Shipped

Directory · MCP servers

Trail-code (formerly graft)

Local code graph and team learnings layer that gives Claude Code, Cursor, Codex and other agents codebase context via hooks and MCP.

★ 11,536 stars · last updated 2026-11-28 · Free, open source · View on GitHub

Best for

Install

npm install -g @trailhq/trail-code && trail init

Our take

Builds a deterministic tree-sitter graph of files, functions and callers across 23 languages, stored as plain markdown files, with no model or API key needed for the base map; Claude Code gets hooks while other agents use MCP tools. The README reports benchmark gains (including SWE-bench Verified 33/50 vs 27/50) measured by the authors. Renamed from graft with old commands still working; includes anonymous opt-out telemetry, and optional deep summaries require your own model provider key.

Similar mcp servers

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.