priyankark avatar

Lighthouse Mcp

priyankark/lighthouse-mcp

Wraps Google's Lighthouse performance auditing tool so AI assistants can programmatically analyze webpage metrics. Exposes two main operations: run comprehensive audits across performance, accessibility, SEO, and PWA categories, or grab just the performance score. You can configure device emulation and network throttling. The real power comes from combining this with agentic workflows where your AI can audit a site, identify bottlenecks, suggest optimizations, then re-audit to measure improvements. Works with any MCP-compatible assistant and requires Chrome/Chromium for the underlying Lighthouse engine.

GitHub stars
146
tools
2
transport
STDIO
last updated
Sep 9, 2025

Tools

2 tools

Public tool metadata for what this MCP can expose to an agent.

run_auditRun a comprehensive Lighthouse audit on a URL.

Run a comprehensive Lighthouse audit on a URL.

No parameter schema in public metadata yet.

get_performance_scoreGet just the performance score for a URL.

Get just the performance score for a URL.

No parameter schema in public metadata yet.

Sponsors

Readme

Lighthouse MCP Server

An MCP server that wraps around Google's Lighthouse tool to help measure various performance metrics for web pages.

Features

  • Run comprehensive Lighthouse audits on any URL
  • Get performance scores and metrics
  • Configure device emulation (mobile/desktop)
  • Control network throttling
  • Select specific audit categories

Installation

Option 1: From MCP Registry (Recommended)

This server is available in the Model Context Protocol Registry. Install it using your MCP client or Claude Desktop.

Option 2: Using npx

You can run the tool directly using npx without installation:

npx lighthouse-mcp

Option 3: Global Installation

Install the package globally from npm:

npm install -g lighthouse-mcp

Then run it:

lighthouse-mcp

Option 4: Local Development

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Build the project:
    npm run build
    
  4. Run the server:
    npm start
    

MCP Configuration

When installed via npm (global or npx)


View the full README on GitHub

Details

Repository
github.com/priyankark/lighthouse-mcp
Package
lighthouse-mcp
Transport
STDIO
Registry
MCP registry, active