# GitNexus

A tool that indexes a codebase into a knowledge graph of dependencies, call chains and execution flow, then exposes it to AI coding agents through MCP.

GitNexus indexes a codebase into a knowledge graph that tracks dependencies, call chains, clusters and execution flow, then exposes that graph to AI coding agents through MCP tools so the agent has an architectural view of the code rather than working from isolated file reads. It is run from the command line: an analyze command indexes the repository, installs agent skills, registers hooks for Claude Code, and creates AGENTS.md and CLAUDE.md context files, while a setup command writes the MCP configuration each supported editor needs.

The project supports editors and agents including Cursor, Claude Code, Codex and others that auto-detect during setup, and it also provides a web UI for chatting with an indexed repository in the browser. It is written in TypeScript and distributed through npm.

Website: https://gitnexus.vercel.app
