Pagespeed MCP Server

MCP server for PageSpeed & SEO audits. Zero config required - works out of the box.

Local serverstdio

What is the Pagespeed MCP server?

Connect Pagespeed to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for PageSpeed & SEO audits. Zero config required - works out of the box. The pagespeed mcp server is what makes that connection.

What the server does

A Model Context Protocol (MCP) server for PageSpeed & SEO audits. Zero configuration required - just install and use.

By day, I'm a martech consultant, working with billion-dollar brands like Rolex and Helsana. By night, I build tools like AI SEO Copilot (15k+ installs), AEO Copilot, and blueprints like Webflow SEO Checklist (1k+ downloads) to help my Webflow friends make money with SEO and AEO.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • run_pagespeed_test — Full PageSpeed Insights API response with all Lighthouse data
  • technical_seo_audit — The technical_seo_audit tool exposed by this server
  • sitemap_robots_audit — The sitemap_robots_audit tool exposed by this server
  • onpage_seo_audit — The onpage_seo_audit tool exposed by this server
  • security_headers_audit — The security_headers_audit tool exposed by this server
  • performance_audit — The performance_audit tool exposed by this server
  • mobile_audit — The mobile_audit tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: PAGESPEED_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Pagespeed's toolset — run_pagespeed_test, technical_seo_audit, sitemap_robots_audit and 4 more — is a fair guide to whether it matches your workflow. It is maintained by sofianbettayeb; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Pagespeed's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
run_pagespeed_testFull PageSpeed Insights API response with all Lighthouse data.
technical_seo_auditThe technical_seo_audit tool exposed by this server.
sitemap_robots_auditThe sitemap_robots_audit tool exposed by this server.
onpage_seo_auditThe onpage_seo_audit tool exposed by this server.
security_headers_auditThe security_headers_audit tool exposed by this server.
performance_auditThe performance_audit tool exposed by this server.
mobile_auditThe mobile_audit tool exposed by this server.

How to install the Pagespeed MCP server

{
  "mcpServers": {
    "pagespeed": {
      "command": "npx",
      "args": ["-y", "pagespeed-mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PAGESPEED_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Pagespeed to run pagespeed test.
  • Use Pagespeed to technical seo audit.
  • Use Pagespeed to sitemap robots audit.

Frequently asked questions

It connects Pagespeed to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (run_pagespeed_test, technical_seo_audit, sitemap_robots_audit, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pagespeed directly.