A Model Context Protocol server that provides Google PageSpeed Insights analysis. This server enables AI models to analyze webpage performance through a standardized interface.
git clone https://github.com/enemyrr/mcp-server-pagespeed.git
cd mcp-server-pagespeed
npm install
npm run build
pagespeed
command
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.
Just run:
npx mcp-server-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:
The server provides detailed error messages for:
Contributions are welcome! Please feel free to submit a Pull Request to https://github.com/enemyrr/mcp-server-pagespeed
MIT