CodeNav MCP Server
Python code navigation and type-checked refactoring through MCP, powered by ty.
CodeNav scores 61 (Good), licensed MIT License. It installs as a local process. It declares 7 tools. Filed under Developer tools. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
61 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- License present: mit-license.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: no README, short summary.
How quality is graded
Where the 61 comes from
22 + 20 + 0 + 6 + 10 + 3 = 61. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 6 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "illescasdaniel-codenav-mcp": { "command": "uvx", "args": [ "codenav-mcp" ], "env": { "CODENAV_MCP_WORKSPACE": "", "CODENAV_MCP_SOURCE_ROOT": "", "CODENAV_MCP_READ_ONLY": "", "CODENAV_MCP_EXTRA_SOURCE_ROOTS": "", "CODENAV_MCP_MAX_OUTPUT_CHARS": "", "CODENAV_MCP_ALLOW_READONLY_FILES": "", "CODENAV_MCP_EXCLUDE_DIRS": "", "CODENAV_MCP_INCLUDE_DIRS": "", "CODENAV_MCP_MAX_FILES": "", "CODENAV_MCP_STATE_DIR": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CODENAV_MCP_WORKSPACE | Optional | Project root the server serves (never overridden); default follows the client's MCP roots, CLAUDE_PROJECT_DIR or the working directory |
CODENAV_MCP_SOURCE_ROOT | Optional | Directory scanned for lookup implementations candidates and used to derive dotted import paths (e.g. src); default is the whole workspace |
CODENAV_MCP_READ_ONLY | Optional | Set to 1/true/yes/on to make write tools refuse to write (previews and checks still work) |
CODENAV_MCP_EXTRA_SOURCE_ROOTS | Optional | Comma-separated extra directories for Protocol implementation lookup. Unset scans top-level test/ and tests/ outside the source root. Set to none to scan only the source root. |
CODENAV_MCP_MAX_OUTPUT_CHARS | Optional | Maximum characters of one tool result (default 30000); longer results end with an omission note |
CODENAV_MCP_ALLOW_READONLY_FILES | Optional | Set to 1/true/yes/on to let write tools overwrite read-only (0444) Python files and keep their mode |
CODENAV_MCP_EXCLUDE_DIRS | Optional | Comma-separated directory names added to the built-in list of directories that are never scanned or written |
CODENAV_MCP_INCLUDE_DIRS | Optional | Comma-separated directory names removed from that list, for example build to treat a first-party build/ package as source |
CODENAV_MCP_MAX_FILES | Optional | Maximum number of Python files (.py/.pyi) a workspace may hold (default 250000); a larger tree is refused before the language server starts |
CODENAV_MCP_STATE_DIR | Optional | Directory where previews and the applied-edit history are kept across restarts, one subdirectory per workspace (default $XDG_STATE_HOME/codenav-mcp or ~/.local/state/codenav-mcp) |
Tools7Tool docs quality grade C
All capabilitieschange_signaturetoolAdd / remove / reorder parameters and rewrite every call site (found through ty's references, so injected dependencies and typed attributes work). Overrides follow. args calls and uses as a value are listed as manual work
edit_symboltoolaction="replace" / "insert" / "delete" a function, method or class by name: re-indented to the file's style, PEP 8 spacing, imports=[...] added, syntax-checked. Delete refuses while anything uses the symbol and prunes now-dead imports
quick_fixtoolApply ty's own fixes (missing imports) with correct placement; ambiguous fixes are listed instead of guessed
rename_symboltoolRename across the workspace (imports, aliases, keyword arguments, parameter= for a function's parameter). Also renames what ty's rename misses: overriding methods, super().name() calls, and Protocol members together with the classes that sa
search_symboltoolWorkspace symbol search by name (ranked, capped; optional kind= / path= filters; production code before tests; fuzzy-only hits summarised unless fuzzy=true)
symbol_infotoolWhat is this? Header, hover, definition and references in one call
verify_changestoolAfter editing with any tool: which type errors the working tree gained or lost since a git revision (default HEAD)
About
Python code navigation and type-checked refactoring through MCP, powered by ty.
Frequently asked questions
What is CodeNav MCP Server?
Python code navigation and type-checked refactoring through MCP, powered by ty.
How do I install CodeNav MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CodeNav MCP Server runs locally from the PyPI package codenav-mcp with the command uvx codenav-mcp.
Is CodeNav MCP Server free and open source?
CodeNav MCP Server is released under the MIT License license, which is not on MCPpedia's list of OSI-approved open-source licenses. Read the license terms before using it, especially commercially.
Does CodeNav MCP Server support remote (HTTP) connections?
No remote endpoint is listed for CodeNav MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does CodeNav MCP Server provide?
CodeNav MCP Server provides 7 tools, including change_signature, edit_symbol, quick_fix, and rename_symbol. See the full tool list for descriptions and parameters.
How is CodeNav MCP Server's trust score calculated?
CodeNav MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.