- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · secrets access · runs shell
- What's inside
The option
| Option | AMCP server · v2.0.1Lighthouse MCP Server |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · writes files · network · secrets access · runs shell |
| What's inside |
What this thread does
What it is. Lighthouse MCP Server exposes Google Lighthouse audits to an MCP client. It provides performance, accessibility, SEO, security, and resource analysis tools with structured results.
Do first: Run claude mcp add --scope project lighthouse --transport stdio -- npx @danielsogl/lighthouse-mcp@2.0.1 to register the server in the project MCP configuration.
Use it when / not
- Use when: Investigating slow pages with
get_core_web_vitalsandget_lcp_opportunities. - Use when: Comparing mobile and desktop performance with
compare_mobile_desktopor checking thresholds withcheck_performance_budget. - Use when: Reviewing accessibility, technical SEO, and resource optimization opportunities.
- Not for: Editing website source files to apply the recommendations.
- Not for: Testing backend business logic.
Setup
1. Have Node.js 22.0.0 or newer, Chrome/Chromium browser, and an MCP client. The README describes browser management by Lighthouse and notes that the end-to-end suite requires Chrome to be installed. 2. The pinned launch command is npx @danielsogl/lighthouse-mcp@2.0.1. 3. Register it with the project command above. For Codex, use codex mcp add lighthouse -- npx @danielsogl/lighthouse-mcp@2.0.1. For another MCP client, use this MCP configuration:
{"mcpServers":{"lighthouse":{"command":"npx","args":["@danielsogl/lighthouse-mcp@2.0.1"]}}}
Limits
- Audits load website URLs through Chrome/Chromium; tools inspect page performance, resources, accessibility, SEO, and security checks.
- Optional persistent profiles retain cookies and local storage because profile mode disables the storage reset. A missing profile directory can be created.
- Chrome remote debugging requires a non-default user data directory. Attaching with
--chrome-portalone does not preserve storage; include a profile flag to keep sessions. - License: MIT.
Sources
- README by danielsogl.
- registry page for the version.
Started from a post by @danielsogl, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.