Pagespeed Insights MCP
未认领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.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'pagespeed-insights-mcp' -- 'npx' '-y' 'pagespeed-insights-mcp'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多Search & Web服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、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)