MCP.so
登录

PageSpeed MCP Server

@PhialsBasement

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

PhialsBasement

关于 PageSpeed MCP Server

Pull pagespeed data using this MCP server.

PageSpeed MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Pagespeed-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "mcp-pagespeed-server",
        "--client",
        "claude"
      ]
    }
  }
}

PageSpeed MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is PageSpeed MCP Server?

A Model Context Protocol (MCP) server that extends AI assistant capabilities with PageSpeed Insights functionality, acting as a bridge between AI models and Google's PageSpeed Insights API for detailed website performance analysis.

How to use PageSpeed MCP Server?

Install via npm (npm install pagespeed-mcp-server) or Smithery, then configure in your AI assistant's configuration file with a GOOGLE_API_KEY and the path to the server binary. The server can be invoked with a URL and optional parameters such as strategy (mobile/desktop) and categories.

Key features of PageSpeed MCP Server

  • Analyzes Core Web Vitals: FCP, LCP, TTI, TBT, CLS, Speed Index, TTFB
  • Assesses best practices: HTTPS, JavaScript errors, deprecated APIs
  • Performs SEO audits: meta descriptions, robots.txt, structured data
  • Runs accessibility checks: ARIA validation, color contrast, heading hierarchy
  • Provides resource optimization suggestions: image optimization, caching, minification

Use cases of PageSpeed MCP Server

  • Integrate real-time PageSpeed audits into AI-powered developer assistants
  • Automate performance regression checks in CI/CD pipelines
  • Enable AI chatbots to answer website speed and SEO questions
  • Quickly audit accessibility and best practices for multiple URLs

常见问题

1

What PageSpeed metrics does the server analyze?

It provides First Contentful Paint (FCP), Largest Contentful Paint (LCP), Time to Interactive (TTI), Total Blocking Time (TBT), Cumulative Layout Shift (CLS), Speed Index, and Time to First Byte (TTFB).

2

How do I set up the server with Claude?

Add a JSON entry to Claude's configuration with `"command": "node"`, `"args": ["path/to/mcp-pagespeed-server/dist/index.js"]`, and an `env` field containing your `GOOGLE_API_KEY`.

3

What strategies are supported for analysis?

You can specify `"strategy": "mobile"` or `"strategy": "desktop"` in the request.

4

How does the server handle API rate limiting?

The README recommends using an API key to obtain higher rate limits; common troubleshooting includes checking internet connectivity and adjusting Node.js memory limits.

5

Which platforms is the server compatible with?

Windows (x64, x86), Linux (x64), and macOS (x64, arm64).

评论

其他 分类下的更多 MCP 服务器