Koskamo

pagespeed-insights-mcp

A six-tool MCP server for Google PageSpeed Insights and Chrome UX Report APIs that allows agents to analyze, compare, and optimize web performance. It provides deep diagnostics, actionable recommendations, and visual analysis of screenshots for URLs and origins.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

pagespeed-insights-mcp logo, by ruslanlapCommunity listingLocal stdioSource reviewed; not executedPublished by ruslanlap
You need:Get a free API key at Google Cloud Console
Vendor documentation

What you can do with it

  • Analyze web performance using PageSpeed Insights
  • Retrieve real-user data from Chrome UX Report
  • Compare performance across multiple pages
  • Get actionable optimization recommendations

Source and maintenance

Community listingRegistry 2.2.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

pagespeed-insights-mcp 2.2.0

npm
pagespeed-insights-mcp package definition
{
  "version": "2.2.0",
  "transport": "stdio",
  "identifier": "pagespeed-insights-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "GOOGLE_API_KEY",
      "format": "string",
      "isRequired": true,
      "description": "Google API key with PageSpeed Insights API enabled"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp@2.2.0"
      ],
      "env": {
        "GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp@2.2.0"
      ],
      "env": {
        "GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "pagespeed-insights-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp@2.2.0"
      ],
      "env": {
        "GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp@2.2.0"
      ],
      "env": {
        "GOOGLE_API_KEY": "<YOUR_GOOGLE_API_KEY>"
      }
    }
  }
}

Let your agent find its tools

Find servers like pagespeed-insights-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.