# PageSpeed Insights MCP

This server measures pages with PageSpeed Insights and reports the median across distinct analyses, alongside their spread. Use it to assess a change or compare lab results with real-user data.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 1
- Author: Considus
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Considus/pagespeed-insights-mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/considus-pagespeed-insights-mcp

## What it does

The server runs multiple distinct analyses and reports a median with the minimum and maximum for each result. It discards cached replays and shows how many runs were dropped, so repeated copies of one analysis do not stand in for separate measurements.

When Google has the data, the server reports Chrome UX Report field measurements separately from Lighthouse lab results. It can also break LCP into four phases and compare a page against a saved baseline. A Google Cloud API key with PageSpeed Insights API enabled is required. To retrieve real-user data, enable Chrome UX Report API as well; an HTTP-referrer restriction makes the key unusable from this program.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- measure a page using the median of distinct analyses
- inspect the spread between measurement results
- compare Lighthouse lab scores with Chrome UX Report data
- break down an LCP delay by phase
- compare a page with its baseline after a change

## Example prompts
- Measure this page on mobile and report the median with its spread.
- Check whether Chrome UX Report has real-user data for this site.
- Compare the current page results with the baseline and tell me whether they differ.

## Similar
- [pagespeed-insights](https://affpapa.org/en/nevibecode/skills/pagespeed-insights.md) — skill · 1100 installs
- [pagespeed-insights-mcp](https://affpapa.org/en/nevibecode/mcp/pagespeed-insights-mcp.md) — MCP server · ★ 77
- [web-quality-audit](https://affpapa.org/en/nevibecode/skills/web-quality-skills-web-quality-audit.md) — skill · 32700 installs
- [performance-and-web-vitals](https://affpapa.org/en/nevibecode/skills/performance-and-web-vitals.md) — skill · 975 installs
- [core-web-vitals-tuner](https://affpapa.org/en/nevibecode/skills/core-web-vitals-tuner.md) — skill · 308 installs
- [audit-speed](https://affpapa.org/en/nevibecode/skills/audit-speed.md) — skill · 2400 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
