Give Claude, Cursor, and Devin Desktop direct diagnostic access to Lighthouse audits, Chrome UX Report (CrUX) field data, and actionable code remediation patches.
Native MCP Support for Modern AI Environments
Watch how PageSpeed MCP analyzes websites and generates actionable fixes directly inside your AI assistant.
Streamlined v2 architecture designed for high-signal AI agent tool calls.
One-page Lighthouse health check, recommendations, audit findings, or performance map with Mermaid charts.
AnalyzeInspect one specific bottleneck lens: visual, elements, network, JavaScript, images, render-blocking, or third parties.
DiagnoseReal-user Core Web Vitals from Chrome UX Report (CrUX) 28-day p75 for single URL or bare origin fallback.
CrUX Field DataCompare two pages side-by-side (staging vs prod) or measure one page against its saved baseline.
Regression BaselineTriage 1–10 public URLs in parallel with concurrency rate limiting and progress notifications.
Batch TriagePurge in-memory PageSpeed response cache immediately after deploying performance optimizations.
Lifecycle UtilityLighthouse lab audits and real-world Core Web Vitals delivered in structured formats.
Three simple steps to unlock AI-powered web performance engineering.
Enable PageSpeed Insights API in Google Cloud Console.
export GOOGLE_API_KEY=your-key
Add the MCP server to Claude Desktop, Cursor, or Devin Desktop config.
{
"mcpServers": {
"pagespeed-insights": {
"command": "npx",
"args": ["-y", "pagespeed-insights-mcp"]
}
}
}
Prompt your AI assistant naturally to analyze and optimize your web app.
"Analyze https://mysite.com mobile LCP and generate code fixes"
Receive ranked opportunities with estimated KB savings and patches.
Score: 96/100 (Pass)
LCP: 1.2s (Fast)
Diff: +<Image priority />
Stop tab-switching. Integrate live performance audits directly into your AI coding workflow.
| Feature | Manual PageSpeed | pagespeed-insights-mcp v2 |
|---|---|---|
| Natural Language Agent Invocation | Claude, Cursor, Devin Desktop Ready | |
| Focused Diagnostic Lenses (7 Domains) | JS, CSS, Render-Blocking, Images | |
| CrUX Field Data + Origin Fallback | Basic | 28-day p75 URL & Origin |
| Regression Tracking & Stored Baselines | 1–5 Runs with Median & Spread | |
| Batch Multi-URL Triage (1–10) | Parallel with Rate Limiting | |
| Smart Code Remediation Diffs | Actionable AI Engineering Plans | |
| In-Memory Cache Layer & Invalidation | TTL Cache + Explicit Purge | |
| Docker & CLI Stdio Transport | N/A | Ready out-of-the-box |
Install in one command. Start analyzing in seconds.