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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

grafio_mcp-0.1.0-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grafio_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 72.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 619f478d7ee79d52aeef65151bb02aefe9a90145bfd9e6ce2016231aedb5c2f2
MD5 3928c4c408027c8ca299d474383fb2a6
BLAKE2b-256 2e1250d38e2d6f524f61c02d4bd18e16bf0bed37faddc343a4acc2a930f60667

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