phpgraph
● Activeio.github.alpine-ronin/phpgraph
PHP code graph for AI agents: impact of a change, feature outlines, handlers, routes, layer rules
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"phpgraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,src={project_path},dst=/project",
"ghcr.io/alpine-ronin/phpgraph:2.4.0"
]
}
}
}claude mcp add phpgraph -- docker run -i --rm --mount 'type=bind,src={project_path},dst=/project' ghcr.io/alpine-ronin/phpgraph:2.4.0codex mcp add phpgraph -- docker run -i --rm --mount 'type=bind,src={project_path},dst=/project' ghcr.io/alpine-ronin/phpgraph:2.4.0code --add-mcp '{"name":"phpgraph","type":"stdio","command":"docker","args":["run","-i","--rm","--mount","type=bind,src={project_path},dst=/project","ghcr.io/alpine-ronin/phpgraph:2.4.0"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Nov 26, 2026Looks healthy: phpgraph is maintained, open source.
- Maintained
- Active
- Last commit 9 days ago (Nov 20, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.alpine-ronin/phpgraph in the official MCP registry, version 2.4.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 7 stars, 0 forks.
- Runs
- On your machine
- A local Docker package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 9 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
7 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-alpine-ronin-phpgraph?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-alpine-ronin-phpgraph/report-badge.svg" alt="phpgraph — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 24, 2026PHPai-agentscall-graphclaude-codecodexcursorddddeveloper-toolshexagonal-architectureimpact-analysisknowledge-graphlaravelmcpmcp-model-context-protocolmcp-servermicroservicesmodel-context-protocolphpsherpastatic-analysissymfony
From the README
Ask your agent "what breaks if I change this?" in a PHP codebase, and get the callers grep can't see: through interfaces, the service container, message buses and routes. English · Français In PHP, a caller rarely names the class it ends up running. It holds an interface and the container decides which class it gets; a bus carries a message to its handler; a route string reaches a controller. A coding agent searching names with grep has to rebuild that chain file by file, and sometimes guesses. phpgraph parses the project once and answers from a graph, over MCP, in one call. Example: Sylius, OrderPromotionProcessor::process(). Searching for the class name finds two files: the class and its service definition. No caller names it: they all hold OrderProcessorInterface, and the container gives them a composite that runs the promotion processor among others. One impact_of call (phpgraph impact prints the same): ProcessOrderListener holds the same interface but is not listed: the configuration gives it the payment processor. Demo A 68-second video, the same question to Claude Code with and without phpgraph, one real run each: youtu.be/Cv4ULkN3FF0. No LLM, no network, no embeddings: your code never leaves your machine, and phpgraph parses it without running it. Every fact says how sure it is (EXTRACTED, INFERRED or AMBIGUOUS), and what phpgraph could not link is reported. Where it helps and where it doesn't…
Read the full README on GitHub →Alternatives to phpgraph
All phpgraph alternatives →Best Developer Tools servers →Compare side by side →The most-starred Developer Tools servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| REA | 477,629 | Nov 2026 | Local / not checked |
| GitHub | 34,658 | Nov 2026 | Needs sign-in |
| Repomix | 29,391 | Nov 2026 | Local / not checked |
| Oh My Posh Validator | 23,801 | Nov 2026 | Working |
| XERJ | 19,499 | Nov 2026 | Local / not checked |
phpgraph: questions people ask
- Is phpgraph a remote or a local MCP server?
- According to its entry in the official MCP registry, phpgraph ships as a local package (Docker) that your client starts on your machine.
- Is phpgraph safe to use?
- Looks healthy: phpgraph is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 26, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is phpgraph still maintained?
- Active: the repository's last commit 9 days ago. Last push Nov 20, 2026, 7 GitHub stars, MIT licence. Read from GitHub on Nov 24, 2026.
- How do I add phpgraph to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Developer Tools servers
Browse all Developer Tools →Hookify
Production-ready
Accurate, version-matched docs and hook recommendations for the @altalyst/hookify React hooks.
Alter Onboarding
Needs work
Guide developers from setup through a verified, policy-aware, audited Alter API call.
ShipLog
Well-maintained
Read user feedback and draft your changelog from any MCP client.
amCharts 5
Production-ready
On-demand access to amCharts 5 docs, code examples, and API reference
DevOps Doctor
Well-maintained
Package, dependency, CI and config safety checks for coding agents. Pay per call.
unpatched
Production-ready
Is the software you run affected by a vulnerability? Verdicts with evidence and fixed versions
Add the badge to your site
Show visitors that phpgraph is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-alpine-ronin-phpgraph?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="phpgraph — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-alpine-ronin-phpgraph?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-alpine-ronin-phpgraph) [](https://serverdex.io/install/vscode/io-github-alpine-ronin-phpgraph) [](https://serverdex.io/install/claude-code/io-github-alpine-ronin-phpgraph)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-alpine-ronin-phpgraph"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-alpine-ronin-phpgraph"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-alpine-ronin-phpgraph"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).