Sign In

@igabrieldejesus/lighthouse-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igabrieldejesus/lighthouse-mcp

MCP server for tracking web performance with Lighthouse

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
4
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Lighthouse MCP

Performance tracking that your AI understands.

Runs Lighthouse audits, stores results locally with git context, and surfaces scores, Core Web Vitals, and trend comparisons directly in your AI chat.

Installation

npm install -g @igabrieldejesus/lighthouse-mcp

Or use directly with npx (no installation needed):

npx @igabrieldejesus/lighthouse-mcp

Requirements

  • Node 18+
  • Chrome or Chromium installed

Add to your AI client

Cursor

Open Settings → MCP → Add new server:

{
  "mcpServers": {
    "lighthouse-mcp": {
      "command": "npx",
      "args": ["@igabrieldejesus/lighthouse-mcp"]
    }
  }
}

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "lighthouse-mcp": {
      "command": "npx",
      "args": ["@igabrieldejesus/lighthouse-mcp"]
    }
  }
}

Restart the client after saving.

Tools

ToolWhat it does
lighthouse_auditRun a Lighthouse audit on a URL. Saves scores, Core Web Vitals, and the full LHR with git context.
lighthouse_compareCompare the latest audit on two branches side-by-side with delta indicators.
lighthouse_historyShow a timeline of past audits for a URL with trend arrows.
lighthouse_statusQuick overview — latest scores, pass/fail vitals, and recommendations.

Example prompts:

Run a Lighthouse audit on https://my-site.com
Compare performance between main and my current branch for https://my-site.com
Show audit history for https://my-site.com
What's the status of https://my-site.com?

Options

lighthouse_audit accepts:

ParameterTypeDefault
urlstring (required)
device"mobile" | "desktop""mobile"
categories["performance", "accessibility", "best-practices", "seo"]all

Local storage

Results are saved automatically to ~/.lighthouse-mcp/:

~/.lighthouse-mcp/
├── audits.db          # SQLite — all audit metadata
└── results/           # Full Lighthouse JSON reports
    └── 1-1708354200000.json

No account, no server, no config file needed.

Self-host / develop

git clone https://github.com/gabrieldejesus/lighthouse-mcp
cd lighthouse-mcp-src
npm install
npm run build
npm test

Point your MCP client at the local build:

{
  "command": "node",
  "args": ["/path/to/lighthouse-mcp-src/dist/index.js"]
}

License

MIT

Keywords

mcp

FAQs

Package last updated on 25 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts