MCP.so
Sign In

PageSpeed MCP Server

@PhialsBasement

Basic information

Category

Other

License

MIT

Transports

stdio

Author

PhialsBasement

About PageSpeed MCP Server

Pull pagespeed data using this MCP server.

PageSpeed MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

PageSpeed MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

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

Frequently asked questions

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).

Comments

More Other MCP servers