codecanvas-mcp
Precision static-analysis MCP server for Python codebases. Gives coding agents ground-truth answers about call graphs, control flow, and change impact — instead of grepping and guessing.
Tools
list_entrypoints— API routes, scripts, and function entrypointsfind_symbols— exact-first search with score floor and separated suggestionswho_calls/call_tree— reverse and forward call graph, N hopswhat_does— signature, docstring, db/http/raise effects, riskfunction_flow— structured branch subjects/scopes plus compatibility outlineverify_claim— conservative reachability verdict from call paths and guardsreaching_conditions— the guard conditions behind every return/raiseanalyze_impact— changed functions and affected entrypoints/public surface for a diff or git ref
Usage
claude mcp add codecanvas -- uvx codecanvas-mcp
Or in any MCP client config:
{ "mcpServers": { "codecanvas": { "command": "uvx", "args": ["codecanvas-mcp"] } } }
Pass project_path on the first tool call; it is remembered for the rest
of the session.
Extras
The base install is analysis-only. pip install "codecanvas-mcp[server]"
adds the FastAPI web server and runtime tracer used by the
CodeCanvas VS Code extension.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codecanvas_mcp-0.1.13.tar.gz.
File metadata
- Download URL: codecanvas_mcp-0.1.13.tar.gz
- Upload date:
- Size: 266.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc2ab95ce2a9ba33b15a1412418370284a9895375dd79ec5321171603383985
|
|
| MD5 |
9863c5e427930865097242fc718da1b3
|
|
| BLAKE2b-256 |
71637fe0ff788c7073b967ff68799f810b3b4c4b76c69ecd38a06a9aad38c152
|
File details
Details for the file codecanvas_mcp-0.1.13-py3-none-any.whl.
File metadata
- Download URL: codecanvas_mcp-0.1.13-py3-none-any.whl
- Upload date:
- Size: 196.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31bb7d2827df7ec6c9ed2dca95b542021b8fdb5ab9d6dd8e392975dae243be48
|
|
| MD5 |
f4a1751fe05aa24545554b2d73351de0
|
|
| BLAKE2b-256 |
ed59d204a5398b521b99f35f71bac9d4caf8aa144cf9fd6f722ace0d7d6dd448
|