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.1.1.tar.gz (169.3 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.1.1-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for grafio_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cdda4187c08a2626ca2061f63094fc6251b28e3e794f3d97b2541caad6fa79c6
MD5 ff26f655ad86b609c8482a64aaa60f90
BLAKE2b-256 4b0f00e366990ab62efe7d9152e3e95031ccef1a5527741576a20ef13d100756

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for grafio_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2e5db2831e1440852a8f4c8814248313cb01b52c7fb3553fe6af0a12896237a
MD5 cabea5ff0f7a9ff554754cbc51ef97eb
BLAKE2b-256 4098a51e7b86f0dbaaa9f0f8a5e3a35972e656ca4b58995a8b7be5370f6e9962

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