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.3.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.3.0-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grafio_mcp-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 d4f164de441047e77c550c3526bf6ef1ab050a64e882b0a3845adf4224fea368
MD5 5efe3d6db1ae63941f80705318865262
BLAKE2b-256 bbae38da9bf7831c4d82d74e53c1b148d501847dca271ce60e0a683544878e44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grafio_mcp-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3cc68ef11c8023320094599fbce6d50d487abc5a3331d9744b90e1f5de6ef64
MD5 11aa67a27f5fe93b704d48eeb0c07c4e
BLAKE2b-256 1e01ef54c556ab5161cafcf7c1dbfaffe1577476df355d738b25da51ecce23d5

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