GitNexus MCP

Indexes a codebase into a knowledge graph and gives the agent call chains, change blast radius and code search over MCP

  • 48,101 ★ on the repository
  • Last commit
MCP serverEditors’ pick

Extended access

Why this level

  • Reads all project code and writes an index to disk
  • Adds Claude Code hooks and edits AGENTS.md and CLAUDE.md
  • The rename tool edits many files at once
All reasons and checks

abhigyanpatwari/gitnexus

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/gitnexus

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Reads all project code and writes an index to disk
  • Adds Claude Code hooks and edits AGENTS.md and CLAUDE.md
  • The rename tool edits many files at once

This is third-party code. Review the repository files before installing.

What it does

GitNexus parses a repository with Tree-sitter and builds a local graph of dependencies, call chains, clusters and execution flows. Over MCP the agent gets tools for hybrid search, a full symbol view with references, change impact analysis, path tracing between functions, git diff impact and coordinated multi-file rename. The analyze command also installs a skill set (exploring, debugging, refactoring, review, impact analysis), Claude Code hooks and AGENTS.md and CLAUDE.md files. A browser-only web UI is also available.

Who it is for. For developers on large codebases whose agent breaks dependencies because it cannot see the whole project structure.

Good fit when

  • You need to know what depends on a function before editing it
  • You need to see which flows the current diff touches
  • You need to rename a symbol across the project
  • An agent on a smaller model gets lost in the repository structure

Not a fit when

  • The project is small and the agent already sees all of it
  • Your use is commercial and the PolyForm Noncommercial license does not fit

Example request

What breaks if I change the return type of UserService.validate?

MCP

Transport
stdio
Authentication
not required

Environment variables

GITNEXUS_STORAGE_PATH
External directory for the index
GITNEXUS_SKIP_OPTIONAL_GRAMMARS
Set to 1 to skip building Dart, Proto, Swift and Kotlin grammars

Limitations

PolyForm Noncommercial license; a paid enterprise edition exists for commercial use. On npm 11 npx may crash during install, and some grammars need a C++ toolchain or prebuilds. Embeddings are optional and fetch binaries from api.nuget.org, which may fail behind firewalls. Wiki generation needs an LLM provider key. Indexing large repos is memory-heavy.

How to disable. Remove the server with claude mcp remove gitnexus, delete GitNexus skills and hooks from .claude, and remove the .gitnexus folder in the project.

FAQ

Is code sent to a server?

No, the CLI indexes locally and the web UI runs entirely in the browser.

Which agents are supported?

setup detects Claude Code, Cursor, Codex and others; Codex also has a plugin bundling MCP, skills and hooks.

Discussion

No questions or reviews yet.

Local code graph for agents: an MCP server returns entry points, symbol links and change impact in one call

MCP serverExtended access75.9KRepository stars

A code-intelligence engine for agents: builds a project graph and serves symbol lookup, call chains and blast radius, saving context

MCP serverExtended access1.9KRepository stars

A local codebase index for agents: hybrid search, dependency graphs and change impact analysis

MCP serverExtended access3.4KRepository stars

Local code structure graph: builds a repository map with tree-sitter and serves the assistant only the context a change actually touches over MCP

MCP serverExtended access32.5KRepository stars

CodeGraph (Rust)

codegraph-rust

A Rust code graph for agents: four MCP tools show what an edit will touch, how the architecture fits together and where the fragile spots are

MCP serverExtended access908Repository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
GitNexus (this entry)nonot required48,101
AOCI-CODEnonot required1,795an MCP server and CLI in Go
Corbellno628a CLI that builds a service graph from the code of several
OpenLoreno355a code graph and guardrails for agents

README in short

The README opens with two commands: analyze builds the index and installs skills, setup wires MCP into editors. It explains the idea of precomputed structure so a tool returns full context in one call, and lists the MCP tools and resources. It covers install issues, indexing flags, embeddings, repository groups and Render deployment. The web UI and bridge mode with a local server are described separately.

README badge

Report a problem

Foxx AIGitNexus
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.