Phpray
Let agents read production PHP request traces, slow SQL and errors from PHPRay
- Pricing
- Freemium
- Platforms
- API, Web, self-hosted
- Runs
- Remotely
- Version
- 0.15.6
- Listing updated
- 1 day ago
About Phpray
Phpray is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
PHPRay records every PHP request, not a sample, with wall time, CPU, memory, SQL, outbound HTTP, errors and N+1 patterns, and breaks some requests down by plugin. This hosted server puts that data in reach of an agent so a question like which page slowed down after a deploy is answered from real requests instead of guesses about source code.
Without a token it serves a read-only demo account of a WooCommerce store, limited to 30 requests a minute per address, so you can see real output before signing up. With a console token it sees your own sites, scoped to what the token can read. The token travels per request and is not stored by the MCP service, and a read-only token cannot start profiling.
The transport is Streamable HTTP over POST only, and SQL literals are masked before data leaves the site. The local PHPRay core is Apache-2.0; the hosted console is priced by the number of sites.
Install
Run in a terminal
claude mcp add --transport http phpray https://phpray.dev/mcpAdd to Settings → Connectors → Add custom connector
https://phpray.dev/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"phpray": {
"url": "https://phpray.dev/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"phpray": {
"serverUrl": "https://phpray.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp"
}
}
}Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- phpray_sites
- List the PHP sites a token can see with requests, p95 latency and error rate
- phpray_overview
- Headline numbers for one site over a time window
- phpray_slow_pages
- Slowest URLs on a site with request counts and p95
- phpray_slow_queries
- SQL fingerprints ordered by time spent
What it does
- Demo with no sign-up
- An unauthenticated connection reads a demo WooCommerce account.
- Slow pages and queries
- Rank URLs by p95 and SQL fingerprints by total time.
- Site overview
- Requests, errors, p50/p95/p99 latency, database share and N+1 count for a window.
- Plugin attribution
- Find which plugin consumes the most time on profiled requests.
- Before and after compare
- Compare time windows to spot regressions after a deploy.
- Masked SQL
- Literal values in queries are replaced with placeholders before leaving the site.
Good for
- Find the slowest pages on a WordPress or WooCommerce site
- Identify the most expensive SQL fingerprint and its callers
- Check whether a deploy made latency worse
- Attribute slowness to a specific plugin
Pricing
Freemium
Local core free; Cloud free for 1 site, paid plans by site count; Host Edition $2,500/yr
Prices change. Check phpray.dev before you buy.
Phpray FAQ
Do I need an account to try it?
No. Without a token you get a read-only demo account.
What are the demo limits?
30 requests a minute per address.
How many tools are there?
The site says ten read-only tools.
How is it priced?
The local core is free; the hosted console has a free tier of one site and paid plans by site count.
Is Phpray free?
Phpray has a free plan, with paid plans for more usage or features.
How do I add Phpray to Claude Code?
Run this command in your terminal: claude mcp add --transport http phpray https://phpray.dev/mcp
What are the best alternatives to Phpray?
The closest alternatives to Phpray are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Phpray

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data