MCP Server Pagespeed
With the MCP Server Pagespeed, you can analyze webpage performance using Google PageSpeed Insights.
Real-time performance analysis: Get instant insights into webpage loading metrics like First Contentful Paint and First Input Delay
Performance scoring: Receive an overall performance score (0-100)
Improvement suggestions: View the top 5 prioritized recommendations with title, description, potential impact, and current value
Error handling: Access detailed error messages for invalid URLs, API failures, and other issues
TypeScript support: Integrate the server seamlessly with TypeScript-based projects
Allows analyzing webpage performance using Google PageSpeed Insights API, providing performance scores, loading experience metrics, and improvement suggestions
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Pagespeed analyze the performance of https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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:
git clone https://github.com/enemyrr/mcp-server-pagespeed.git
cd mcp-server-pagespeed
npm install
npm run buildAdd the server in Cursor IDE settings:
Open Command Palette (Cmd/Ctrl + Shift + P)
Search for "MCP: Add Server"
Fill in the fields:
Name:
pagespeedType:
commandCommand:
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.
Related MCP server: Lighthouse MCP
Command-line Usage
Just run:
npx mcp-server-pagespeedAvailable 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
Available Tools
1 toolanalyze_pagespeedC
Analyzes a webpage using Google PageSpeed Insights API
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct by default.
The single tool name follows a clear verb_noun pattern (analyze_pagespeed). Since there is only one tool, consistency is inherently perfect with no deviations to assess.
A single tool is too few for a server named 'MCP Server Pagespeed', which suggests a broader scope for page speed analysis. This minimal set feels thin and limits functionality, as it only covers analysis without supporting operations like history tracking or batch processing.
The tool surface is severely incomplete for a page speed analysis domain. It only provides analysis but lacks essential operations such as retrieving historical results, comparing analyses, or managing configurations, leaving significant gaps for agent workflows.
Related MCP Connectors
Analyze web performance and get optimization insights from GTmetrix, directly in your AI workflow.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Google PageSpeed Insights — runs Lighthouse against any public URL and returns the performance…
Live SEO intelligence, rank tracking, site audits, and backlink analysis for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceActs as a bridge between AI models and Google's PageSpeed Insights API, enabling detailed performance analysis of websites.44 npm13MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI models to perform Google Lighthouse website performance analysis, including Core Web Vitals, accessibility, SEO audits, and actionable optimization recommendations. Provides comprehensive web performance insights through natural language interactions.1,992 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform comprehensive web performance analysis using Google's PageSpeed Insights API, including metrics, best practices, SEO, and accessibility audits.44 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to monitor website performance by scanning sites, retrieving Core Web Vitals, detecting regressions, and receiving AI-powered optimization recommendations.1159 npmMIT