Precision static-analysis MCP server for Python: call graphs, control flow, and change impact
Project description
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 entrypointswho_calls/call_tree— reverse and forward call graph, N hopswhat_does— signature, docstring, db/http/raise effects, riskfunction_flow— de-noised control-flow outline of a functionreaching_conditions— the guard conditions behind every return/raiseanalyze_impact— changed functions and affected endpoints 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.
Project details
Release history Release notifications | RSS feed
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.1.tar.gz.
File metadata
- Download URL: codecanvas_mcp-0.1.1.tar.gz
- Upload date:
- Size: 130.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b01321397c5062f7502a93af333e0e15541a9fff448a7860edf1dc82b64720d
|
|
| MD5 |
41db69281dfade51c298f66d314c4171
|
|
| BLAKE2b-256 |
0e3f237a66ecad373a96b83687d8f441adc1e0c4d12709a1f960581b3a52b64d
|
File details
Details for the file codecanvas_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: codecanvas_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 145.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d30599a74136b01b2e6eadad63a580b48dc1c1b5216562175b482345cf31141
|
|
| MD5 |
98a689f03f065f0a28aa11982bc30e10
|
|
| BLAKE2b-256 |
cad8336e3ea0ee9fe468d5e70b245cc69ed335ea64cc8eb7fdc30800fe4c7a5e
|