MCP Server Studio

Pagespeed Insights MCP MCP server

Google PageSpeed Insights and CrUX: six workflow tools for web performance.

Registry name: io.github.ruslanlap/pagespeed-insights-mcp

Publisher
ruslanlap
Runs
Runs locally
Package
npm
Version
2.5.0
Category
AI & agents
Updated
2026-11-29

Source code on GitHub

Set up Pagespeed Insights MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add pagespeed-insights-mcp -e GOOGLE_API_KEY='<GOOGLE_API_KEY>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pagespeed-insights-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pagespeed-insights-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
GOOGLE_API_KEYNoOptional Google API key for higher PSI quotas and Chrome UX Report field data

More ai & agents MCP servers