lighthouse
Run a full web page audit covering performance, accessibility, best practices, and SEO, returning scores, lab metrics, and failing audits with detailed report files.
Instructions
Run a full Lighthouse audit (performance included, unlike chrome-devtools-mcp, plus accessibility, best practices, SEO) and return scores, the five lab metrics and the failing audits that weigh most; the full report goes to .report.json and .report.html files. Works only in launch mode (chrome-bridge --launch [--headless]): it needs the DevTools port of the dedicated browser, which the extension in your own Chrome cannot provide. Loads the URL in a new tab of that browser; takes 20-60 s; the first call downloads Lighthouse through npx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page to audit; omitted = the URL of the target tab | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| save_to | No | Absolute path without extension: the report is written to <path>.report.json and <path>.report.html | |
| categories | No | Subset of categories; omitted = all four | |
| form_factor | No | mobile emulates a mid-range phone with slow 4G, as PageSpeed Insights does | mobile |