Skip to main content

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 entrypoints
  • who_calls / call_tree — reverse and forward call graph, N hops
  • what_does — signature, docstring, db/http/raise effects, risk
  • function_flow — de-noised control-flow outline of a function
  • reaching_conditions — the guard conditions behind every return/raise
  • analyze_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codecanvas_mcp-0.1.1.tar.gz (130.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codecanvas_mcp-0.1.1-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

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

Hashes for codecanvas_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2b01321397c5062f7502a93af333e0e15541a9fff448a7860edf1dc82b64720d
MD5 41db69281dfade51c298f66d314c4171
BLAKE2b-256 0e3f237a66ecad373a96b83687d8f441adc1e0c4d12709a1f960581b3a52b64d

See more details on using hashes here.

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

Hashes for codecanvas_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d30599a74136b01b2e6eadad63a580b48dc1c1b5216562175b482345cf31141
MD5 98a689f03f065f0a28aa11982bc30e10
BLAKE2b-256 cad8336e3ea0ee9fe468d5e70b245cc69ed335ea64cc8eb7fdc30800fe4c7a5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page