Vibe Coding Discover

AI Coding

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

★ 9.2K840 forksTypeScriptMITtrailhq

Graft is a TypeScript CLI that builds a linked-markdown context graph of your codebase with tree-sitter, then feeds it to Claude Code, Cursor, Codex and other agents via hooks or an MCP server. It aims to cut agent token cost, latency and tool calls while improving multi-file correctness.

Use Cases

Cut token and tool-call cost for coding agents on large reposSpeed up Claude Code sessions with pre-built repo contextAnswer codebase questions with graft ask/grepAnalyze change blast radius before editingVisualize code architecture with graft vizNavigate monorepos and multi-repo foldersExpose code graph to any agent via MCP serverKeep repo context fresh against uncommitted edits

Built With

Language
TypeScript
Frameworks
Claude Code · Cursor · Codex · Gemini CLI · MCP · tree-sitter · Anthropic SDK · OpenAI SDK · Node.js

Tags

claude-code · mcp-server · code-graph · context-engineering · knowledge-graph · tree-sitter · codebase-context · cursor · codex · gemini-cli · cli · developer-tools · token-savings · monorepo · blast-radius · code-visualization