Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Pagespeed Insights MCP

by ruslanlapversion 2.2.0i★ –iRuns on your computer
Registry nameio.github.ruslanlap/pagespeed-insights-mcp

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: GOOGLE_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: GOOGLE_API_KEY

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "pagespeed-insights": {
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp"
      ],
      "env": {
        "GOOGLE_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add pagespeed-insights --env GOOGLE_API_KEY=your-value -- npx -y pagespeed-insights-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "pagespeed-insights": {
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp"
      ],
      "env": {
        "GOOGLE_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "pagespeed-insights": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pagespeed-insights-mcp"
      ],
      "env": {
        "GOOGLE_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • GOOGLE_API_KEY secret required env
    Google API key with PageSpeed Insights API enabled

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account ruslanlap, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 18694 servers in this category
  • Published to the registry more recently than 68% of the other 18694 servers in this category
  • Basic checks equal to or better than 100% of the other 18694 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Pagespeed Insights MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: GOOGLE_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (2.2.0) reached the registry 20 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Toggl 2.0

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

by formulahendryEarly↓ 66/wk★ 440Updated 14 months ago

Runs on your computer

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

by desktop-commanderGrowing★ 211Updated 4 days ago

Runs in the cloud✓ desktopcommander.app

Toggl 2.0

Toggl 2.0 MCP server for tasks, projects, time entries, and workspace operations.

by togglWidely used↓ 24.3K/wkUpdated today

Computer or cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

PageSpeed Insights MCP Server

Six-tool MCP server for Google PageSpeed Insights & Chrome UX Report APIs. Analyze, compare, and optimize web performance directly through Claude, Cursor, or any MCP-compatible AI client.

⚡ Quick Start (Copy & Paste)

{

"mcpServers": { "pagespeed-insights": { "command": "npx", "args": ["-y", "pagespeed-insights-mcp"], "env": { "GOOGLE_API_KEY": "your-google-api-key" } } } }

Get a free API key at Google Cloud Console → paste into Claude Desktop's claude_desktop_config.json → restart. Done. (Codex/OpenAI config, Docker)

🔥 What Makes It Different

Most PageSpeed MCP servers wrap one tool: "run PSI on a URL." This server ships six workflow tools covering the full performance workflow — not just a score, but an action plan:

  • Full toolkit: page analysis, CrUX real-user data (URL + origin), Lighthouse audits, multi-page & batch comparison, baselines, and regression tracking
  • Deep diagnostics: element-level, network, JavaScript, image optimization, render-blocking, and third-party impact analysis
  • Actionable output: a recommendations engine that turns raw Lighthouse data into prioritized fixes, plus visual analysis of screenshots
  • Practical extras: caching for repeat runs and smart recommendations tuned for AI agents to act on
  • Battle-tested: published on npm, listed in the Official MCP Registry and Glama, CI-tested with Vitest

🎬 [View Interactive Demo →](https://ruslanlap.github.io/pagespeed-insights-mcp/demo/) — See the tools in action with animated examples

Fallback URL: https://ruslanlap.github.io/pagespeed-insights-mcp/demo.html

📖 Table of Contents

  • ⚡ Quick Start (Copy & Paste)
  • 🔥 What Makes It Different
  • ⚙️ Client Configuration
  • 📊 Example Output
  • 📚 Documentation
  • 📝 Release Notes
  • 🎯 Why You Need This
  • ✨ Features
  • 🚀 Quick Installation
  • 🔑 Getting Google API Key
  • ⚙️ Claude Desktop Configuration
  • 💻 Usage
  • Available Tools
  • MCP Prompts (Slash Commands)
  • MCP Resources
  • ✨ Rich Visual & Aesthetic Outputs
  • Development
  • Troubleshooting
  • Requirements
  • Security
  • Acknowledgments
  • License
  • Support

⚙️ Client Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{

"mcpServers": { "pagespeed-insights": { "command": "npx", "args": ["-y", "-p", "pino-pretty", "-p", "pagespeed-insights-mcp", "pagespeed-insights-mcp"], "env": { "GOOGLE_API_KEY": "your-google-api-key-here" } } } }

Codex / OpenAI

Add to your configuration (TOML):

[mcp_servers.pagespeed-insights]

command = "npx" args = [ "-y", "-p", "pino-pretty", "-p", "pagespeed-insights-mcp", "pagespeed-insights-mcp" ] env = { GOOGLE_API_KEY = "your-google-api-key-here" }

Note: The pino-pretty package is required for proper log formatting. The above configurations ensure it is installed automatically via npx.

For Grok Build (config.toml)

Add to ~/.grok/config.toml (global) or /.grok/config.toml (project-scoped, higher priority):

[mcp_servers.pagespeed-insights]

command = "npx" args = ["-y", "-p", "pino-pretty", "-p", "pagespeed-insights-mcp", "pagespeed-insights-mcp"] env = { GOOGLE_API_KEY = "${GOOGLE_API_KEY}" } enabled = true

Recommended companion professional MCPs (add once):

[mcp_servers.github] — PRs, issues, code search

[mcp_servers.context7] — fresh library docs (Upstash)

[mcp_servers.serena] — semantic code intelligence (uses your .serena/ if present)

Project-scoped example (put in this repo's .grok/config.toml for local dist/index.js + tighter Serena):

[mcp_servers.pagespeed-insights]

command = "node" args = ["/home/ubuntuvm/Projects/pagespeed-insights-mcp/dist/index.js"] env = { GOOGLE_API_KEY = "${GOOGLE_API_KEY}", NODE_ENV = "development" }

Verification inside Grok session:

  • /mcps (or Ctrl+L → MCP tab) → ensure pagespeed-insights shows "running"
  • Use tools: pagespeed-insights__pagespeed_analyze_page, pagespeed-insights__pagespeed_get_field_data, etc. (namespaced)

📊 Example Output

Real pagespeed_analyze_page results for github.com — one mobile Lighthouse run. CrUX numbers come from pagespeed_get_field_data with scope: "origin":

Lighthouse lab scores:

CategoryScoreStatus
Performance (mobile)54/100🔴 Poor
Performance (desktop)52/100🔴 Poor

Core metrics (mobile):

MetricValueRating
First Contentful Paint11.9 s🔴 Poor
Largest Contentful Paint13.4 s🔴 Poor
Total Blocking Time30 ms🟢 Excellent
Cumulative Layout Shift0.07🟢 Good
Speed Index11.9 s🔴 Poor

CrUX field data — real users, github.com origin (phone):

Metricp75 (real users)
First Contentful Paint1.9 s
Largest Contentful Paint2.2 s
Interaction to Next Paint243 ms
Cumulative Layout Shift0.02

Results vary between runs — Lighthouse lab data is noisy (a single run is one sample). Use runs: 3-5 for medians.

Lab vs field: Lighthouse throttles the connection (hence 54/100 mobile), while CrUX shows how actual GitHub visitors experience it — both views come straight from this server's tools.

📚 Documentation

We have comprehensive documentation available online.

👉 View Full Documentation Site

You can also view the raw markdown files in the docs/ directory or run mkdocs serve locally.

📝 Release Notes

Current release: see the version badges at the top of this README.

Latest Highlights:
  • ✨ Rich Aesthetic & Visual Formatters:
  • Unicode Score Bars: Gauge progress visualization (█████████████░░░ 85/100 🟢 Good) for instant visual feedback.
  • Core Web Vitals Scorecards: Clean markdown tables classified with official Google 2026 guidelines (🟢 Good, 🟡 Needs Improvement, 🔴 Poor).
  • GitHub Shield Badges: Direct copy-paste markdown badges for repository READMEs with direct web.dev analysis links.
  • Modernized Mermaid Architecture Maps: High-contrast, dark-mode friendly flowcharts with color-coded nodes.
  • Recommendation Callouts: Visual priority summary callout cards (🔴 High | 🟡 Medium | 🟢 Low | Impact: High).
  • 💬 Native MCP Prompts (Slash Commands):
  • Interactive prompts exposed to Claude Desktop, Cursor, and Cline slash menus:
  • /performance-audit: Guided 4-step performance triage with prioritized remediation.
  • /release-comparison: Staging vs production delta verification with a clear GO / NO-GO decision.
  • /core-web-vitals-deepdive: Deep-dive contrasting real-user CrUX field data with synthetic Lighthouse lab simulations.
  • 📚 Native MCP Resources:
  • Direct context URIs without tool executions:
  • pagespeed://web-vitals-guide: 2026 Core Web Vitals thresholds and optimization playbooks.
  • pagespeed://baselines: Locally recorded performance baselines for regression tracking.
  • 🧪 Enterprise-Grade Test Suite & Resilience:
  • Expanded test coverage across 21 test suites and 304 tests (100% passing).
  • High coverage standards: 96.43% statements, 85.82% branch coverage (100% on formatters, resources, and baselines).
  • Clean, single-run execution across CI and prepublishOnly (lint, typecheck, test, build).
  • v2 Core Architecture:
  • Six workflow-oriented pagespeed_* tools replace the former 19 v1 endpoint-shaped tools; all data tools support Markdown or JSON with structured results.

The badges at the top of this README update automatically on every release (npm version, GitHub package version, downloads). No manual edits needed.

For the complete release history, see CHANGELOG.md.

🎯 Why You Need This

Pain point 1 — "My page is slow but I don't know why." You open PageSpeed Insights, get a wall of data, and still can't tell what to fix first. This MCP gives your AI assistant six focused workflows that cut through the noise: it identifies the exact render-blocking resources, the specific images wasting 2 MB, the third-party scripts eating 1.5 s of main-thread time — and ranks them by impact. Ask "why is my site slow?" and get a prioritized fix list, not a 40-metric dashboard.

Pain point 2 — "I ship performance regressions to production." Your team moves fast, deploys daily, and nobody runs a full Lighthouse audit before each merge. By the time someone notices the Core Web Vitals dropped, the regression is already live. This MCP lets any developer paste a URL into Claude/Cursor and get a complete audit — lab data, field data from real Chrome users (CrUX), element-level CLS/LCP debugging — in seconds. It's the difference between catching a regression at your desk and di

Only the beginning is shown; read the rest in the repo

Ask PopNx