GitNexus Turns Code Repos into Knowledge Graphs for AI Coding Agents

GitNexus is an open-source code intelligence engine built by developer Abhigyan Patwari to address a growing problem with AI coding assistants — their inability to understand broader codebase context before making edits. The tool uses Tree-sitter parsers to analyze source files and construct AST-based knowledge graphs that map function calls, class inheritances, module imports, and execution paths. Crucially, all parsing and graph construction runs locally in the user's browser or terminal, meaning source code is never sent to external servers. GitNexus also functions as an MCP server, enabling AI tools like Claude Code, Cursor, and Kiro to query repository structure and perform dependency checks before applying changes. It is available as a browser-based tool at gitnexus.vercel.app or via CLI using the command 'npx gitnexus'.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in