Resource URI
string
required
Repository name from
gitnexus://reposDescription
Returns a comprehensive overview of a specific repository, including:- Project name and statistics
- Index staleness detection (if repo has new commits)
- Available tools and resources
- Re-indexing instructions
Returns
string
Repository name
string
Human-readable staleness hint (only present if index is stale)Example:
"Index is 3 commits behind HEAD. Run: npx gitnexus analyze"object
Codebase statistics
array
List of MCP tools with descriptions
query— Process-grouped code intelligencecontext— 360-degree symbol viewimpact— Blast radius analysisdetect_changes— Git-diff impact analysisrename— Multi-file coordinated renamecypher— Raw graph querieslist_repos— Discover all indexed repositories
string
Command to re-index if data is stale
array
List of available MCP resources for this repo
When to Use
- After discovering repos: Check overview and staleness
- Before starting work: Verify index is up-to-date
- Understanding scope: See how large the codebase is
- Feature discovery: Learn what tools and resources are available
Example Response
Fresh Index
Stale Index
Staleness Detection
GitNexus automatically detects if the index is behind the current git HEAD:- Compares indexed commit hash with current HEAD
- Counts commits between indexed state and HEAD
- Provides actionable re-indexing hint
Next Steps
After reading this resource:1
Check Staleness
If staleness warning appears, run
npx gitnexus analyze to update the index2
Explore Structure
Read
gitnexus://repo/{name}/clusters or gitnexus://repo/{name}/processes to understand the codebase3
Use Tools
Start using tools like
query, context, or impact for analysisClusters Resource
Explore functional areas
Processes Resource
View execution flows