Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

PageSpeed Insights

БесплатноНе проверен

Integrates with Google PageSpeed Insights to analyze webpage performance and provide optimization recommendations for improved loading speed and user experience

GitHubEmbed

Описание

Integrates with Google PageSpeed Insights to analyze webpage performance and provide optimization recommendations for improved loading speed and user experience

README

A Model Context Protocol server that provides Google PageSpeed Insights analysis. This server enables AI models to analyze webpage performance through a standardized interface.

Server Pagespeed MCP server

Installation & Setup for Cursor IDE

  1. Clone and build the project:
git clone https://github.com/enemyrr/mcp-server-pagespeed.git
cd mcp-server-pagespeed
npm install
npm run build
  1. Add the server in Cursor IDE settings:
    • Open Command Palette (Cmd/Ctrl + Shift + P)
    • Search for "MCP: Add Server"
    • Fill in the fields:
      • Name: pagespeed
      • Type: command
      • Command: node /absolute/path/to/mcp-server-pagespeed/build/index.js

Note: Replace /absolute/path/to/ with the actual path where you cloned and built the project.

Command-line Usage

Just run:

npx mcp-server-pagespeed

Available Tools

analyze_pagespeed

Analyze a webpage using Google PageSpeed Insights API.

use_mcp_tool({
  server_name: "pagespeed",
  tool_name: "analyze_pagespeed",
  arguments: {
    url: "https://example.com"
  }
});

The tool returns:

  • Overall performance score (0-100)
  • Loading experience metrics
    • First Contentful Paint
    • First Input Delay
  • Top 5 improvement suggestions with:
    • Title
    • Description
    • Potential impact
    • Current value

Features

  • Real-time webpage performance analysis
  • Detailed loading experience metrics
  • Prioritized improvement suggestions
  • Comprehensive error handling
  • TypeScript support

Error Handling

The server provides detailed error messages for:

  • Invalid URLs
  • API request failures
  • Connection issues
  • Invalid tool calls

Contributing

Contributions are welcome! Please feel free to submit a Pull Request to https://github.com/enemyrr/mcp-server-pagespeed

License

MIT

from github.com/enemyrr/mcp-server-pagespeed

Установить PageSpeed Insights в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install pagespeed-insights

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add pagespeed-insights -- npx -y mcp-server-pagespeed

Пошаговые гайды: как установить PageSpeed Insights

FAQ

PageSpeed Insights MCP бесплатный?

Да, PageSpeed Insights MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для PageSpeed Insights?

Нет, PageSpeed Insights работает без API-ключей и переменных окружения.

PageSpeed Insights — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить PageSpeed Insights в Claude Desktop, Claude Code или Cursor?

Открой PageSpeed Insights на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare PageSpeed Insights with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development