GraphTrail
Maps code repositories into local SQLite graphs, providing tree-sitter based call graph analysis, impact assessment, and context for AI coding agents and developers.
GraphTrail is a local code-graph sidecar designed to enhance AI coding agents and developers' understanding of a codebase. It parses source files with tree-sitter, extracting symbols, imports, and call edges into a lightweight, local SQLite database. This enables precise structural queries like finding callers, callees, change impact, and generating context packs, all before any code modification. It operates as both a command-line interface and a read-only Model Context Protocol (MCP) server, offering multi-repo support without daemons, network calls, or stateful dependencies, making it a robust alternative to text search or embedding indices for structural code navigation.