[Home](/index.md) › [MCP servers](/mcp.md) › GTmetrix MCP

# GTmetrix MCP

MCP server

- 0 callable tools
- 5 capabilities

[Installation guide](https://gtmetrix.com/blog/how-to-set-up-the-gtmetrix-mcp/)

## Overview

GTmetrix publishes an MCP server that connects AI tools to GTmetrix website performance testing. It works with GTmetrix test reports, monitoring history and performance data.

### Capabilities

- Run website performance tests from AI tools
- Analyze performance reports and Web Vitals in plain language
- Compare performance across locations, devices and connection speeds
- Review historical performance results and trends
- Get optimization recommendations for slow pages

## Works with

The products your agent can work with through this server.

- [GTMetrix](/tools/gtmetrix.md): Lighthouse page speed testing

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add GTmetrix MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http gtmetrix https://gtmetrix.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add GTmetrix MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=gtmetrix&config=eyJ1cmwiOiJodHRwczovL2d0bWV0cml4LmNvbS9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "gtmetrix": {
      "url": "https://gtmetrix.com/mcp"
    }
  }
}
```

### Add GTmetrix MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "gtmetrix": {
      "type": "http",
      "url": "https://gtmetrix.com/mcp"
    }
  }
}
```

### Add GTmetrix MCP to Codex

Run this in your terminal:

```sh
codex mcp add gtmetrix --url https://gtmetrix.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.gtmetrix]
url = "https://gtmetrix.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login gtmetrix`.

### Add GTmetrix MCP to Claude

Add it as a custom connector with this URL:

```
https://gtmetrix.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add GTmetrix MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://gtmetrix.com/mcp
```

[Read the installation guide](https://gtmetrix.com/blog/how-to-set-up-the-gtmetrix-mcp/)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [gtmetrix.com/ai-mcp](https://gtmetrix.com/ai-mcp/)
- [gtmetrix.com/blog/how-to-set-up-the-gtmetrix-mcp](https://gtmetrix.com/blog/how-to-set-up-the-gtmetrix-mcp/)
- [gtmetrix.com/features](https://gtmetrix.com/features/)
- [gtmetrix.com/blog/gtmetrix-mcp](https://gtmetrix.com/blog/gtmetrix-mcp/)
- [gtmetrix.com/api/docs/2.0](https://gtmetrix.com/api/docs/2.0)
- [gtmetrix.com/pricing](https://gtmetrix.com/pricing/)
