trailhq/Graft
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase. observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 99
- Release rhythm 35
- Longevity 4
Flags: no_releases young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 61
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
4948 stars · 439 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Graft is an open-source context layer for large codebases that builds a deterministic code graph using tree-sitter AST parsing and exposes it via an MCP server and CLI. It integrates with coding agents like Claude Code, Cursor, Codex, and Gemini to reduce token usage, latency, and cost while improving correctness.
Use cases
- give claude code contextual understanding of my codebase
- reduce token costs when using coding agents on large repos
- find the blast radius of a symbol before refactoring
- speed up agent cold starts instead of grepping from scratch
- run an mcp server that maps my repository structure
- make cursor or codex cheaper and faster on my project
When to choose
- you use AI coding agents on large codebases and want lower cost and latency
- you want a fully local, deterministic code context layer without vector embeddings
- you need impact analysis across 20+ languages via tree-sitter
When to avoid
- you need semantic/embedding-based code search rather than structural graph context
- your project is small enough that agents already work fine without extra context
- you need an IDE plugin with a GUI rather than a CLI/MCP integration
Facets
cli-tool · maturity active
mcp parser developer-tools search-engine cli developer-tools large-language-models parsers apis cli cross-platform windows code-graph context-engineering knowledge-graph tree-sitter claude-code cursor codex gemini coding-agents impact-analysis mcp-server local-first ai-agents nodejs macos linux
2 sources
- readme: https://github.com/trailhq/Graft · fetched 2026-08-28 · 2f1fbf43ffd5
- homepage: https://graft.nanonets.ai · fetched 2026-08-29 · 6bfdb893ead3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trailhq/Graft | main | 58 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem