Syntax
Description
Shows all indexed repositories from the global registry (~/.gitnexus/registry.json).
The command validates each repository entry, checking if:
- The repository path still exists
- The
.gitnexus/index directory exists - The metadata is readable
Output Example
When No Repositories Found
What Gets Listed
- Repository name — Derived from the directory name
- Path — Absolute path to the repository
- Indexed — Timestamp of last indexing
- Commit — Git commit SHA (first 7 characters) that was indexed
- Stats — File count, symbol count (nodes), edge count
- Clusters — Number of functional communities detected
- Processes — Number of execution flows traced
Use Cases
Check what’s indexed
Before starting MCP server
Verify your repositories are indexed before using MCP tools:Before starting HTTP server
Check which repositories will be served:Multi-Repo Workflow
GitNexus supports indexing multiple repositories. Eachgitnexus analyze registers the repo in the global registry.
Example workflow:
Registry Location
The global registry is stored at:Related Commands
gitnexus analyze— Index a repositorygitnexus status— Check index status for current repogitnexus clean— Remove a repository from the registry