check_core_web_vitals
Measure Core Web Vitals and Lighthouse scores for a URL via Google PageSpeed Insights. Get LCP, INP, CLS, FCP, and TTFB ratings plus performance and SEO diagnostics.
Instructions
Measure Core Web Vitals and Lighthouse scores for a URL using the Google PageSpeed Insights API. Returns LCP, INP, CLS, FCP, and TTFB with ratings, Lighthouse category scores (performance, SEO, accessibility, best-practices), field data when available, performance opportunities, diagnostics, and a resource size summary. Works without an API key (rate-limited) or with a PAGESPEED_API_KEY for higher quotas.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "check_core_web_vitals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The fully-qualified URL to test. | |
| strategy | No | Device strategy for the Lighthouse run. Defaults to "mobile". | mobile |
| categories | No | Lighthouse categories to audit. Defaults to all four. |