-
securityA
license-
qualityActs as a bridge between AI models and Google's PageSpeed Insights API, enabling detailed performance analysis of websites.
Last updated -
4
4
JavaScript
MIT License
MCP 服务器围绕 Google 的 Lighthouse 工具,帮助测量网页的各种性能指标。
您可以直接使用 npx 运行该工具,无需安装:
全局安装包:
然后运行它:
将以下内容添加到您的 MCP 设置配置文件中:
将以下内容添加到您的 MCP 设置配置文件中:
将/absolute/path/to/lighthouse-mcp
替换为此项目的实际路径。
对 URL 运行全面的 Lighthouse 审核。
参数:
url
(必填):需要审核的 URLcategories
(可选):要审核的类别数组(默认为全部)device
(可选):要模拟的设备(默认为“移动设备”)throttling
(可选):是否应用网络节流(默认为 true)例子:
仅获取 URL 的性能分数。
参数:
url
(必填):需要审核的 URLdevice
(可选):要模拟的设备(默认为“移动设备”)例子:
一旦 MCP 服务器配置完毕,您就可以将其与 Claude 一起使用:
Claude 将使用get_performance_score
工具来分析网站并返回结果。
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
允许 Cursor/Cline/GitHub Copilot 等 AI 助手使用 Google 的 Lighthouse 工具来测量您网页的性能指标。然后,您可以运行代理循环,让助手优化这些指标!
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/priyankark/lighthouse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server