Run Lighthouse (Core Web Vitals)
run_lighthouseAudit a URL with Google Lighthouse to measure performance and SEO, receive Core Web Vitals (LCP, CLS, INP) scores, and discover speed improvement opportunities.
Instructions
Run Google Lighthouse (performance + SEO categories) on a URL via npx. Reports scores and Core Web Vitals — LCP (≤ 2.5s), CLS (≤ 0.1), and INP (≤ 200ms; falls back to TBT when the lab run can't measure interactions) — plus top speed opportunities. Slow (~1-2 min); requires Chrome installed.
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": "run_lighthouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to measure | |
| form_factor | No | mobile (default, matches Google's mobile-first indexing) or desktop | mobile |