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.mdcontext 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.
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:Example: Impact tool
Check what breaks if you change a function:Manual editor setup
If you prefer manual configuration instead ofgitnexus setup:
- Claude Code
- Cursor
- OpenCode
- Windsurf
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
3
Use in agent
With multiple repos indexed, the MCP server serves them all automatically.When only one repo is indexed, the With multiple repos, specify which one:
repo parameter is optional: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