How to connect GTmetrix MCP to Claude

Connect Claude Web, Desktop and Cowork to GTmetrix MCP. Run a gtmetrix test for your homepage, compare your latest gtmetrix performance reports, and more using natural language, with authentication handled for you.

GTmetrix MCP logoGTmetrix MCP
Dcr Oauth

GTmetrix MCP is a hosted MCP server for website performance testing and report analysis. It gives developers quick, structured access to speed insights, history, and monitoring.

18 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your GTmetrix account to Claude via Composio Connect, enabling it to run a GTmetrix test for your homepage, compare your latest GTmetrix performance reports, list GTmetrix alerts for your monitored pages, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate GTmetrix MCP with

Connecting GTmetrix to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your GTmetrix account

Back in Claude, ask it to connect to GTmetrix or give it any GTmetrix-related task.

For example, ask Claude to:

  • "Run a GTmetrix test for your homepage"
  • "Compare your latest GTmetrix performance reports"
  • "List GTmetrix alerts for your monitored pages"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your GTmetrix account is ready to use.

What is the GTmetrix Claude Connector, and what's possible with it?

The GTmetrix MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your GTmetrix account. It provides structured and secure access to page performance testing, reports, performance history, monitoring, alerts, and page organization, so your agent can run website tests, inspect performance data, manage recurring monitoring, configure alerts, and organize pages with tags on your behalf.

  • Run and track performance tests: Have your agent start a GTmetrix test for a URL and check its progress until the results are available.
  • Inspect detailed performance data: Let the agent retrieve reports, review historical page performance, and fetch the raw HAR file for a completed test.
  • Manage monitoring and alerts: Direct your agent to enable or disable recurring monitoring, configure metric conditions, and review events triggered by page alerts.
  • Organize pages with tags: Instruct your agent to create, update, delete, attach, or detach tags across GTmetrix pages.
  • Check GTmetrix account resources: Have your agent review account status, available API credits, feature access, lookup catalogs, and GTmetrix documentation guides.

Troubleshooting

1. Why does Claude not use the Composio connector for GTmetrix?

The connector can show as connected, but Claude must use it in each GTmetrix conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to GTmetrix again.

2. Why does Claude show an MCP server error before GTmetrix connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for GTmetrix.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect GTmetrix.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the GTmetrix authorization link not work?

The Composio connector is one server. Your GTmetrix account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the GTmetrix connection.
  • Composio creates a fresh GTmetrix authorization link.
  • Open that link in your browser and finish the GTmetrix sign-in.

4. Why do GTmetrix actions fail after they worked before?

The GTmetrix connection can expire or lose permission.

  • Ask Claude to inspect the GTmetrix connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the GTmetrix account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in GTmetrix.
  • If the action still fails with a permission error, check that the connected account has that permission in GTmetrix itself.

5. How do I switch to a different GTmetrix account?

Claude can manage the GTmetrix connection for you.

  • Ask Claude to disconnect or delete the current GTmetrix account.
  • Ask Claude to connect GTmetrix again.
  • Open the new Composio authorization link for GTmetrix.
  • Sign in with the other GTmetrix account in the browser.
  • After the account connects, ask Claude to retry the GTmetrix task.

6. Why is my GTmetrix connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your GTmetrix connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If GTmetrix tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect GTmetrix.
TOOLS

Supported Tools

Every GTmetrix MCP action and event your agent gets out of the box.

Gtmetrix delete page tag

Permanently delete a page tag: irreversible.

Gtmetrix get account status

Returns the current GTmetrix account status including plan type, remaining API credits, next refill date, and feature access flags.

Gtmetrix get catalog

Fetch a GTmetrix lookup catalog (JSON).

Gtmetrix get guide

Fetch a GTmetrix documentation guide (markdown).

Gtmetrix get page alert conditions

Fetch the performance-alert conditions currently configured for a GTmetrix page: whether a video is kept when an alert triggers, the metric/operator/threshold conditions, and (for Team organizations) the recipients notified.

Gtmetrix get page alert events

Fetch the performance-alert events triggered by a GTmetrix page, so an agent can investigate why a page alerted.

Gtmetrix get report

Retrieve the report data using the report ID.

Gtmetrix get report har

Fetch the raw HAR (net.har) for a completed report and return it inline.

Gtmetrix get report history

Fetch the historical performance data for a GTmetrix page.

Gtmetrix get test

Get the current status of a started test.

Gtmetrix list pages

List GTmetrix pages for the authenticated account.

Gtmetrix list page tags

List every page tag on the authenticated account: tag_id, name, description, color, and page_count (how many non-deleted pages currently carry it — a quick way to spot a stale or unused tag).

Gtmetrix reauthenticate

Sign in to a GTmetrix account from the current MCP session.

Gtmetrix save page tag

Create a page tag, or update one by passing its tag_id (an upsert, matching the REST API's POST /page_tags).

Gtmetrix set page alert conditions

Replace the performance-alert conditions configured for a GTmetrix page: which metrics trigger an alert, whether a video is kept, and (for Team organizations) who gets notified.

Gtmetrix set page monitoring

Enable or disable recurring monitoring for a GTmetrix page, which re-runs its saved test settings on a schedule and keeps each run as a report.

Gtmetrix start test

Start a new GTmetrix page performance test for a URL.

Gtmetrix update page tags

Attach or detach a page tag from a batch of pages at once — the bulk direction agents usually want ('tag these 30 pages checkout'), from the tag's point of view: one tag_id, many page_ids.

FRAMEWORKS

How to build GTmetrix MCP Agent with another framework

FAQ

Frequently asked questions

Start with GTmetrix MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every GTmetrix MCP tool your agent needs.Free to start.

Start building