Lighthouse Mcp
@priyankark
关于 Lighthouse Mcp
Allows AI assistants such as Amp/Cline/Cursor/Claude Code/Codex/GitHub Copilot to use Google's lighthouse tool to measure perf metrics for your webpage. You can then run an agentic loop and get the assistants to optimize those metrics!
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"lighthouse": {
"command": "npx",
"args": [
"lighthouse-mcp"
],
"disabled": false,
"autoApprove": []
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Lighthouse Mcp?
Lighthouse Mcp is an MCP server that wraps Google’s Lighthouse tool to measure performance, accessibility, SEO, and other web page metrics. It is designed for developers and site owners who want automated audits through MCP‑compatible clients like Claude.
How to use Lighthouse Mcp?
Install via the MCP Registry, npx lighthouse-mcp, npm install -g lighthouse-mcp, or local clone and build. Then add a lighthouse entry to your MCP settings file with the appropriate command and args. Once configured, ask Claude or another MCP client to audit a URL.
Key features of Lighthouse Mcp
- Run comprehensive Lighthouse audits on any URL
- Get performance scores and metrics
- Configure device emulation (mobile/desktop)
- Control network throttling on/off
- Select specific audit categories (performance, accessibility, best‑practices, SEO, PWA)
Use cases of Lighthouse Mcp
- Audit a web page’s performance score before a release
- Compare mobile vs desktop performance for a site
- Check accessibility and SEO compliance automatically
- Integrate Lighthouse audits into an AI‑assisted development workflow
- Test how throttling affects page load metrics
FAQ from Lighthouse Mcp
What are the runtime requirements?
Node.js 16 or later and a Chrome/Chromium browser installed on the system.
How do I install Lighthouse Mcp?
You can install via the MCP Registry, run directly with npx lighthouse-mcp, install globally with npm install -g lighthouse-mcp, or clone the repo and build locally.
What parameters does the run_audit tool accept?
It requires a url, and optionally accepts categories (array from "performance", "accessibility", "best-practices", "seo", "pwa"), device ("mobile" or "desktop", default "mobile"), and throttling (boolean, default true).
Can I get only the performance score without a full audit?
Yes, the get_performance_score tool returns just the performance score for a URL, with an optional device parameter.
Does Lighthouse Mcp work with Claude Desktop?
Yes, it is designed for use with MCP clients including Claude Desktop; example usage shows asking Claude for a performance score.
开发工具 分类下的更多 MCP 服务器
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
评论