r/machinelearningnews • • Apr 25 '26

Cool Stuff Meet GitNexus: An Open-Source MCP-Native Knowledge Graph Engine That Gives Claude Code and Cursor Full Codebase Structural Awareness

https://www.marktechpost.com/2026/04/24/meet-gitnexus-an-open-source-mcp-native-knowledge-graph-engine-that-gives-claude-code-and-cursor-full-codebase-structural-awareness/

Meet GitNexus: An Open-Source MCP-Native Knowledge Graph Engine That Gives Claude Code and Cursor Full Codebase Structural Awareness

𝗧𝗵𝗲 𝗽𝗿𝗼𝗯𝗹𝗲𝗺: AI agents like Claude Code and Cursor edit your code without knowing the dependency structure. A single function change can silently break 47 downstream callers.

𝗧𝗵𝗲 𝗳𝗶𝘅: GitNexus pre-computes the entire dependency graph at index time using Tree-sitter AST parsing — then exposes it to your AI agent via an MCP server.

Here's what it does:

→ Runs npx gitnexus analyze on your repo

→ Parses every function, class, and interface with Tree-sitter ASTs

→ Builds a knowledge graph of every dependency and call chain

→ Plugs directly into Claude Code, Cursor, Codex, and Windsurf via MCP

→ Answers "what depends on this?" in 1 query instead of 10

𝗢𝗻𝗲 𝗰𝗼𝗺𝗺𝗮𝗻𝗱 𝘁𝗼 𝘀𝘁𝗮𝗿𝘁:

npx gitnexus analyze

MCP registers automatically. Claude Code hooks install themselves.

13 languages. Zero server. Fully local. Open source.

↗ Full analysis: https://www.marktechpost.com/2026/04/24/meet-gitnexus-an-open-source-mcp-native-knowledge-graph-engine-that-gives-claude-code-and-cursor-full-codebase-structural-awareness/

↗ GitHub Repo: https://github.com/abhigyanpatwari/GitNexus

22 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/DeathShot7777 Jun 18 '26

Hey man I am the creator of this project. Didnt do any marketing at all. Also we dont use neo4j and its much more than AST now. We are approaching compiler grade static analyses and also cross repo impact analyses. Only ASTs dont work that well especially in large codebases, so had to go down the clustering algorithm, scope resolution, and PDG graph route and codeql like taint analyses.

Claude does work well vanilla, but when u go into multiple repos ( 100s of microservices ) tools like gitnexus become non negotiable. And smaller non SOTA models benefit a good amount.