Skip to content
MCP server
Registry

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.

by illescasdanielMIT License
Trust score
61Good
Trust score 61 of 100, Good

Good trust

61 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • License present: mit-license.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 61 comes from

22 + 20 + 0 + 6 + 10 + 3 = 61. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License6 / 10

A clear, OSI-style open-source license.

License: 6 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
CODENAV_MCP_WORKSPACEOptionalProject root the server serves (never overridden); default follows the client's MCP roots, CLAUDE_PROJECT_DIR or the working directory
CODENAV_MCP_SOURCE_ROOTOptionalDirectory scanned for lookup implementations candidates and used to derive dotted import paths (e.g. src); default is the whole workspace
CODENAV_MCP_READ_ONLYOptionalSet to 1/true/yes/on to make write tools refuse to write (previews and checks still work)
CODENAV_MCP_EXTRA_SOURCE_ROOTSOptionalComma-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_CHARSOptionalMaximum characters of one tool result (default 30000); longer results end with an omission note
CODENAV_MCP_ALLOW_READONLY_FILESOptionalSet to 1/true/yes/on to let write tools overwrite read-only (0444) Python files and keep their mode
CODENAV_MCP_EXCLUDE_DIRSOptionalComma-separated directory names added to the built-in list of directories that are never scanned or written
CODENAV_MCP_INCLUDE_DIRSOptionalComma-separated directory names removed from that list, for example build to treat a first-party build/ package as source
CODENAV_MCP_MAX_FILESOptionalMaximum 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_DIROptionalDirectory 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 capabilities
  • Add / 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

  • action="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

  • Apply ty's own fixes (missing imports) with correct placement; ambiguous fixes are listed instead of guessed

  • Rename 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

  • Workspace symbol search by name (ranked, capped; optional kind= / path= filters; production code before tests; fuzzy-only hits summarised unless fuzzy=true)

  • What is this? Header, hover, definition and references in one call

  • After 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server