MCP Server Pagespeed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Allows analyzing webpage performance using Google PageSpeed Insights API, providing performance scores, loading experience metrics, and improvement suggestions
@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.
Installation & Setup for Cursor IDE
- Clone and build the project:
- 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
- Name:
Note: Replace
/absolute/path/to/
with the actual path where you cloned and built the project.
Command-line Usage
Just run:
Available Tools
analyze_pagespeed
Analyze a webpage using Google PageSpeed Insights API.
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
You must be authenticated.
Enables AI models to analyze webpage performance using the Google PageSpeed Insights API, providing real-time performance scores and improvement suggestions.
- Installation & Setup for Cursor IDE
- Command-line Usage
- Available Tools
- Features
- Error Handling
- Contributing
- License