网站性能分析 MCP 服务器

PageSpeed Insights MCP 服务器通过 MCP 协议让 AI 助手分析网站性能,提供 Core Web Vitals、Lighthouse 审计结果和优化建议,适用于开发者、SEO 人员和营销人员进行网页性能监测与优化。

  • by Insightful-Pipe
  • 混合部署
  • 更新于
在 GitHub 查看 insightfulpipe/pagespeed-mcp-server

使用说明

PageSpeed Insights MCP Server by Insightful Pipe

Analyze website performance and Core Web Vitals with AI through MCP.

Part of the Insightful Pipe MCP Server Collection — The PageSpeed Insights MCP server enables Claude, ChatGPT, Cursor, and other AI assistants to analyze website performance. Get Core Web Vitals, performance scores, and AI-powered optimization recommendations.

MCP Server URL

https://pagespeed-insights.insightfulmcp.com/

What is PageSpeed Insights MCP?

PageSpeed Insights MCP is a remote Model Context Protocol server that provides AI assistants with website performance analysis capabilities. This performance optimization integration allows you to:

  • Analyze page speed and Core Web Vitals
  • Get detailed Lighthouse performance breakdowns
  • Receive AI-powered optimization recommendations
  • Check accessibility and SEO scores
  • Identify resource optimization opportunities

Installation

Claude

  1. Copy the MCP Server URL: https://pagespeed-insights.insightfulmcp.com/
  2. Open Claude Connectors Settings
  3. Scroll to the bottom and click Add custom connector
  4. Paste the URL and click Add
  5. Click Connect and sign in to InsightfulPipe if asked. Claude then lists the connector as connected.

ChatGPT

Custom MCP servers are added through ChatGPT's Developer mode. Availability depends on your ChatGPT plan, and workspace admins may need to allow it.

  1. Turn on Developer mode in ChatGPT settings
  2. Create a new app for a remote MCP server and paste the URL: https://pagespeed-insights.insightfulmcp.com/
  3. Sign in to InsightfulPipe if asked. The connection finishes as soon as you are signed in.

See OpenAI's guide: Developer mode and MCP apps in ChatGPT

Claude Code

claude mcp add --transport http pagespeed https://pagespeed-insights.insightfulmcp.com/

Cursor

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "pagespeed": {
      "url": "https://pagespeed-insights.insightfulmcp.com/"
    }
  }
}

When Cursor shows Needs authentication, click Connect and sign in to InsightfulPipe if asked.

Available Actions

4 actions: 4 read, 0 write.

Read Actions (4)

Action Description
accessibility-seo Accessibility and SEO category scores with failing audits
analyze.full Full Lighthouse payload across all categories
core-web-vitals Core Web Vitals snapshot (FCP, LCP, CLS, TTI, TBT, Speed Index, TTFB)
resource-optimizations Resource-focused audits (render-blocking, unused JS/CSS, caching, images)

Control What Your AI Can Do

You decide what AI agents can do with each connected account:

  • Turn individual actions on or off for every connected account, so agents only see the actions you allow.
  • Connect as Read-only or Read & Write. A read-only connection can only enable read actions.
  • Destructive actions stay off by default. Actions such as deletes are disabled until an admin enables them.
  • Team access per account. Restricted team members only use the accounts they are granted, with the read actions enabled on them.

Usage Examples

Performance Analysis

"Analyze the page speed of https://example.com"

Core Web Vitals Check

"What are the Core Web Vitals for my homepage?"

Resource Optimization

"What resources are slowing down my page?"

Full Lighthouse Audit

"Run a full Lighthouse audit on this URL"

Accessibility Check

"Check the accessibility score for this page"

Core Web Vitals

Metric Description Good Threshold
LCP Largest Contentful Paint < 2.5s
FID/INP First Input Delay / Interaction to Next Paint < 100ms
CLS Cumulative Layout Shift < 0.1
TTFB Time to First Byte < 800ms
FCP First Contentful Paint < 1.8s
TTI Time to Interactive < 3.8s
TBT Total Blocking Time < 200ms
Speed Index Visual loading speed < 3.4s

Why PageSpeed Insights MCP?

For Web Developers

  • Performance monitoring - Track site speed
  • Debug slow pages - Identify bottlenecks
  • Optimization guidance - Know what to fix

For SEO Professionals

  • Core Web Vitals - Critical ranking factor
  • Mobile performance - Mobile-first indexing
  • Technical SEO - Performance auditing

For Marketers

  • Conversion optimization - Speed impacts conversions
  • User experience - Better page experience
  • Competitive analysis - Compare against competitors

Security & Privacy

  • Google API - Official PageSpeed Insights API
  • Public page analysis - Only public URLs

Pricing

The PageSpeed Insights MCP server is included in every InsightfulPipe plan, together with all other MCP servers and the CLI. Plans start at $29.99/month, and you can try it for 7 days. See insightfulpipe.com/pricing for current plans.

Ready-Made Skills and Prompts

Explore More MCP Servers by Insightful Pipe

Visit insightfulpipe.com/mcp-servers to discover our full collection of MCP servers for marketing and analytics.

SEO & Performance MCP Servers

Analytics MCP Servers

View All MCP Servers →

Resources

Support


Insightful Pipe — AI-powered marketing analytics through MCP servers. Explore all integrations →

License

MIT License - see LICENSE for details.