Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Status ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 💻 Developer Tools
  3. Phpgraph
P
Health: ActiveRecent health check succeeded.Last checked 10/14/2026, 9:02:56 PM

Phpgraph

UnverifiedWe have not yet confirmed this server installs or runs. User RatingsBe the first to rate and review this MCP server!
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).
phpstatic-analysisknowledge-grapharchitecturedeveloper-tools

Maps PHP codebases into a static-analysis graph for architecture, dependency, route, message, and change-impact questions.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON ▾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for phpgraph, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Tool Schemas (8) Directory Badge Claim listing Alternatives💻 More in Developer Tools

Overview

The phpgraph MCP server builds a knowledge graph from a PHP codebase using static analysis, without executing the code or sending it over a network. It exposes project structure, calls, routes, messages, dependencies, architecture rules, and change impact through MCP tools. Use it when an agent needs to understand an unfamiliar PHP application, trace a feature, or identify affected classes and tests before a change. The graph is built on first use and updated incrementally as code changes.

Use cases

•Explore an unfamiliar PHP codebase by namespace, layer, and bounded context
•Trace a feature from routes or messages to its implementation
•Assess the classes, routes, contracts, and tests affected by a change
•Find architectural dependency violations and highly connected code hubs

Key features

•Static call-graph analysis with type inference
•Route, message, event, and handler relationships
•DDD, bounded-context, and layer analysis
•Dependency-injection and configuration inspection
•API schema and protobuf implementation links
•Incremental graph rebuilding

Capabilities & Tool Schemas (8) ~366 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Phpgraph.

overview

Start here: Composer stack, namespace tree with layers, bounded contexts, layer-rule violations, messages, HTTP routes (each with method, path, controller and file up to 30, else grouped by path prefix), services, and what the graph cannot see.

query_graph

Find the code about a topic when you do not know the class names, by the words of their names (validated finds `Validator`), with the classes of the feature around the ones it names. A question about routes (*"mooc courses routes"*, *"GET /courses"*) returns the matching routes and their controller…

outline

Before explaining a feature: its structural outline, enough to read only the few files with non-obvious logic. The classes it is made of, by namespace and layer, with the first sentence of their docblock, their public signatures, constants and enum cases; the interfaces and base classes around it w…

get_node

Read one class, method, route or channel with all its relations; tests using it are counted by module.

get_neighbors

See what uses a node (`in`) or what it depends on (`out`).

impact_of

Before a change: every class that depends on a class or method, nearest first, with the lines of the calls; callers through the interface it implements; code depending on the state it writes; the routes reaching it, with each chain; and the tests to run, found through test helpers. It flags the cla…

How Phpgraph works

What phpgraph MCP server does

The phpgraph MCP server parses a PHP project and represents its structural relationships as a graph. It can describe the Composer stack, namespace hierarchy, architectural layers, bounded contexts, layer-rule violations, services, messages, HTTP routes, and known blind spots. The analysis is deterministic: relationships are marked as extracted from code, inferred from declared types, or ambiguous when resolution is uncertain.

The graph covers common PHP patterns and frameworks, including Symfony, Laravel, Ecotone, PrestaShop, WordPress, and plain PHP. It can connect calls, message senders and handlers, routes and controllers, dependency-injection configuration, API schemas, protobuf implementations, and links between microservices. The project remains local; phpgraph parses code but does not run it.

How it works

phpgraph uses nikic/php-parser to analyze the project. Its call analysis uses signatures, return types, local variables, docblocks, and dependency signatures to resolve direct and chained calls. It also reads relevant PHP, YAML, and XML configuration for services, routes, tags, and message wiring.

The phpgraph MCP server creates its graph when an agent first requests information, then rebuilds incrementally when files change. The README reports roughly three seconds per edit for an 8,400-file project. Unresolved calls, missing vendor files, messages without handlers, and other gaps are reported so an agent can distinguish known relationships from areas requiring source inspection.

Setup and configuration

Installation is available as a standalone executable for Linux, macOS, and Windows, with architecture support described by the project. The install scripts verify the downloaded binary with SHA-256 and place it in a user directory; PHPGRAPH_INSTALL_DIR can change that location. Alternatives include Composer, a downloaded PHAR, or the published Docker image. Composer and Docker usage require the corresponding local tooling.

Run phpgraph mcp-config with a supported output target to generate connection configuration. The README documents formats for Sherpa, Claude Code, Codex, Cursor, and generic MCP clients over stdio. A direct server command uses phpgraph serve and can include the project path.

Tools and capabilities

The phpgraph MCP server provides these tools:

  • overview summarizes the project stack, namespaces, layers, contexts, violations, messages, routes, services, and analysis limits.
  • query_graph searches by words in names and can return related classes or matching routes.
  • outline presents a feature’s classes, layers, docblock opening sentences, public signatures, constants, enum cases, interfaces, and base classes.
  • get_node reads a class, method, route, or channel with its relationships and module-level test counts.
  • get_neighbors lists incoming users or outgoing dependencies.
  • impact_of traces dependent classes and methods, interface callers, affected state consumers, route chains, relevant contracts, and tests.
  • shortest_path finds a connection between two code elements.
  • god_nodes identifies highly connected dependency hubs.

Limitations and notes

Results depend on what static analysis can resolve. Dynamic or unresolved behavior may be absent or labelled as ambiguous, and the tool explicitly reports gaps rather than filling them with generated guesses. It is therefore suited to structural exploration and impact analysis, but agents may still need to read source files for logic the graph cannot establish.

The project requires PHP 8.2 or newer when using the PHP-based installation paths, while the standalone binary is supplied with a static PHP runtime. Its license is PolyForm Shield 1.0.0.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Developer Tools View all alternatives
  • Anymd logoAnymd

    Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images. Local Rust MCP server.

    💻 Developer Tools2 views
    Compare vs Anymd →
  • Ovecc logoOvecc

    Architecture guardrails for AI-written code: dependency graph, impact, dead code, CI gate

    💻 Developer Tools3 views
    Compare vs Ovecc →
  • PDF Reader MCP logoPDF Reader MCP

    Evidence-first PDF MCP. Agent Document Twin with citeable page+bbox evidence.

    💻 Developer Tools2 views
    Compare vs PDF Reader MCP →
  • Bigindexer logoBigindexer

    Hierarchical code intelligence for AI coding agents. Scans local source code, clusters files by behavioral roles, maps coupling seams, and provides in-repo twins/context for complex implementation tasks.

    💻 Developer Tools3 views
    Compare vs Bigindexer →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
2
Stargazers on the source repository.
Last commit
Today
Most recent push to the default branch.
Tools exposed
8
Callable tools this server registers over MCP.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Phpgraph

phpgraph is an MCP server that connects AI agents to a statically analyzed PHP codebase. Its main tools expose project overviews, graph searches, structural outlines, node relationships, dependency neighbors, change impact, shortest paths, and highly connected nodes without executing or uploading the code.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPhpgraph AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/phpgraph?style=directory)](https://allmcps.com/mcp/phpgraph)
HTML Embed
<a href="https://allmcps.com/mcp/phpgraph"><img src="https://allmcps.com/api/badge/phpgraph?style=directory" alt="Phpgraph on AllMCPs" /></a>

Technical Specs & Signals

Category💻Developer Tools
More technical detailsExpand ▾
ClientsClaude Desktop, Cursor, Cline / VS Code, Windsurf, Claude Code, VS Code (GitHub Copilot), Zed, OpenAI Codex CLI, Gemini CLI, JetBrains AI Assistant, Roo Code, Continue, LM Studio
Last updatedOct 14, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
Last commitToday
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Oct 14, 2026
47Quality signal: Fair · 47/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools20/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 💻 Developer Tools →Best MCP servers for Developers →Alternatives to Phpgraph →Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients