lighthouse_audit
Analyze website performance, accessibility, SEO, and best practices with Google Lighthouse. Get scores, Core Web Vitals (LCP, INP, CLS), and top 5 optimization opportunities ranked by potential time savings.
Instructions
Run Google Lighthouse via PageSpeed Insights API — get performance, accessibility, SEO, and best-practices scores plus Core Web Vitals (LCP, INP, CLS).
Returns Lighthouse scores (0-100), Core Web Vitals with ratings, and the top 5 performance optimization opportunities ranked by potential time savings. This uses Google's real Lighthouse engine — the same tool Chrome DevTools uses. Takes 15-30 seconds to complete.
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": "lighthouse_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to audit with Google Lighthouse | |
| strategy | No | 'mobile' or 'desktop' (default: mobile) | mobile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||