LocalFree

phpgraph MCP server

hbenabdallah/phpgraph

Knowledge graph of a PHP codebase by static analysis: calls, routes, buses, layers, impact

3 GitHub stars

Install phpgraph in Claude Code

Claude Code
claude mcp add phpgraph -- docker run -i --rm ghcr.io/hbenabdallah/phpgraph:2.0.0
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "phpgraph": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hbenabdallah/phpgraph:2.0.0"
      ]
    }
  }
}

Frequently asked questions

What does the phpgraph MCP server do?

Knowledge graph of a PHP codebase by static analysis: calls, routes, buses, layers, impact

Is the phpgraph MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does phpgraph run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add phpgraph to Claude Code?

Run: claude mcp add phpgraph -- docker run -i --rm ghcr.io/hbenabdallah/phpgraph:2.0.0

More knowledge, memory & rag MCP servers

View all