Skip to main content

Structural code knowledge graph for AI coding assistants — impact analysis, cross-service flows, and symbol search via MCP

Project description

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

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

grafio_mcp-0.2.0.tar.gz (172.4 kB view details)

Uploaded Source

Built Distribution

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

grafio_mcp-0.2.0-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

Details for the file grafio_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: grafio_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 172.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for grafio_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9c297e75202dacbcd7fe24336d2f341a7dccaf064ba3a93c723867f3f59f0d9a
MD5 8d01c251164bf26bb74a34beb62e7f01
BLAKE2b-256 eae8c608786ac0f0d34e6dcf64ed51efb27ae03b2f5e5e238457aa904dcbad76

See more details on using hashes here.

File details

Details for the file grafio_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: grafio_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 73.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for grafio_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 916a0142e6528fab2f8354ec570acecd65af1b03695dba305bbff4725637d4bb
MD5 727192950292b310d942d4723fe02c2e
BLAKE2b-256 e28a1613106dcbefbcf52808b2e17eba3c54aa47b4174bea462126c24ab2d861

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