Skip to main content

Grafio

Structural code knowledge graph for AI coding assistants.

Grafio indexes your codebase into a symbol-level graph and exposes it via MCP (Model Context Protocol) so AI assistants like Claude can understand cross-service flows, find callers, and analyze impact — without reading every file.

Install

pip install grafio              # the daemon
npm install -g grafio-mcp       # the MCP bridge for Claude Code

Quick start

# Start the daemon (auto-starts when Claude Code opens if grafio is on PATH)
grafio serve

# Index a repo
grafio index --repo-id my-project --root /path/to/my-project

Configure Claude Code — create ~/.claude/.mcp.json:

{
  "mcpServers": {
    "grafio": {
      "command": "grafio-mcp",
      "env": {
        "GRAFIO_URL": "http://127.0.0.1:9742"
      }
    }
  }
}

Restart Claude Code. Run /mcp to verify.

What it does

  • code_graph_context — understand a method + everything it calls across files
  • code_graph_impact — find what breaks if you change a symbol
  • code_graph_search — find symbols by name or REST endpoint path
  • code_graph_update — incrementally reindex changed files

Claude automatically decides when to use Grafio vs Grep+Read based on the question.

Supported languages

Java, TypeScript, JavaScript, Python, Go, Rust

License

MIT

Metadata

Release files for grafio-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grafio-mcp 0.3.0
File Size Uploaded Provenance Actions
grafio_mcp-0.3.0.tar.gz 172.4 kB Without provenance Details for grafio_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for grafio-mcp 0.3.0
File Interpreter ABI Platform Actions
grafio_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for grafio_mcp-0.3.0-py3-none-any.whl

Total release size: 245.4 kB

Release files / grafio_mcp-0.3.0.tar.gz

Download URL grafio_mcp-0.3.0.tar.gz
Size 172.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d4f164de441047e77c550c3526bf6ef1ab050a64e882b0a3845adf4224fea368
BLAKE2b-256 checksum
How to use checksums
bbae38da9bf7831c4d82d74e53c1b148d501847dca271ce60e0a683544878e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / grafio_mcp-0.3.0-py3-none-any.whl

Download URL grafio_mcp-0.3.0-py3-none-any.whl
Size 73.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3cc68ef11c8023320094599fbce6d50d487abc5a3331d9744b90e1f5de6ef64
BLAKE2b-256 checksum
How to use checksums
1e01ef54c556ab5161cafcf7c1dbfaffe1577476df355d738b25da51ecce23d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for grafio-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page