Lighthouse MCP logo

Lighthouse MCP

Run Google Lighthouse audits through MCP with device emulation, throttling, and selectable performance categories.

Install Lighthouse MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lighthouse-mcp": {
      "command": "npx",
      "args": [
        "lighthouse-mcp"
      ],
      "env": {
        "AUDIT_ALLOW_LOOPBACK": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

lighthouse-mcp exposes Google Lighthouse audits through MCP for measuring web-page performance and related quality metrics. Its two tools can run a full audit or return only a page's performance score, with mobile or desktop emulation and optional network throttling. Use it when an MCP-compatible coding assistant needs repeatable Lighthouse checks for a URL. It runs through Node.js and requires Chrome or Chromium.

Use cases

  • Run a Lighthouse audit for a web page
  • Check a site's mobile performance score
  • Compare desktop and mobile audit results
  • Inspect selected accessibility and SEO categories
  • Disable throttling for a targeted audit

Key features

  • Comprehensive Lighthouse audits
  • Performance-score-only queries
  • Mobile and desktop emulation
  • Selectable audit categories
  • Configurable network throttling
  • Destination and timeout safeguards

Tools2

What Lighthouse MCP lets your agent do. Expand a tool for its parameters.

Verified live~201 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

12/12 checks healthy over the last 54d

What it can do

From the 2 tools this server returned when we ran it.

Makes network requests · 2Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age564 days
Maintainers1

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · lighthouse-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars217Stargazers on the source repository.
npm downloads9.5kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How Lighthouse MCP works

What lighthouse-mcp does

lighthouse-mcp connects an MCP client to Google Lighthouse, allowing an AI assistant to inspect a web page from a URL. It supports comprehensive audits across performance, accessibility, best practices, and SEO, as well as a focused performance-score query.

The server is suited to developer workflows where a client needs to request Lighthouse results conversationally or as part of an MCP-based tool flow. For example, an assistant can check a site's performance score or request selected audit categories for a chosen device profile.

How it works

The server communicates over the standard MCP server configuration used by supported clients. Each audit launches Lighthouse against the requested URL using Chrome or Chromium. Mobile emulation is the default device mode, and network throttling is enabled by default for comprehensive audits. Callers can instead select desktop emulation and disable throttling where appropriate.

The run_audit tool accepts a URL and optional settings for audit categories, device type, and throttling. Available categories are performance, accessibility, best-practices, and seo. The get_performance_score tool accepts a URL and optional device selection, returning the performance score without requesting the broader audit.

Only one audit runs at a time. Audits have a 120-second timeout, and Chrome and the audit proxy are cleaned up after completion or failure.

Setup and configuration

Node.js 22.19 or newer and a Chrome or Chromium browser are required. The package can be started directly with:

Terminal
npx lighthouse-mcp

Alternatively, install it globally with npm install -g lighthouse-mcp and run lighthouse-mcp. For local development, install dependencies with npm install, build with npm run build, and start with npm start.

A stdio MCP configuration can launch the package through npx:

config.json
{
  "mcpServers": {
    "lighthouse": {
      "command": "npx",
      "args": ["lighthouse-mcp"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

A local build can instead use node with the absolute path to build/index.js.

Tools and capabilities

  • run_audit: runs a comprehensive Lighthouse audit for a URL.
  • get_performance_score: retrieves only the performance score for a URL.
  • Choose mobile or desktop device emulation.
  • Select one or more Lighthouse categories for comprehensive audits.
  • Enable or disable network throttling for comprehensive audits.

Limitations and notes

Chrome keeps its sandbox enabled. By default, loopback destinations are allowed, while private, link-local, cloud-metadata, and other non-public destinations are blocked, including through redirects and page resources. Because loopback access is intentional, audit only pages trusted to access services on the local machine.

Set AUDIT_ALLOW_LOOPBACK=false to reject loopback destinations as well as private and metadata addresses. Hosted workers should use this setting together with infrastructure egress isolation. Local development allows loopback access by default.

The server is intended for one audit at a time, and an individual audit can run for up to 120 seconds before timing out.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lighthouse MCP

lighthouse-mcp is an MCP server that connects AI clients to Google Lighthouse through Chrome or Chromium. It provides tools to run comprehensive audits and retrieve performance scores for URLs, with options for mobile or desktop emulation, selected audit categories, and network throttling.

Install it with npx, npm globally, or from a local checkout. Run `npx lighthouse-mcp` without a package installation, use `npm install -g lighthouse-mcp` followed by `lighthouse-mcp`, or build the repository and start its local server.

It provides `run_audit` and `get_performance_score`. The first runs a broader Lighthouse audit with optional categories, device emulation, and throttling controls; the second returns only a URL's performance score and accepts mobile or desktop selection.

Yes, lighthouse-mcp supports both mobile and desktop emulation. Mobile is the default for both tools, and `run_audit` also enables network throttling by default unless the caller disables it.

Set `AUDIT_ALLOW_LOOPBACK=false` to block loopback destinations as well as private and metadata addresses. Without that setting, local development permits loopback access while other non-public destinations remain blocked.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLighthouse MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lighthouse-mcp?style=directory)](https://allmcps.com/mcp/lighthouse-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/lighthouse-mcp"><img src="https://allmcps.com/api/badge/lighthouse-mcp?style=directory" alt="Lighthouse MCP on AllMCPs" /></a>