プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Pagespeed Insights MCP

作者:ruslanlapバージョン 2.2.0i★ –iパソコンで動く
レジストリ名io.github.ruslanlap/pagespeed-insights-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:GOOGLE_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

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

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GOOGLE_API_KEY 秘密 必須 env
    Google API key with PageSpeed Insights API enabled

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント ruslanlap で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの18477件のうち0%よりスターが多い
  • このカテゴリのほかの18477件のうち69%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの18477件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Pagespeed Insights MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:GOOGLE_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(2.2.0)がレジストリに届いたのは19 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Readfirst

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Spec Driven Development

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

作者:formulahendry初期↓ 66/週★ 44014 か月前更新

パソコンで動く

Remote Desktop Commander

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

作者:desktop-commander成長中★ 2113 日前更新

クラウドで動く✓ desktopcommander.app

Readfirst

What to read and check before changing a file: project rules, risks, checks and tests per file.

作者:jeonghun917成長中↓ 5325/週今日更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く