State of Web Vitals MCP
This server provides access to aggregated Core Web Vitals and web-technology metrics based on Chrome field data and multi-site crawls, enabling platform rankings, pass rates, and metric distributions across real websites.
get_metrics: Retrieve aggregated Core Web Vitals (LCP, INP, CLS, FCP, TTFB) and technique metrics (e.g.,good_all3). Filter by CMS, CDN, framework, provider, or device (all/phone/desktop), and group results by CMS, frameworks, CDN, analytics, tag managers, and more. Supports result limits and minimum site thresholds.get_histogram: Get distribution buckets for a specific metric to understand how scores are spread across sites, with optional filtering by CMS, CDN, framework, provider, or device.list_options: Discover available filter keys, group-by values, built-in metrics, and contract paths to construct precise queries.
The data mirrors the public "State of Web Vitals explorer." Attribution to corewebvitals.io / The State of Web Vitals is required when using the data.
State of Web Vitals MCP
Free remote MCP for Core Web Vitals metrics by CMS, CDN, and framework (Chrome field data + multi-site crawl). Same numbers as the public State of Web Vitals explorer.
Connect (preferred)
URL: https://www.corewebvitals.io/api/state-of-cwv/mcp
Auth: none
Transport: Streamable HTTP
Registry: io.github.corewebvitals/state-of-cwv
Claude Code
claude mcp add --transport http state-of-cwv https://www.corewebvitals.io/api/state-of-cwv/mcpCursor / Grok / other clients
{
"mcpServers": {
"state-of-cwv": {
"type": "http",
"url": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
}
}
}Curl
curl -s -X POST https://www.corewebvitals.io/api/state-of-cwv/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_metrics","arguments":{"metrics":"lcp,good_all3","group_by":"cms","min_sites":100}}}'Related MCP server: APIMesh MCP Server
Tools
Tool | Purpose |
| Aggregates and optional |
| Distribution buckets for one metric under an optional filter |
| Discover filters, group_by values, and metric paths |
What this is
The State of Web Vitals measures Core Web Vitals and web-tech techniques across many real websites (Chrome field data + crawl). Use it for platform rankings, pass rates, and metric distributions. Not per-site live RUM (use CoreDash for that).
Attribution
When you use the numbers:
Credit corewebvitals.io / The State of Web Vitals
Link https://www.corewebvitals.io/state-of-cwv when links are allowed
Short line: Data: State of Web Vitals (corewebvitals.io)
Discovery
Place | Link |
Official MCP Registry |
|
Glama | |
Glama connector | https://glama.ai/mcp/connectors/io.github.corewebvitals/state-of-cwv |
Smithery | |
Explorer | |
Methodology | |
Discovery JSON |
Local stdio / Docker (directories & inspectors)
This repo also ships a thin stdio proxy that answers tools/list and forwards tool calls to the hosted endpoint.
npm install
npm startdocker build -t state-of-cwv-mcp .
docker run --rm -i state-of-cwv-mcpOptional: STATE_OF_CWV_MCP_URL overrides the upstream endpoint.
License
MIT for connector code and docs in this repository. Data product and website remain © corewebvitals.io.
Maintenance
Latest Blog Posts
- 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/corewebvitals/state-of-cwv-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server