run_lighthouse
Run a real Google Lighthouse audit against a URL. Returns performance, accessibility, SEO, and best-practices scores with Core Web Vitals metrics and a full JSON report.
Instructions
Run a real Google Lighthouse audit against a URL. Returns 0-100 category scores, Core Web Vitals lab metrics (LCP, TBT, CLS, Speed Index), and the failed audits, and saves the full JSON report. Requires Node.js — finds it on PATH or auto-detects nvm installs (~/.nvm); if none exists, returns the exact nvm install commands. Launches its own headless Chrome: no session or project auth state applies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to audit | |
| device | No | Emulation preset (default: mobile, like Lighthouse's default) | |
| timeout | No | Max seconds to wait (default: 180) | |
| categories | No | Categories to audit (default: all four) |