Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

Lighthouse MCP

Lets your AI agent run Google Lighthouse audits on a web page and read performance, accessibility and SEO scores.

217 stars on GitHubby priyankarkLicense MITUpdated 20 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add lighthouse -- npx -y lighthouse-mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

What is the performance score for example.com?
Run an accessibility and performance audit of my site on desktop without throttling.

What it is

This server wraps Google's Lighthouse tool. Your agent can audit a URL, choose mobile or desktop, and get scores and metrics, then use them to improve the page.

What it can do

  • run_audit: full audit with chosen categories, device and throttling
  • get_performance_score: just the performance score for a URL

When to use

  • β€ΊWhen you want to know how fast your page is on mobile
  • β€ΊWhen you want your agent to fix issues and check the score again
  • β€ΊWhen you check accessibility, SEO and best practices of a page

What you need

Node.js 22.19 or newer and a Chrome or Chromium browser. Run it with npx lighthouse-mcp.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The readme does not state the license or price. It is published on npm and the registry.

What does it need?

Node.js 22.19 or newer and Chrome or Chromium.

Can it audit localhost?

Yes, loopback addresses work by default. Set AUDIT_ALLOW_LOOPBACK=false to block them.

Is it safe?

Chrome runs with its sandbox, and private, link-local and cloud metadata addresses are blocked.

How long can an audit take?

Audits run one at a time and time out after 120 seconds.

Which categories can I audit?

Performance, accessibility, best practices and SEO.

If it does not work

  • β€ΊUpdate Node.js to 22.19 or newer.
  • β€ΊInstall Chrome or Chromium so Lighthouse can launch it.
  • β€ΊFor hosted use, set AUDIT_ALLOW_LOOPBACK=false and isolate the network.

5 new skills a week. 1 minute to read.