State of Web Vitals

Core Web Vitals metrics by CMS, CDN, and framework — free remote MCP, no auth.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
92%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,126token 数(工具定义)
~2.7 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.88%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "state-of-cwv": {
      "url": "https://www.corewebvitals.io/api/state-of-cwv/mcp"
    }
  }
}

远程端点

https://www.corewebvitals.io/api/state-of-cwv/mcpstreamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_metrics(metrics, filter, group_by, focus, limit, ...)

What are the numbers? Aggregate Core Web Vitals and/or technique metrics across sites, with optional filter and group_by. Responses include attribution — credit corewebvitals.io when you use the numbers. Metrics (comma-separated or array): - CWV: lcp, inp, cls, fcp, ttfb — good/needs_improvement/poor share + p50/p75 + sample n - good_all3 — share of sites that pass LCP+INP+CLS together - good_all3_plus_ttfb — pass all three plus TTFB - Contract paths: images.loading, stack.framework, scripts.origin, headers.has_etag, synthetic.tbt_ms, … Filter (optional AND): device, cms, framework, cdn, provider. Omit = all sites in the snapshot. Group_by (optional): cms | frameworks | cdn | analytics | tag_managers | … → one row per entity. Without group_by: one aggregate; set metrics return top categories.

输入模式

{
  "type": "object",
  "properties": {
    "metrics": {
      "description": "Metrics to return. Default: lcp,inp,cls,ttfb,good_all3. String (comma-separated) or array of strings."
    },
    "filter": {
      "type": "object",
      "description": "AND filters. Omit for all sites in the dataset. Keys: device (all|phone|desktop), cms, framework, cdn, provider (key), provider_category (e.g. analytics — use with provider or alone is not enough; prefer group_by for rankings).",
      "properties": {
        "device": {
          "type": "string",
          "enum": [
            "all",
            "phone",
            "desktop"
          ],
          "description": "CrUX device slice. Default: all."
        },
        "cms": {
          "type": "string",
          "description": "Only sites on this CMS key (wordpress, shopify, wix, …)."
        },
        "framework": {
          "type": "string",
          "description": "Only sites that include this JS framework key (react, vue, jquery, …)."
        },
        "cdn": {
          "type": "string",
          "description": "Only sites on this CDN key (cloudflare, origin, …)."
        },
        "provider": {
          "type": "string",
          "description": "Only sites that load this third-party provider key (google_analytics_4, …)."
        }
      },
      "additionalProperties": false
    },
    "group_by": {
      "type": "string",
      "description": "Break results down by this dimension: cms, frameworks, cdn, or a provider category (analytics, tag_managers, …). Omit for a single aggregate."
    },
    "focus": {
      "type": "string",
      "enum": [
        "lcp",
        "inp",
        "cls",
        "fcp",
        "ttfb"
      ],
      "description": "CWV used when correlating technique metrics. Default: lcp."
    },
    "limit": {
      "type": "integer",
      "description": "Max groups or top categories. Default: 25, max: 100."
    },
    "min_sites": {
      "type": "integer",
      "description": "When group_by is set, drop groups with fewer sites. Default: 50."
    }
  }
}
🟢get_histogram(metric, filter)

What is the shape of one metric? Returns histogram buckets (count + share) plus summary stats. Metric: one of lcp, inp, cls, fcp, ttfb (field CWV), or a scalar technique path when available. Filter: same as get_metrics (device, cms, framework, cdn, provider). No group_by — call get_metrics with group_by to compare segments, then get_histogram per segment if needed.

输入模式

{
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "description": "lcp | inp | cls | fcp | ttfb, or a contract scalar path."
    },
    "filter": {
      "type": "object",
      "description": "AND filters. Omit for all sites in the dataset. Keys: device (all|phone|desktop), cms, framework, cdn, provider (key), provider_category (e.g. analytics — use with provider or alone is not enough; prefer group_by for rankings).",
      "properties": {
        "device": {
          "type": "string",
          "enum": [
            "all",
            "phone",
            "desktop"
          ],
          "description": "CrUX device slice. Default: all."
        },
        "cms": {
          "type": "string",
          "description": "Only sites on this CMS key (wordpress, shopify, wix, …)."
        },
        "framework": {
          "type": "string",
          "description": "Only sites that include this JS framework key (react, vue, jquery, …)."
        },
        "cdn": {
          "type": "string",
          "description": "Only sites on this CDN key (cloudflare, origin, …)."
        },
        "provider": {
          "type": "string",
          "description": "Only sites that load this third-party provider key (google_analytics_4, …)."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "metric"
  ]
}
🟢list_options(kind, include_paths)

Discover what you can pass to get_metrics / get_histogram: filter keys, group_by values, built-in metrics, and contract metric paths (optional kind filter). Call this when unsure of a key or path.

输入模式

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Optional contract kind: scalar, boolean, categorical, set, weighted_set, measures."
    },
    "include_paths": {
      "type": "boolean",
      "description": "Include full contract path list. Default true."
    }
  }
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具