MCP server for Google PageSpeed Insights & Chrome UX Report APIs — 16 tools to analyze, compare, and optimize web performance with Claude, Cursor, or
MCP server for Google PageSpeed Insights & Chrome UX Report APIs — 16 tools to analyze, compare, and optimize web performance with Claude, Cursor, or any
Add to ~/.grok/config.toml (global) or <repo>/.grok/config.toml (project-scoped, higher priority):
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| analyze_page_speed | |
| get_performance_summary | |
| get_recommendations | Generate smart performance recommendations with priority scoring and actionable fixes. |
| clear_cache | Clear the internal cache to force fresh API requests for all subsequent analyses. |
| get_visual_analysis | Get screenshots and visual timeline showing how the page loads. |
| get_element_analysis | |
| get_network_analysis | Get detailed network waterfall showing all requests with timing and size. |
| get_javascript_analysis | Get JavaScript execution breakdown showing performance impact. |
| get_image_optimization_details | Get specific images needing optimization with exact savings potential. |
| get_render_blocking_details | |
| get_third_party_impact | |
| get_full_audit | Get comprehensive audit results for all Lighthouse categories. |
| crux_summary | Get real-world Core Web Vitals from the Chrome UX Report (field data from actual Chrome users). |
| compare_pages |
{
"mcpServers": {
"pagespeed-insights": {
"command": "npx",
"args": ["-y", "-p", "pino-pretty", "-p", "pagespeed-insights-mcp", "pagespeed-insights-mcp"],
"env": {
"GOOGLE_API_KEY": "your-google-api-key-here"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| GOOGLE_API_KEY | Credential the server authenticates with. | Yes |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Rebrandly offers an official MCP server that connects AI assistants like Claude, Gemini, and GitHub Copilot to your Rebrandly account with
Windows x64/Python 3.12 MCPB preview: governed local tools and persistent profiles.
An MCP server that used to create notes
Token-efficient search for coding agents over public and private documentation.