Code Nav
FreeNot checkedDeterministic code navigation MCP server for Codex/CodeCLI that provides compact repo context using git-aware deterministic search tools without semantic search
About
Deterministic code navigation MCP server for Codex/CodeCLI that provides compact repo context using git-aware deterministic search tools without semantic search or embeddings.
README
AI-native deterministic code navigation MCP server for Codex / CodeCLI.
code_nav gives coding agents compact, structured repo context without making
them dump files into chat. It works in any git repo by detecting the repo root
and using git-visible files.
There is no semantic search, no embeddings, no vector database, no graph index, no Qdrant, no CocoIndex, and no Zoekt.
Repository:
https://github.com/ARQAWA/code-nav-mcp
Install Prompt
Use INSTALL_AGENT_PROMPT.md with Codex / CodeCLI on the target machine.
The prompt installs one shared user-level code_nav MCP:
$HOME/.local/share/code-nav-mcp/app
$HOME/.local/bin/code-nav-mcp
It also installs/checks Probe, ast-grep, ripgrep, and RTK, configures Codex MCP globally, installs Code Navigation Rules, and verifies the MCP tools.
Tools
| Tool | Purpose |
|---|---|
code_nav.health |
Check repo detection and dependency health. |
code_nav.search |
Main deterministic code discovery workflow. |
code_nav.find_file |
File/path discovery. |
code_nav.exact_search |
Ranked exact text search, not proof. |
code_nav.extract_context |
Compact code context extraction. |
code_nav.structural_search |
AST search with ast-grep. |
code_nav.exact_audit |
Exhaustive proof using raw rg/git grep. |
code_nav.coverage |
File coverage and no-semantic-index status. |
Local Development
npm install
npm run build
npm test
npm run doctor
npm run self-test
Run the MCP server locally:
node dist/cli.js mcp
Optional Repo Config
No per-repo config is required. Rare overrides can use .code-navrc.json:
{
"max_file_bytes": 2097152,
"extra_exclude": [],
"extra_include": [],
"markdown": "normal",
"result_limit": 12
}
Installing Code Nav
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ARQAWA/code-nav-mcpFAQ
Is Code Nav MCP free?
Yes, Code Nav MCP is free — one-click install via Unyly at no cost.
Does Code Nav need an API key?
No, Code Nav runs without API keys or environment variables.
Is Code Nav hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Code Nav in Claude Desktop, Claude Code or Cursor?
Open Code Nav on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Code Nav with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
