Pagespeed Insights MCP logo

Pagespeed Insights MCP

未认领

作者:ruslanlap

Six-tool MCP server for Google PageSpeed Insights & Chrome UX Report APIs. Analyze, compare, and optimize web performance directly through Claude, Cursor, or any MCP-compatible AI client.

claudeclaude-codeclaude-desktopcodexcore-web-vitalscursorgeminigoogle-insightslighthousemcpmcp-servermcp-serverspagespeed-insightsseoseo-optimizationweb-performance

01 / 选择客户端

02 / 连接前的准备

认证方式尚未指定。连接前请查看项目说明。

安装项目所需的运行环境,并确保客户端能够使用它。

项目说明

输入项目说明中的变量名,用逗号分隔。只输入名称,不要输入密钥值。

03 / 添加配置

来源:根据公开安装说明生成

claude mcp add --transport stdio 'pagespeed-insights-mcp' -- 'npx' '-y' 'pagespeed-insights-mcp'

替换占位符后在终端中运行。

04 / 在客户端中确认

打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。

更多Search & Web服务器

浏览完整目录

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

安全概况

已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理

31 个工具中显示 31 个

文档中列出的工具 (31)

内容来自项目文档。服务器握手不会验证每个工具的说明或行为。

analyze_page_speed

Full Lighthouse analysis — all metrics and audits

batch_analyze

Analyze up to 10 URLs in parallel with progress tracking

categories

array of categories to audit (default: ["performance", "accessibility", "best-practices", "seo"])

category

array of categories ["performance", "accessibility", "best-practices", "seo", "pwa"]

clear_cache

Clear internal cache to force fresh API requests

compare_pages

Side-by-side performance comparison between two URLs

crux_summary

Real-world Core Web Vitals from Chrome UX Report (field data)

formFactor

"PHONE", "DESKTOP", or "TABLET" (default: "PHONE")

full_report

Run pagespeedanalyzepage and pagespeedgetfielddata; lab and field data stay explicit rather than being mixed.

get_element_analysis

LCP/CLS DOM elements causing performance issues

get_full_audit

Complete Lighthouse audit for all categories

get_image_optimization_details

Images needing optimization with exact savings

get_javascript_analysis

JS bootup time, main-thread work, unused & duplicated modules

get_network_analysis

Network waterfall — all requests with timing and size

get_origin_crux

Domain-level (origin) Chrome UX Report field data across all pages

get_performance_map

Mermaid flowchart visualizing performance score, Core Web Vitals status, and top opportunities

get_performance_summary

Simplified key-metrics report

get_recommendations

Prioritized recommendations with actionable fixes

get_render_blocking_details

Render-blocking resources and critical request chains

get_third_party_impact

Third-party script impact grouped by provider

get_visual_analysis

Screenshots, filmstrip, and full-page captures

pagespeed_analyze_batch

Triage 1–10 pages with progress notifications when supported.

pagespeed_analyze_page

One-page Lighthouse health check, full report, recommendations, audit findings, or a Mermaid map (report).

pagespeed_clear_cache

Clear this process's in-memory API cache after a deploy.

pagespeed_compare_pages

Compare two pages now, or compare one page with its saved baseline (mode).

pagespeed_diagnose_page

One focused investigation: visual, elements, network, javascript, images, render-blocking, or third-parties.

pagespeed_get_field_data

CrUX real-user Core Web Vitals for a page or origin.

strategy

"mobile" or "desktop" (default: "mobile")

urlA

(required): First URL to compare

urlB

(required): Second URL to compare

urls

(required): Array of URLs to analyze (max 10)

工具变更历史

比较相同配置的完整检查。只列出工具,未调用工具。此处不测量输入结构的变化。

尚无完整工具检查。