How to integrate GTmetrix MCP with OpenClaw

Connect OpenClaw to GTmetrix MCP. Run a performance test on your homepage, check latest gtmetrix report for example.com, and more using natural language, with authentication handled for you.

GTmetrix logoGTmetrix
Api Key

GTmetrix is a web performance analysis tool that tests and reports on site speed. It helps developers and teams identify bottlenecks and optimize web applications for a better user experience.

20 Tools

Introduction

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access GTmetrix with authentication management handled for you. You can execute actions on GTmetrix via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

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

Also integrate GTmetrix with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Handling Large tool responses out of LLM context to minimize context rot.
  • Dynamic just-in-time access to 20,000 tools across 1800+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

How to install GTmetrix with OpenClaw

Using Composio API Key and Setup Prompt

Copy the setup prompt from the OpenClaw dashboard
  • Run it in your OpenClaw chat interface.
  • Authenticate GTmetrix from the dashboard
  • Go back to your OpenClaw interface and start asking questions.

Using OpenClaw/Composio Plugin

1. Install OpenClaw Composio plugin

bash
openclaw plugins install @composio/openclaw-plugin

2. Copy the API Key from dashboard.composio.dev

3. Setup OpenClaw Config

bash
openclaw config set plugins.entries.composio.config.consumerKey "ck_your_key_here"

4. Restart OpenClaw

bash
openclaw gateway restart

5. Go to your chat interface and start asking questions.

6. When prompted, authenticate the app and you're all set.

How It Works

The plugin connects to Composio's MCP server at https://connect.composio.dev/mcp and registers all available tools directly into the OpenClaw agent. Tools are called by name — no extra search or execute steps needed.

If a tool returns an auth error, the agent will prompt you to connect that toolkit at dashboard.composio.dev.

Configuration

bash
{
  "plugins": {
    "entries": {
      "composio": {
        "enabled": true,
        "config": {
          "consumerKey": "ck_your_key_here"
        }
      }
    }
  }
}
OptionDescriptionDefault
enabledEnable or disable the plugintrue
consumerKeyYour Composio consumer key (ck_...)—
mcpUrlMCP server URL (advanced)https://connect.composio.dev/mcp

What is the GTmetrix MCP server, 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 your website performance tests, reports, monitored pages, test locations, browsers, and account status, so your agent can start tests, review results, inspect report resources, track monitored pages, and check remaining credits on your behalf.

  • Website performance testing: Have your agent start a GTmetrix performance test for any specified website URL.
  • Test and report review: Let the agent retrieve your recent tests, inspect test details, and fetch performance reports for closer analysis.
  • Monitored page tracking: Direct your agent to list monitored pages, review their report history, and retrieve the latest report for each page.
  • Report resource retrieval: Instruct your agent to fetch screenshots, HAR files, videos, PDFs, or Lighthouse JSON from a performance report.
  • Test setup and account checks: Have your agent review available browsers and test locations, inspect their details, and check your account state and remaining credits.

Conclusion

You've successfully integrated GTmetrix with OpenClaw using Composio plugin. Now interact with GTmetrix directly from your terminal, Web UI, or any messenger app using natural language commands.

Key benefits of this setup:

  • Seamless integration across TUI, Web UIs, and Messenger apps like Telegram, WhatsApp, Slack, etc.
  • Natural language commands for GTmetrix operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1800+ apps for cross-app workflows
  • Programmatic tool calling for complex tool chaining

Next steps:

  • Try asking OpenClaw to perform various GTmetrix operations
  • Explore cross-app workflows by connecting more toolkits like Calendar, Slack, Notion, etc.
  • Build complex automation scripts that leverage OpenClaw's 24/7 running capabilities
TOOLS

Supported Tools

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

Delete Page

Permanently delete a specific GTmetrix page, including all its reports and associated history.

Delete Report

Permanently delete a GTmetrix report and all of its resources.

Get Browser Details

Tool to retrieve browser details from GTmetrix.

Get Browsers

Tool to retrieve the list of available browsers for GTmetrix performance tests.

Get Location Details

Tool to retrieve location details from GTmetrix.

Get Locations

Tool to retrieve the list of available GTmetrix test locations.

Get Page Details

Tool to retrieve page details from the user's GTmetrix account.

Get Page Latest Report

Retrieve the latest test report for a GTmetrix page, including available performance metrics and timing data.

Get Page Reports

Retrieve a paginated list of historical performance reports for a GTmetrix page, with sorting options.

Get Pages

Retrieve a paginated list of GTmetrix account pages, including their configurations and latest report identifiers.

Get Report

Retrieve a GTmetrix test report by ID, including selected performance metrics, timing data, and resource links.

Get Report Resource

Tool to get a report resource such as screenshot, HAR file, video, PDF, or Lighthouse JSON.

Get Simulated Device

Tool to retrieve simulated device details.

Get Simulated Devices

Tool to retrieve the list of simulated devices available in GTmetrix.

Get API Account Status

Tool to retrieve the current API account state and remaining credits.

Get Test Details

Tool to retrieve test details for a specific GTMetrix test.

Get Tests

Retrieve a paginated, filterable list of API-sourced tests from your GTmetrix account, including their states, timestamps, and configuration details.

Retest Page

Tool to initiate a retest of a GTmetrix page with same parameters.

Retest Report

Tool to initiate a retest of a completed GTmetrix report with same parameters.

Start Test

Tool to start a new GTmetrix test for a specified URL.

FAQ

Frequently asked questions

Start with GTmetrix.It takes 30 seconds.

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

Start building