PageSpeed MCP Server logo

PageSpeed MCP Server

by PhialsBasement

The PageSpeed MCP server extends AI assistant capabilities with PageSpeed Insights functionality. It acts as a bridge between AI models and Google's PageSpeed Insights API, enabling detailed performance analysis of websites.

View on GitHub

Last updated: N/A

What is PageSpeed MCP Server?

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.

How to use PageSpeed MCP Server?

Install the server either via Smithery or manually using npm. Configure your AI assistant (e.g., Claude) to use the server by specifying the command and arguments in the configuration file. Then, the AI assistant can request performance analysis for specific URLs.

Key features of PageSpeed MCP Server

  • Performance Metrics Analysis (FCP, LCP, TTI, TBT, CLS, Speed Index, TTFB)

  • Best Practices Assessment (HTTPS, JavaScript errors, deprecated APIs)

  • SEO Analysis (Meta description, robots.txt, structured data)

  • Accessibility Audits (ARIA, color contrast, heading hierarchy)

  • Resource Optimization (Image, JavaScript, CSS optimization)

  • Custom Configuration

  • Error Handling

Use cases of PageSpeed MCP Server

  • Integrating with AI assistants to provide web performance insights

  • Automated website performance monitoring

  • SEO optimization analysis

  • Accessibility compliance checks

  • Identifying resource optimization opportunities

FAQ from PageSpeed MCP Server

What is the purpose of this server?

To provide AI assistants with the ability to analyze website performance using Google's PageSpeed Insights API.

How do I install this server?

You can install it via Smithery or manually using npm.

What kind of performance metrics does it provide?

It provides detailed performance metrics such as FCP, LCP, TTI, TBT, CLS, Speed Index, and TTFB.

Can I customize the analysis?

Yes, you can customize the analysis by providing additional parameters such as strategy, category, and locale.

What platforms are supported?

Windows (x64, x86), Linux (x64), and macOS (x64, arm64).