Turn a code repository into an MCP-backed knowledge graph for agent code exploration with GitNexus
Index a repository into a code knowledge graph, expose it through MCP, and give agents architecture-aware context before they answer or edit.
Prerequisites
Node.js, local Git repository, MCP-capable editor or agent runtime such as Claude Code, Codex, or Cursor
Installation
Requirements and caveats from upstream:
- U1["User: What depends on UserService?"]
- U2["User: What depends on UserService?"]
- UPSTREAM (what depends on this):
Basic usage or getting-started notes:
Analyze["gitnexus analyze"]
Clean["gitnexus clean"]
List["gitnexus list"]
Extracted from upstream docs: https://raw.githubusercontent.com/abhigyanpatwari/GitNexus/HEAD/README.md