Best for
- Developers and SEO practitioners who want website performance analysis in an MCP client.
- Teams using Lighthouse, CrUX data, or performance budgets to investigate regressions.
The source lists six tools for PageSpeed Insights, CrUX, and Lighthouse workflows, provides a stdio installation configuration, and describes an optional Streamable HTTP mode. The server is suited to web performance audits and regression checks; the source does not establish that Google officially maintains it.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-11-30
Read the FMRS scoring method →Runtime:Node.js 20.19.0+
GOOGLE_API_KEY
Optional Google API key for higher PageSpeed Insights quotas and CrUX field data; obtain one from Google Cloud Console.
MCP_AUTH_TOKEN
Optional Bearer authentication token for HTTP mode.
MAX_CONCURRENCY
Optional setting for the maximum number of concurrent analyses.
REQUEST_TIMEOUT
Optional per-request timeout setting in milliseconds.
RETRY_ATTEMPTS
Optional retry count for transient network or server errors.
CACHE_TTL
Optional in-memory cache lifetime setting in seconds.
LOG_LEVEL
Optional setting for the log level.
LOG_PRETTY
Optional setting to enable colorized log output.
PAGESPEED_BASELINES_DIR
Optional override for the performance baseline storage directory.
CHROME_PATH
Optional path to the Chrome or Chromium executable used for local Lighthouse runs.
Add the supplied JSON configuration to the MCP client configuration for Claude Desktop, Cursor, or Antigravity, then restart the client. GOOGLE_API_KEY can raise PageSpeed Insights quotas and provide CrUX field data; the manifest marks it optional. The README also describes starting without a key.
{"mcpServers":{"pagespeed-insights":{"command":"npx","args":["-y","pagespeed-insights-mcp"],"env":{"GOOGLE_API_KEY":"your-google-api-key"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"pagespeed-insights": {
"command": "npx",
"args": [
"-y",
"pagespeed-insights-mcp"
],
"env": {
"GOOGLE_API_KEY": "your-google-api-key"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.pagespeed-insights] command = "npx" args = ["-y", "pagespeed-insights-mcp"] [mcp_servers.pagespeed-insights.env] GOOGLE_API_KEY = "your-google-api-key"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add pagespeed-insights -e GOOGLE_API_KEY=your-google-api-key -- npx -y pagespeed-insights-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm that `pagespeed_analyze_page` appears in your client's tool list. Ask it to analyze a public page; a Lighthouse report confirms the connection is working.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
PageSpeed Insights MCP Server analyzes web performance using Google PageSpeed Insights, Chrome UX Report (CrUX), and local Lighthouse. It supports audits of public pages and localhost, performance diagnostics, real-user Core Web Vitals data, page comparisons, and batch analysis.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 1552c6e60301 Data synced 2026-12-05 Read the FMRS scoring method Markdown