Integrations
Allows AI assistants to access Google's PageSpeed Insights API for detailed performance analysis of websites, including metrics like Core Web Vitals, performance scores, accessibility, best practices, and SEO audits
PageSpeed MCP Server
A Model Context Protocol (MCP) server that extends AI assistant capabilities with PageSpeed Insights functionality. This server acts as a bridge between AI models and Google's PageSpeed Insights API, enabling detailed performance analysis of websites.
Overview
The PageSpeed MCP server is designed to enhance AI assistants' capabilities by allowing them to perform comprehensive web performance analysis. When integrated, AI models can request and interpret detailed performance metrics, Core Web Vitals, and other critical web performance data for any given URL.
Installation
Installing via Smithery
To install PageSpeed Server for Claude Desktop automatically via Smithery:
Manual Installation
Configuration
Add the PageSpeed MCP to your AI assistant's(claude in this case) configuration file:
Detailed Capabilities
Performance Metrics Analysis
- First Contentful Paint (FCP)
- Largest Contentful Paint (LCP)
- Time to Interactive (TTI)
- Total Blocking Time (TBT)
- Cumulative Layout Shift (CLS)
- Speed Index
- Time to First Byte (TTFB)
Best Practices Assessment
- HTTPS usage
- JavaScript error monitoring
- Browser console warnings
- Deprecated API usage
- Image aspect ratio analysis
- Link security checks
SEO Analysis
- Meta description validation
- Robots.txt validation
- Structured data validation
- Crawlable links verification
- Meta tags assessment
- Mobile friendliness
Accessibility Audits
- ARIA attribute validation
- Color contrast checking
- Heading hierarchy analysis
- Alt text verification
- Focus management assessment
- Keyboard navigation testing
Resource Optimization
- Image optimization suggestions
- JavaScript bundling analysis
- CSS optimization recommendations
- Cache policy validation
- Resource minification checks
- Render-blocking resource identification
API Response Structure
The MCP server provides detailed JSON responses including:
Advanced Usage
Custom Configuration
You can customize the PageSpeed analysis by providing additional parameters:
Error Handling
The MCP server includes robust error handling for:
- Invalid URLs
- Network timeouts
- API rate limiting
- Invalid parameters
- Server-side errors
Requirements
Network Requirements
- Stable internet connection
- Access to Google's PageSpeed Insights API
Platform Support
- Windows (x64, x86)
- Linux (x64)
- macOS (x64, arm64)
Integration Examples
Basic Integration
With Custom Options
Troubleshooting
Common Issues
- Connection Timeouts
- Check internet connectivity
- API Rate Limiting
- Use API key for higher limits
- Memory Issues
- Adjust Node.js memory limits
Development
Building from Source
Running Tests
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
Support
Getting Help
- GitHub Issues: Report bugs and feature requests
License
MIT License - See LICENSE file for details
This server cannot be installed
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.
Acts as a bridge between AI models and Google's PageSpeed Insights API, enabling detailed performance analysis of websites.
Related MCP Servers
- AsecurityAlicenseAqualityEnables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.Last updated -63TypeScriptMIT License
Tavily MCP Serverofficial
AsecurityAlicenseAqualityThis server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.Last updated -25,133334JavaScriptMIT License- AsecurityAlicenseAqualityEnables AI models to analyze webpage performance using the Google PageSpeed Insights API, providing real-time performance scores and improvement suggestions.Last updated -171JavaScriptMIT License
- -securityAlicense-qualityA browser monitoring and interaction tool that enables AI applications to capture and analyze browser data through a Chrome extension, supporting functions like console monitoring, screenshots, DOM analysis, and website auditing.Last updated -1JavaScriptMIT License