# PageSpeed tool

> The pagespeed_check tool: Core Web Vitals and PageSpeed scores for any public web page, with its arguments and an example.

**Needs:** Nothing to connect: every MCP server has it. 1 tool.

Every MCP server has this tool, whatever it is connected to, so every API key can call it. Send its arguments as a JSON object. See [Calling tools](https://docs.plugsight.app/developers/calling-tools.md) for the request and response format.

| Tool                                  | What it does                         | Kind |
| ------------------------------------- | ------------------------------------ | ---- |
| [`pagespeed_check`](#pagespeed_check) | Check page speed and Core Web Vitals | Read |

The example requests fill in only the required arguments, with placeholder values.

## pagespeed_check

**Check page speed and Core Web Vitals** · Read

Google PageSpeed Insights for any public page: performance, SEO, accessibility and best-practice scores; real-user Core Web Vitals (LCP, INP, CLS) for the page and the whole site from Chrome users, as Google Search uses them; lab timings; and the fixes that would save the most time. Takes 10–40 seconds.

| Argument     | Type            | Required | What it is                                                                                                                                                     |
| ------------ | --------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `url`        | string          | Yes      | The page to check, e.g. https://example.com/pricing                                                                                                            |
| `strategy`   | string          | No       | Mobile is what Google ranks on. One of: `mobile`, `desktop`. Default `"mobile"`.                                                                               |
| `categories` | array of string | No       | Which scores to include. One of: `performance`, `seo`, `accessibility`, `best-practices`. Default `["performance", "seo", "accessibility", "best-practices"]`. |

Example request:

```bash
curl -X POST https://app.plugsight.app/v1/tools/pagespeed_check \
  -H "Authorization: Bearer $PLUGSIGHT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "…"}'
```

## Related articles

- [Calling tools](https://docs.plugsight.app/developers/calling-tools.md)
- [Errors](https://docs.plugsight.app/developers/errors.md)
- [Authentication](https://docs.plugsight.app/developers/authentication.md)

---

Web version: https://docs.plugsight.app/developers/pagespeed-tools
