Google CrUX MCP
Allows querying the Chrome UX Report (CrUX) API to evaluate real-user Core Web Vitals (LCP, INP, CLS, FCP, TTFB) for origins and URLs, compare mobile versus desktop, benchmark a page against its site average, and analyze up to 40 weeks of p75 trends.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google CrUX MCPDoes https://web.dev pass Core Web Vitals on mobile?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google CrUX MCP
MCP server for the Chrome UX Report (CrUX) API — ask for real-user Core Web Vitals (LCP, INP, CLS, plus FCP and TTFB) of any public origin or URL from Claude, Cursor, Codex and other AI clients in natural language.
The assistant assesses Core Web Vitals in one call, compares phone vs desktop, benchmarks a page against its site average and pulls up to 40 weeks of p75 history — the same field data that powers PageSpeed Insights and Google Search's CWV signals.
Quick start
Get an API key — a free Google Cloud API key with the Chrome UX Report API enabled.
Add the server — for example, in Claude Code (other clients):
claude mcp add google-crux \ -e CRUX_API_KEY=your_key \ -- npx -y mcp-google-cruxAsk the assistant: "Does https://web.dev pass Core Web Vitals on mobile?"
Related MCP server: GSC Analyst Connector
Tools
Tool | Description |
| One-call CWV assessment: p75 + |
| Phone vs desktop vs tablet vs all-devices breakdown with per-device traffic shares (4 API requests). |
| Site-wide origin record vs one specific page — is this page faster than the site average? (2 requests). |
| Weekly p75 trend over up to 40 weeks with an |
| Raw latest 28-day record: full histograms, percentiles and fractions. |
| Raw weekly timeseries: histogram/percentile/fraction series per collection period. |
Full descriptions: docs/TOOLS.md. Resilience: retries with backoff on 429/5xx/network errors, request timeout, and "no data" (HTTP 404) reported as a normal structured result rather than a failure.
Example prompts
"Does https://example.com pass Core Web Vitals?"
"Compare mobile vs desktop performance of https://github.com — where does the traffic come from?"
"Is https://web.dev/patterns/ faster than web.dev overall?"
"How did LCP of https://amazon.com change over the last 25 weeks?"
API access
The server talks to the Chrome UX Report API
(chromeuxreport.googleapis.com) — Google's public dataset of real Chrome user
experiences, updated daily (history: weekly on Mondays). Auth is a plain Google
Cloud API key (no OAuth, nothing to refresh), free of charge with a quota of
150 queries per minute per project shared by both endpoints. Only origins/URLs
that are public and popular enough have data — for anything below the traffic
threshold the API answers "no data", which the tools report as no_data, not an error.
Installation
claude mcp add google-crux \
-e CRUX_API_KEY=your_key \
-- npx -y mcp-google-cruxclaude_desktop_config.json — macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\
{
"mcpServers": {
"google-crux": {
"command": "npx",
"args": ["-y", "mcp-google-crux"],
"env": { "CRUX_API_KEY": "your_key" }
}
}
}~/.cursor/mcp.json (or .cursor/mcp.json in the project)
{
"mcpServers": {
"google-crux": {
"command": "npx",
"args": ["-y", "mcp-google-crux"],
"env": { "CRUX_API_KEY": "your_key" }
}
}
}.vscode/mcp.json — note the servers key (not mcpServers)
{
"servers": {
"google-crux": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-google-crux"],
"env": { "CRUX_API_KEY": "your_key" }
}
}
}Getting access
Open the Google Cloud Console and create a project (or pick an existing one). No billing account is needed — the CrUX API is free.
Enable the Chrome UX Report API for the project: console.cloud.google.com/apis/library/chromeuxreport.googleapis.com → Enable. (Shortcut: the Get a key button on the CrUX API docs page does steps 1–3 in one dialog.)
Create the key: APIs & Services → Credentials → Create credentials → API key. Copy the key.
Recommended: click Edit API key and restrict it to the Chrome UX Report API, so a leaked key can't be used for anything else.
Put the key into
CRUX_API_KEY.
⚠️ The key is stored in plain text in your client config and rides in the request URL — treat it like a password.
Configuration
Variable | Required | Default | Description |
| yes | — | Google Cloud API key with the Chrome UX Report API enabled. |
| no |
| API root override. |
| no |
| Per-request timeout, ms. |
| no |
| Retries on 429/5xx/network errors. |
Requirements
Node.js 20+ (runs via
npx, no separate install needed).A Google Cloud API key — see Getting access.
Limitations
Read-only. The CrUX API has no write operations — the server only reads.
Quota: 150 queries/min per project, shared by both endpoints, no paid upgrades.
compare_form_factorsspends 4 units per call,compare_origin_vs_url2.Data availability. Only sufficiently popular public pages are in the dataset; specific URLs and tablet queries frequently return
no_data. Data is a 28-day rolling window updated daily (~04:00 UTC); history updates on Mondays — repeating the same query within a day returns identical data.
Documentation
Tools — the full list with descriptions.
Development — build, tests, smoke check.
Publishing — releasing and MCP catalog listings.
Support
Questions, ideas and fixes — Telegram: @gistrec.
License
MIT — see LICENSE.
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceCore Web Vitals analysis powered by Lighthouse. Four tools: analyze a URL, compare two URLs, check against thresholds, or crawl an entire site. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.Last updated411MIT
- Flicense-qualityBmaintenanceEnables querying Google Search Console data via natural language, providing tools for site traffic analysis, page changes, and optimization opportunities.Last updated
- AlicenseBqualityBmaintenanceEnables web performance analysis using Google PageSpeed Insights and Chrome UX Report APIs, providing compact metrics and diagnostics without local browser automation.Last updated58MIT
- Alicense-qualityCmaintenanceEnables querying Google Search Console and Google Analytics 4 through natural language, with tools for SEO analysis like anomaly detection, cannibalization detection, and opportunity scoring.Last updated171MIT
Related MCP Connectors
Real User Monitoring for Core Web Vitals. Query LCP, INP, CLS field data from real visitors.
Core Web Vitals metrics by CMS, CDN, and framework — free remote MCP, no auth.
Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-google-crux'
If you have feedback or need assistance with the MCP directory API, please join our Discord server