explaingit

abhigyanpatwari/gitnexus

📈 Trending38,897TypeScriptAudience · developerComplexity · 3/5ActiveSetup · moderate

TLDR

Parse any GitHub repo or ZIP file into a knowledge graph showing how functions, classes, and modules connect, then share that graph with AI coding assistants via an MCP server so they understand your codebase's full architecture.

Mindmap

mindmap
  root((GitNexus))
    What it does
      Parses code into graph
      Maps dependencies
      Shows call chains
      Visualizes architecture
    How to use it
      CLI with MCP server
      Web UI no install
      Drop in ZIP or repo
    Use cases
      AI-assisted refactoring
      Explore unfamiliar code
      Understand open source
      Architecture review
    Tech stack
      TypeScript
      Tree-sitter parser
      LadybugDB storage
      WebAssembly browser

Things people build with this

USE CASE 1

Give Claude Code or Cursor a full-codebase understanding before it suggests edits, so it avoids breaking dependencies.

USE CASE 2

Explore a large open-source project interactively in the browser to see how modules and functions connect.

USE CASE 3

Understand an unfamiliar codebase's architecture before starting refactoring or adding features.

USE CASE 4

Query your code's dependency graph and call chains through a chat interface to answer 'who calls this function?' questions.

Tech stack

TypeScriptTree-sitterLadybugDBNode.jsWebAssemblyMCP

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Node.js runtime and understanding of MCP server setup; Tree-sitter parser compilation may need build tools.

License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

GitNexus is a code intelligence tool that parses any GitHub repository or ZIP file and builds a knowledge graph representing everything inside the codebase, every function, class, file, dependency, and the relationships between them. Think of a knowledge graph as a map of your code: instead of just reading files line by line, it shows you which functions call which other functions, which modules depend on which others, and how the entire codebase is architecturally connected. The main use case is giving AI coding assistants a deeper understanding of your project before they suggest changes. When tools like Claude Code, Cursor, or GitHub Copilot only read individual files, they miss the big picture, they might suggest a change that breaks a dependency somewhere else or misses a critical call chain. GitNexus solves this by providing those AI agents with graph-aware context through an MCP (Model Context Protocol) server, a standard way for AI agents to query external data sources. There are two ways to use it. The CLI mode indexes a repository locally, runs an MCP server, and integrates with your editor so AI agents can query the graph at any time. This is intended for daily development work. The web UI mode requires no installation, you visit gitnexus.vercel.app, drop in a repository, and explore it interactively in the browser with a built-in graph visualization and a chat interface for asking questions about the code. You would reach for GitNexus when you are working on a large or unfamiliar codebase and want your AI coding assistant to understand the full architecture before it starts suggesting edits, or when you want to explore an open-source project and understand how the pieces fit together. The tech stack is TypeScript, using Tree-sitter for parsing code into a syntax tree and LadybugDB for storing the knowledge graph. It runs in Node.js via npm and in the browser via WebAssembly.

Copy-paste prompts

Prompt 1
I have a large TypeScript codebase. How do I set up GitNexus CLI to index it and connect it to my Cursor editor so my AI assistant understands the full architecture?
Prompt 2
Parse this GitHub repository with GitNexus and show me a visual map of how the main modules depend on each other.
Prompt 3
Use GitNexus to find all functions that call a specific function in my codebase, and show me the call chain.
Prompt 4
I want to explore an open-source project without installing anything. How do I use the GitNexus web UI at gitnexus.vercel.app?
Prompt 5
Set up GitNexus as an MCP server so that Claude in my editor can query my codebase's knowledge graph when suggesting changes.
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.