$ timeahead.in
mcp/pagespeed-insights-mcp-server/install/claude-code

install PageSpeed Insights MCP Server on Claude Code

Requires the runtime declared in the upstream repo — check the README before running. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register PageSpeed Insights MCP Server.

run this in your terminal
cli: Run the command below in your terminal — Claude Code persists it for you.
claude mcp add pagespeed-insights --env GOOGLE_API_KEY=your-google-api-key-here -- npx -y -p pino-pretty -p pagespeed-insights-mcp pagespeed-insights-mcp
then: No reload needed — the next session picks up the new server.
other clients
Claude DesktopCursorWindsurfVS Code (Copilot)
← back to PageSpeed Insights MCP Server