Navigation
@enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates - MCP Implementation

@enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates

@enemyrr/mcp-server-pagespeed: Your site’s new speed demon! ⚡ Slays slow loads, boosts joy, and keeps bounce rates gasping for air. No capes—just pure velocity. 🚀💨

Research And Data
4.9(39 reviews)
58 saves
27 comments

Ranked in the top 4% of all AI tools in its category

About @enemyrr/mcp-server-pagespeed

What is @enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates?

This Model Context Protocol (MCP) server leverages Google PageSpeed Insights to analyze webpage performance. It acts as a bridge between AI models and real-world performance data, providing a standardized interface to evaluate loading speeds, identify optimization opportunities, and reduce bounce rates. Think of it as your technical performance auditor for the web.

How to use @enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates?

Here’s how you can get started:

  1. Clone and prepare the repository:
    git clone https://github.com/enemyrr/mcp-server-pagespeed.git
    cd mcp-server-pagespeed
    npm install && npm run build
  2. Configure in Cursor IDE:
    • Open Command Palette (Cmd/Ctrl + Shift + P)
    • Select "MCP: Add Server"
    • Set Name: pagespeed, Type: command, Command: node /absolute/path/to/build/index.js
  3. Run directly via CLI:
    npx mcp-server-pagespeed
  4. Analyze pages using:
    use_mcp_tool({
      server_name: "pagespeed",
      tool_name: "analyze_pagespeed",
      arguments: {url: "https://example.com"}
    });

@enemyrr/mcp-server-pagespeed Features

Key Features of @enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates?

Powerhouse capabilities include:

  • Instant diagnostics: Get PageSpeed scores and loading metrics (First Contentful Paint, First Input Delay)
  • Actionable insights: Top 5 optimization suggestions with impact ratings and current performance values
  • Robust reliability: Detailed error handling for API failures, invalid URLs, and network issues
  • Dev-friendly: TypeScript support and clean error messaging for smooth integration

Use cases of @enemyrr/mcp-server-pagespeed: Boosts Speed, Crushes Bounce Rates?

Perfect for scenarios like:

  • Optimizing e-commerce sites to reduce cart abandonment
  • Testing landing pages for better conversion rates
  • Automating performance audits during CI/CD pipelines
  • Comparing performance across different device types

@enemyrr/mcp-server-pagespeed FAQ

FAQ: Tackling Common Questions

  • Q: Does it require Google API keys?
    A: Uses public PageSpeed API endpoints, no credentials needed
  • Q: How often can I run analyses?
    A: Rate limited by Google's API terms (2,000 requests/month)
  • Q: Can I customize the analysis parameters?
    A: Supports device and throttling presets through API parameters

Content

@enemyrr/mcp-server-pagespeed

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

Related MCP Servers & Clients