Skip to main content
Get GitNexus indexing your codebase and connected to your AI editor in under 5 minutes.

Fast path

1

Index your repository

Run from your repository root:
This command:
  • Indexes your codebase into a knowledge graph
  • Installs agent skills to .claude/skills/
  • Registers Claude Code hooks
  • Creates AGENTS.md / CLAUDE.md context files
  • Adds the repo to ~/.gitnexus/registry.json
2

Configure your editor

Run the one-time setup:
This auto-detects your editors and writes the correct MCP configuration.
3

Restart your editor

Restart your AI coding assistant to load the MCP server and skills.
That’s it! Your agent now has deep codebase awareness through GitNexus.

What your agent gets

7 MCP Tools

6 Resource Types

4 Agent Skills

Automatically installed to .claude/skills/gitnexus/:
  • Exploring — Navigate unfamiliar code using the knowledge graph
  • Debugging — Trace bugs through call chains
  • Impact Analysis — Analyze blast radius before changes
  • Refactoring — Plan safe refactors using dependency mapping

Example: Query tool

Ask your agent to search for authentication-related code:
Response shows process-grouped results:

Example: Impact tool

Check what breaks if you change a function:
Response shows blast radius:

Manual editor setup

If you prefer manual configuration instead of gitnexus setup:
Claude Code gets full integration: MCP + skills + PreToolUse hooks.

Editor support

Claude Code gets the deepest integration with PreToolUse hooks that automatically enrich grep, glob, and bash calls with knowledge graph context.

Multi-repo workflow

GitNexus supports indexing multiple repositories:
1

Index each repository

2

List indexed repos

Shows all registered repositories with stats.
3

Use in agent

With multiple repos indexed, the MCP server serves them all automatically.When only one repo is indexed, the repo parameter is optional:
With multiple repos, specify which one:

Next steps

Core Concepts

Learn how the knowledge graph works

MCP Integration

Deep dive into MCP tools and resources

CLI Reference

Explore all CLI commands

Agent Skills

Master the 4 agent skills