Interactive Demo 6 Workflow Tools Live Metrics & Gauges Getting Started Comparison Matrix Documentation

Web Performance Intelligence
For AI Coding Assistants

Give Claude, Cursor, and Devin Desktop direct diagnostic access to Lighthouse audits, Chrome UX Report (CrUX) field data, and actionable code remediation patches.

6
v2 Workflow Tools
5
Audit Categories
50+
Metrics & CWV Tracked
Apache-2.0
Open Source License

Native MCP Support for Modern AI Environments

Claude Desktop
Cursor
Devin Desktop
OpenAI Codex
Docker

See It In Action

Watch how PageSpeed MCP analyzes websites and generates actionable fixes directly inside your AI assistant.

Claude + PageSpeed MCP
pagespeed-insights-mcp (stdio connected)
pagespeed-insights-mcp — stdio transport

6 Focused Workflow Tools

Streamlined v2 architecture designed for high-signal AI agent tool calls.

pagespeed_analyze_page

One-page Lighthouse health check, recommendations, audit findings, or performance map with Mermaid charts.

Analyze

pagespeed_diagnose_page

Inspect one specific bottleneck lens: visual, elements, network, JavaScript, images, render-blocking, or third parties.

Diagnose

pagespeed_get_field_data

Real-user Core Web Vitals from Chrome UX Report (CrUX) 28-day p75 for single URL or bare origin fallback.

CrUX Field Data

pagespeed_compare_pages

Compare two pages side-by-side (staging vs prod) or measure one page against its saved baseline.

Regression Baseline

pagespeed_analyze_batch

Triage 1–10 public URLs in parallel with concurrency rate limiting and progress notifications.

Batch Triage

pagespeed_clear_cache

Purge in-memory PageSpeed response cache immediately after deploying performance optimizations.

Lifecycle Utility

Actionable Telemetry Reports

Lighthouse lab audits and real-world Core Web Vitals delivered in structured formats.

96
Performance
98
Accessibility
100
Best Practices
100
SEO
0.8s
First Contentful Paint
1.2s
Largest Contentful Paint
0.000
Cumulative Layout Shift
35ms
Interaction to Next Paint
15ms
Total Blocking Time
60ms
Server Response (TTFB)

Up and Running in 60 Seconds

Three simple steps to unlock AI-powered web performance engineering.

1

Get API Key

Enable PageSpeed Insights API in Google Cloud Console.

export GOOGLE_API_KEY=your-key
2

Configure Client

Add the MCP server to Claude Desktop, Cursor, or Devin Desktop config.

{ "mcpServers": { "pagespeed-insights": { "command": "npx", "args": ["-y", "pagespeed-insights-mcp"] } } }
3

Start Analyzing

Prompt your AI assistant naturally to analyze and optimize your web app.

"Analyze https://mysite.com mobile LCP and generate code fixes"
4

Apply Fixes

Receive ranked opportunities with estimated KB savings and patches.

Score: 96/100 (Pass) LCP: 1.2s (Fast) Diff: +<Image priority />

Beyond Manual Testing

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

Ready to Supercharge
Your Performance Workflow?

Install in one command. Start analyzing in seconds.

$ npx -y pagespeed-insights-mcp


View on GitHub View on npm Documentation