MCP.Market

phpgraph MCP server

by hbenabdallah·io.github.hbenabdallah/phpgraph·v2.0.0·2 stars

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

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

not scanned yet

Adoption
New

2 stars

Reviews

Write one

Nobody has reviewed phpgraph yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

phpgraph tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How phpgraph compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 48,255 servers
GitHub stars
2
more than 75% of 28,688 servers

Release history: 7 versions in the registry since 2026-10-12, latest 2026-10-30, typically one every 3 days.

Install phpgraph in Claude Code, Cursor or VS Code

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

What the publisher says

From the phpgraph repository's README, as published. We do not edit it. Read it on GitHub

phpgraph

A knowledge graph of your PHP codebase, for AI coding agents. Static analysis served over MCP to Sherpa, Claude Code, Codex, Cursor and any MCP client. No LLM, no network, no embeddings: deterministic facts, each with a confidence level.

English · Français

Why phpgraph?

An AI agent dropped into an unfamiliar PHP project reads files one by one and greps for names. It misses what matters most in a real codebase: who calls what, which handler receives a message, which controller serves a route, what breaks if a method changes, and which layer depends on which.

phpgraph parses the whole project once (with nikic/php-parser) and answers those questions from a graph:

  • Deterministic facts, not guesses. Every relation is EXTRACTED (read in the code), INFERRED (resolved from declared types) or AMBIGUOUS (a guess, labelled as such).
  • It says what it does not know. Unresolved calls, missing vendor/, messages without handlers: the gaps are reported, so the agent knows when to read the code itself.
  • Built for DDD and hexagonal architecture, then microservices, then PHP in general: Symfony, Laravel, Ecotone, PrestaShop, WordPress, or plain PHP.
  • Private by design. Your code never leaves your machine, and phpgraph never executes it: it only parses it.

Features

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

phpgraph: common questions

Is phpgraph MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the phpgraph safety report
How do I install phpgraph?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does phpgraph need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is phpgraph maintained?
The last commit was 23 days ago (2026-10-12). The latest release is v2.0.0.
What can I use instead of phpgraph?
Servers from other publishers that do the same job: Codebase Memory MCP server, Sem MCP server and Neo4j Memory MCP server.
How does phpgraph compare with other MCP servers?
safety score 88/100 (higher than 75% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers). Full comparison.

Alternatives to phpgraph

Same job from other publishers: the closest match first, then the best rated.

  • Codebase Memory
    Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
    C
  • Sem
    Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents
    B
  • Neo4j Memory
    MCP Neo4j Knowledge Graph Memory Server
    A