MCP server

Lighthouse MCP Server: Web Audits for AI Agents

The Lighthouse MCP server lets an AI agent run Google Lighthouse audits on a URL and read back performance, accessibility, SEO and security results as structured data.

Run
npx @danielsogl/lighthouse-mcp@latest
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Lighthouse MCP server?

The Lighthouse MCP server by danielsogl wraps Google Lighthouse so an AI agent can audit a page for performance, accessibility, SEO and security. It reports Core Web Vitals, finds unused JavaScript and checks performance budgets. You run it with npx @danielsogl/lighthouse-mcp@latest on Node 22 or newer.

It is a Model Context Protocol server that runs Google Lighthouse for an AI agent. The agent gives it a URL and gets back scores and recommendations across performance, accessibility, SEO and security, plus resource and Core Web Vitals analysis.

Every tool declares an output schema and returns validated structured content, so the client receives typed data rather than a JSON string to parse. Chrome or Chromium is needed, and the README says Lighthouse manages it automatically.

What it changes in your workflow

  • The agent measures a page before and after a change, so a speed fix is backed by a Lighthouse number.
  • Core Web Vitals tools report LCP, INP and CLS and can check them against thresholds you set.
  • A budget tool checks a page against a performance budget you supply.
  • Resource tools find unused JavaScript and analyze scripts, styles, images and fonts for savings.
  • Lighthouse 13 audits cover how well a page serves AI agents, including WebMCP tools and llms.txt.

Local setup at a glance

Lighthouse MCP server
Where it runsOn your machine, started by the client with npx
Transportstdio
RequirementsNode.js 22.0.0 or newer and Chrome or Chromium
Login sessionsPersistent Chrome profile with --profile-path and --no-headless
Account or keyNone

Who it is for

Best for

  • Developers and site owners who want an agent to audit a page, then fix what Lighthouse flags.
  • SEO and performance reviews that need Core Web Vitals and SEO checks in one tool.
  • Pages behind a login, using a persistent Chrome profile run in headed mode.

Not for

  • Real-user field data. This runs Lighthouse lab audits against a URL you give it.
  • Fixing issues on its own. It reports findings and recommendations; your agent or you still make the changes.
  • Deep accessibility sign-off. For a dedicated WCAG workflow see the A11y Ally skill.

Use it with UiChemy

After you build a page with UiChemy, point the server at its URL and ask for a performance and SEO audit. Composer writes HTML, CSS and JS for Elementor or Gutenberg; Figma to WordPress converts designs. Click Get Started on uichemy.com. For fixes, see the web performance skill.