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.0.tar.gz (130.4 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.0-py3-none-any.whl (145.1 kB view details)

Uploaded Python 3

File details

Details for the file codecanvas_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: codecanvas_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 130.4 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.0.tar.gz
Algorithm Hash digest
SHA256 7968e4f7454ed7c6ecf94236ac6e18c0b585b8de310cb18d114a5b24c527d7df
MD5 f506c9b2959c7b040dbe54d2fc8fd6b2
BLAKE2b-256 54ca60fe99bf137f96fd9f7ea895cf589a660885e2218e38ae6dc27622fd7387

See more details on using hashes here.

File details

Details for the file codecanvas_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: codecanvas_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 145.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4531200298cc9b6abe9c1254cda23d643fa478323bc58a196b220a76dad34cb
MD5 b12c51e132263fecaed7bdd9f3a767fb
BLAKE2b-256 352e16e42cb07c3d91a88387641542efae9c9f18509f47d119bf330a75d4de31

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