RepoNav
Enables locating evidence for repository questions using CodeGraph or ripgrep, providing verified results and follow-ups.
README
RepoNav
RepoNav is a deterministic, read-only repository evidence service for local
MCP clients. It exposes a single repo_nav_locate tool that turns a repository
question, search terms, and optional anchors into verified evidence, follow-up
candidates, coverage details, and next actions.
RepoNav prefers CodeGraph when the target repository is indexed and falls back to text search when necessary. It does not modify the target repository.
Requirements
- Node.js 20+
rg(ripgrep) for the text-search fallback- Optional: CodeGraph for indexed repository exploration
Install and build
git clone https://github.com/gchigoo/repo-nav.git
cd repo-nav
npm ci
npm run build
Add to Codex
Register the built stdio server with Codex:
codex mcp add repo_nav -- node <ABSOLUTE_REPO_PATH>\dist\main.js
codex mcp list
The server publishes one read-only MCP tool:
repo_nav_locate
Example arguments:
{
"repoPath": "D:\\path\\to\\target-repository",
"question": "Where is the repository evidence service token used?",
"terms": ["REPOSITORY_EVIDENCE_SERVICE"],
"anchors": [
{ "kind": "symbol", "value": "REPOSITORY_EVIDENCE_SERVICE" }
]
}
See the MCP getting-started guide and the
repo_nav_locate reference for the full
contract.
Debug CLI
npm run repo-nav -- --help
npm run repo-nav -- debug locate --help
npm run repo-nav -- debug probe --help
npm run repo-nav -- debug golden --help
See the debug CLI guide for command details and exit-code semantics.
Verification
npm run build
npm run typecheck
npm test
npm run test:golden -- --all
npm run test:mcp -- --all
npm run test:docs
The MVP acceptance contract and evidence are documented in
docs/acceptance/mvp.md.
Design principles
- Read-only repository access
- Deterministic and typed output contracts
- Explicit distinction between confirmed evidence and candidates
- Bounded results with coverage and next-action metadata
- Secret-like value redaction at public output boundaries
- CodeGraph-first retrieval with a controlled fallback path
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.