Basic information
About Lighthouse MCP Server
MCP server that enables AI agents to perform comprehensive web audits using Google Lighthouse with 13+ tools for performance, accessibility, SEO, and security analysis.
Lighthouse MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by danielsogl. It exposes 11 tools, including run_audit, get_accessibility_score, get_seo_analysis, get_performance_score and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 61 GitHub stars. Source code is hosted on github.com. Related topics: lighthouse, lighthouse-audits, lighthouse-score, mcp, mcp-server.
Setup
{
"mcpServers": {
"lighthouse-mcp-server": {
"command": "npx",
"args": [
"@danielsogl/lighthouse-mcp@latest",
"--chrome-path",
"/usr/bin/google-chrome"
]
}
}
}
{
"mcpServers": {
"lighthouse-mcp-server": {
"command": "npx",
"args": [
"@danielsogl/lighthouse-mcp@latest",
"--chrome-path",
"/usr/bin/google-chrome"
]
}
}
}
{
"servers": {
"lighthouse-mcp-server": {
"command": "npx",
"args": [
"@danielsogl/lighthouse-mcp@latest",
"--chrome-path",
"/usr/bin/google-chrome"
]
}
}
}
Lighthouse MCP Server — by danielsogl config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lighthouse-mcp-server": {
"command": "npx",
"args": [
"@danielsogl/lighthouse-mcp@latest",
"--chrome-path",
"/usr/bin/google-chrome"
]
}
}
}
Lighthouse MCP Server — by danielsogl tools
-
run_audit
— Run a comprehensive Lighthouse audit on a website
url:string*, categories:array, device:string, throttling:boolean -
get_accessibility_score
— Get the accessibility score and recommendations for a website
url:string*, device:string, includeDetails:boolean -
get_seo_analysis
— Get SEO analysis and recommendations for a website
url:string*, device:string, includeDetails:boolean -
get_performance_score
— Get the performance score for a website
url:string*, device:string -
get_core_web_vitals
— Get Core Web Vitals metrics for a website
url:string*, device:string, includeDetails:boolean, threshold:object -
compare_mobile_desktop
— Compare website performance between mobile and desktop devices
url:string*, categories:array, throttling:boolean, includeDetails:boolean -
check_performance_budget
— Check if website performance meets specified budget thresholds
url:string*, device:string, budget:object* -
get_lcp_opportunities
— Get LCP optimization opportunities for a website
url:string*, device:string, includeDetails:boolean, threshold:number -
find_unused_javascript
— Find unused JavaScript code to reduce bundle size
url:string*, device:string, minBytes:number -
analyze_resources
— Analyze website resources (images, JS, CSS, fonts) for optimization opportunities
url:string*, device:string, resourceTypes:array, minSize:number -
get_security_audit
— Perform security audit checking HTTPS, CSP, and other security measures
url:string*, device:string, checks:array
Overview
What is Lighthouse MCP Server?
A Model Context Protocol (MCP) server that provides comprehensive web performance auditing and analysis using Google Lighthouse. It enables LLMs and AI agents to perform detailed website performance assessments, accessibility audits, SEO analysis, security checks, and Core Web Vitals monitoring.
How to use Lighthouse MCP Server?
Install via npx @danielsogl/lighthouse-mcp@latest and configure in your MCP client (VS Code, Cursor, Windsurf, Claude Desktop). For authenticated sessions, launch with a persistent Chrome profile using --profile-path and --no-headless. Attach to an existing Chrome instance using --chrome-port.
Key features of Lighthouse MCP Server
- Performance analysis with Core Web Vitals and optimization recommendations
- Accessibility audits with WCAG compliance checking
- SEO analysis and best practice recommendations
- Security assessment including HTTPS, CSP, and vulnerability scanning
- Resource analysis for JavaScript, CSS, images, and fonts
- Comparative mobile vs desktop analysis with throttling options
- Performance budgets with custom threshold monitoring
Use cases of Lighthouse MCP Server
- Automate Lighthouse audits for continuous performance monitoring
- Assess accessibility compliance and generate WCAG reports
- Analyze SEO opportunities and track best practices
- Compare performance across mobile and desktop devices
- Enforce performance budgets in CI/CD pipelines
Frequently asked questions
1 What are the runtime requirements?
Node.js 22.0.0 or newer and Chrome/Chromium (automatically managed by Lighthouse).
2 How do I use authenticated sessions with cookies and local storage?
Launch with a persistent Chrome profile using --profile-path <path> and --no-headless. Profile mode disables storage reset so sessions persist across audits.
3 Can I attach to an existing Chrome instance?
Yes, use --chrome-port <port> or --remote-debugging-port <port> to connect to a Chrome instance launched with remote debugging enabled. Pass --profile-path to preserve storage.
4 What tools are available for web analysis?
Tools include run_audit, get_performance_score, get_core_web_vitals, get_accessibility_score, get_seo_analysis, check_performance_budget, analyze_resources, find_unused_javascript, and get_security_audit.
5 Does the server support WSL2?
Yes, set the Chrome binary path explicitly via --chrome-path or the CHROME_PATH environment variable to select the correct Linux binary.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In