CodeNav
by github.com/illescasDaniel · v2.0.1 · updated Dec 1, 2026
Python code navigation and type-checked refactoring through MCP, powered by ty.
Run it locally
Install the package and point your AI client at it.
PyPI
uvx codenav-mcp==2.0.1Environment variables
CODENAV_MCP_WORKSPACEProject root the server serves (never overridden); default follows the client's MCP roots, CLAUDE_PROJECT_DIR or the working directory
CODENAV_MCP_SOURCE_ROOTDirectory scanned for lookup implementations candidates and used to derive dotted import paths (e.g. src); default is the whole workspace
CODENAV_MCP_READ_ONLYSet to 1/true/yes/on to make write tools refuse to write (previews and checks still work)
CODENAV_MCP_EXTRA_SOURCE_ROOTSComma-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_CHARSMaximum characters of one tool result (default 30000); longer results end with an omission note
CODENAV_MCP_ALLOW_READONLY_FILESSet to 1/true/yes/on to let write tools overwrite read-only (0444) Python files and keep their mode
CODENAV_MCP_EXCLUDE_DIRSComma-separated directory names added to the built-in list of directories that are never scanned or written
CODENAV_MCP_INCLUDE_DIRSComma-separated directory names removed from that list, for example build to treat a first-party build/ package as source
CODENAV_MCP_MAX_FILESMaximum 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_DIRDirectory 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)
More MCP servers
Fieldform Sports
github.com/infocubatv
Read sports schedules, final scores, league tables, lineups, recent meetings and pregame estimates.
Handlevo Cotizaciones
github.com/infocubatv
Get preliminary labor estimates for eligible U.S. home services by ZIP code.
Riksdag & Regering
github.com/isakskogstad
Öppna data från Sveriges riksdag och regering: dokument, ledamöter, voteringar, anföranden.
ASVS Security Assistant
github.com/itssaeedyari
OWASP ASVS 5.0.0 lookups, level checklists and security checks for code, HTTP headers and nginx
OpenCode Peer
github.com/jacklaw1410
MCP server bridging OpenCode sessions on this machine and across machines
Jubarte
github.com/jandira-tech
Read, edit, compare, validate and render Word .docx files, with tracked-changes redlines.