MCP Lighthouse Audit
Provides detailed Lighthouse audits for web pages, including scores, failing elements, HTML snippets, and actionable suggestions. Supports desktop and mobile presets, category filtering (performance, accessibility, SEO, best-practices), and works with localhost and public URLs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Lighthouse Audit audit http://localhost:4343/cottages"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Lighthouse Audit
An MCP server that provides detailed Lighthouse audits for web pages. Unlike basic tools that only return scores, this server returns the specific elements that fail each audit with actionable suggestions.
Features
Detailed Lighthouse audits with scores and specific failing elements
Works with localhost and public URLs
Desktop and mobile presets
Category filtering (performance, accessibility, seo, best-practices)
Clear output format with HTML snippets and selectors
Related MCP server: Marketing Master – Landing Page Evaluator
Installation
# Clone and build
cd ~/Dev/mcp-lighthouse-audit
pnpm install
pnpm buildAdd to Claude Code
claude mcp add lighthouse-audit node ~/Dev/mcp-lighthouse-audit/dist/index.jsOr add manually to ~/.claude/settings.json:
{
"mcpServers": {
"lighthouse-audit": {
"command": "node",
"args": ["/Users/<username>/Dev/mcp-lighthouse-audit/dist/index.js"]
}
}
}Usage
Once installed, you can use the audit_page tool in Claude:
Basic audit
Audit http://localhost:4343/cottagesWith specific categories
Audit http://localhost:4343 for accessibility onlyMobile preset
Audit https://example.com with mobile presetTool: audit_page
Input
Parameter | Type | Required | Description |
url | string | Yes | URL to audit (localhost or public) |
categories | string[] | No | Categories to audit: performance, accessibility, best-practices, seo |
preset | string | No | Device preset: desktop (default) or mobile |
Output
Returns a formatted report with:
Scores for each category (0-100)
Summary of passed/failed audits
Detailed list of failed audits grouped by category
For each failed audit:
ID and title
Score
Description
Affected elements (HTML snippets, CSS selectors, URLs)
Requirements
Node.js >= 18
Chrome or Chromium installed on the system
License
MIT
Available Tools
1 toolaudit_pageA
Run a detailed Lighthouse audit on a URL. Returns scores for all categories and a list of failed audits with specific elements that need fixing.
Inputs: url (required), preset, categories.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The purpose is clearly defined as running a Lighthouse audit.
The single tool name 'audit_page' follows a clear verb_noun pattern, which is consistent and descriptive.
A single tool for a Lighthouse audit server is functional but feels minimal. The tool is well-scoped, yet the server could benefit from additional related tools (e.g., audit_mobile, compare_audits).
The tool covers the core audit action comprehensively, returning all category scores and failed audits. However, there are no supplementary operations like retrieving historical audits or configuring audit options.
Maintenance
Related MCP Connectors
Lighthouse scores, Core Web Vitals (LCP, CLS, INP/TBT) and top fixes for any URL, mobile or desktop.
Run Google Lighthouse audits on any URL — performance, SEO, accessibility scores.
Audit public webpages and supplied markup for HTML, CSS, SEO, JSON-LD, and link issues.
Scan a web page for accessibility, security, privacy, quality and SEO issues, with fixes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI models to perform Google Lighthouse website performance analysis, including Core Web Vitals, accessibility, SEO audits, and actionable optimization recommendations. Provides comprehensive web performance insights through natural language interactions.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables rapid analysis of landing pages for SEO compliance, conversion structure, color contrast accessibility, and performance metrics with automated optimization suggestions and code snippets.1MIT
- AlicenseBqualityDmaintenanceProvides comprehensive accessibility auditing tools for websites using axe-core, Lighthouse CLI, and WAVE API. Returns deterministic, WCAG-mapped results with selectors and DOM context for remediation.31MIT
- AlicenseAqualityCmaintenanceConverts Lighthouse audits into prioritized implementation backlogs with evidence, suggested actions, and measurable acceptance criteria for coding agents.167 npm4MIT