drio
Open app

PageSpeed MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

PageSpeed MCP Server is a Model Context Protocol (MCP) server that enhances AI assistants with the ability to perform detailed web performance analysis using Google's PageSpeed Insights API.

To use the PageSpeed MCP Server, install it via Smithery or manually, then configure it in your AI assistant's settings to analyze any URL for performance metrics.

  • Comprehensive performance metrics analysis including FCP, LCP, TTI, and more. - Best practices assessment for web development. - SEO analysis to improve website visibility. - Accessibility audits to ensure compliance with standards. - Resource optimization suggestions for better performance.
  1. Analyzing website performance for optimization.
  2. Conducting SEO audits to enhance search engine rankings.
  3. Ensuring accessibility compliance for web applications.
  4. Providing detailed reports for developers to improve site performance.

Add to your AI client

Use these steps to connect PageSpeed MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "phialsbasement-pagespeed-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phialsbasement-pagespeed-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What platforms does PageSpeed MCP Server support?

It supports Windows, Linux, and macOS.

Is there a limit on the number of analyses?

The limit depends on the API rate limits set by Google's PageSpeed Insights.

Can I customize the analysis parameters?

Yes! You can provide custom parameters for tailored analysis.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1172,"uuid":"55423d00-9bf9-4e1a-a5a8-f84091d8dcaa","name":"PhialsBasement_Pagespeed-MCP-Server","title":"PageSpeed MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2025-01-28T02:35:58.965Z","updated_at":"$D2025-02-23T07:20:27.636Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"pagespeed,mcp-server,web-performance","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/PhialsBasement_Pagespeed-MCP-Server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/b3a6e8ad761d9f3bdb4a8044cb36038c9876336a2d99a34b299f21cae595b125/68747470733a2f2f736d6974686572792e61692f62616467652f6d63702d7061676573706565642d736572766572","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]