Lighthouse MCP Server
JSON →Audit web performance, accessibility, and SEO using Google Lighthouse.
Install
npx @danielsogl/lighthouse-mcp@latest Tools · 8
- run_lighthouse_audit Run a comprehensive Lighthouse audit on a URL, returning performance, accessibility, SEO, and best practice scores along with detailed metrics and recommendations.
- get_core_web_vitals Extract Core Web Vitals (LCP, FID, CLS) from a Lighthouse audit and check against Google's recommended thresholds.
- compare_mobile_desktop Run Lighthouse audits on both mobile and desktop configurations and compare the results side by side.
- check_performance_budget Evaluate a page against a defined performance budget (e.g., max JS size, max image weight, max request count) and report violations.
- analyze_resources Analyze JavaScript, CSS, image, and font resources on a page, identifying optimization opportunities such as minification, compression, and deferred loading.
- get_accessibility_issues List all accessibility violations found by Lighthouse, grouped by WCAG success criteria, with element selectors and suggested fixes.
- get_security_audit Run a security-focused Lighthouse audit covering HTTPS, Content Security Policy, and other security best practices.
- get_seo_audit Run an SEO-focused Lighthouse audit covering meta tags, structured data, crawlability, and mobile-friendliness.
Links
★ 58 GitHub stars