streamable-httpupdated 1mo ago
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.
State of Web Vitals 能做什么?
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/mcp
Cursor / 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}}}'
Tools
| Tool | Purpose |
|---|---|
get_metrics |
Aggregates and optional group_by rankings (CMS, CDN, frameworks, …) |
get_histogram |
Distribution buckets for one metric under an optional filter |
list_options |
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 | io.github.corewebvitals/state-of-cwv |
| Glama | https://glama.ai/mcp/servers/corewebvitals/state-of-cwv-mcp |
| Glama connector | https://glama.ai/mcp/connectors/io.github.corewebvitals/state-of-cwv |
| Smithery | https://smithery.ai/servers/corewebvitals/state-of-cwv |
| Explorer | https://www.corewebvitals.io/state-of-cwv/explorer |
| Methodology | https://www.corewebvitals.io/state-of-cwv/methodology |
| Discovery JSON | https://www.corewebvitals.io/.well-known/mcp.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 start
docker build -t state-of-cwv-mcp .
docker run --rm -i state-of-cwv-mcp
Optional: 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.
安装
把 State of Web Vitals 添加到你的客户端。选择你正在使用的那个。
claude mcp add --transport http state-of-web-vitals https://www.corewebvitals.io/api/state-of-cwv/mcpcodex mcp add state-of-web-vitals --url https://www.corewebvitals.io/api/state-of-cwv/mcp{
"mcpServers": {
"state-of-web-vitals": {
"url": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"state-of-web-vitals": {
"type": "http",
"url": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"state-of-web-vitals": {
"url": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"state-of-web-vitals": {
"serverUrl": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
3 个工具
State of Web Vitals 向已连接的智能体提供 3 个工具。
- get_metrics
- Aggregates and optional `group_by` rankings (CMS, CDN, frameworks, …)
- get_histogram
- Distribution buckets for one metric under an optional filter
- list_options
- Discover filters, group_by values, and metric paths
评分
60 / 100
良好
- 文档22/25
- 维护16/25
- 可信度6/20
- 能力4/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 46 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 3 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.1最新 | 2026年7月16日 |
| 1.0.0 | 2026年7月16日 |