GTmetrix for AI agents

GTmetrix tests and monitors website speed, giving detailed performance reports to help teams optimize page load times. Developers wire it into their own apps and internal tools instead of building the underlying capability from scratch. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Developer toolsAPI keyMCP + RESTgtmetrix.com
AUDIT LOG · GTMETRIXPOLICY: acme-support
09:41:07 · claude · u_8f2read
gtmetrix.get_page
Get Page Details✓ allowed · 212ms
09:41:08 · claude · u_8f2read
gtmetrix.get_test
Get Test Details✓ allowed · 164ms
09:41:09 · claude · u_8f2write
gtmetrix.start_test
Start Test✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
gtmetrix.delete_page
Delete Page✕ blocked · policy: deny
EVERY GTMETRIX CALL, ON THE RECORD
01 · USE CASES

What agents do in GTmetrix.

01

Run a performance test

Start a new speed test on a page to get an updated performance score after a deploy.

02

Pull a report's details

Fetch the detailed results of a past test to diagnose what is slowing a page down.

03

Delete an old report

Delete a stale test report only after confirming it is no longer needed for comparison.

02 · ACTIONS

20 GTmetrix actions, graded by risk.

Every GTmetrix action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

15

Look things up. Allowed by default.

  • gtmetrix.get_page
    Get Page Details
  • gtmetrix.get_test
    Get Test Details
  • gtmetrix.get_pages
    Get Pages
  • gtmetrix.get_tests
    Get Tests
  • gtmetrix.get_report
    Get Report
  • gtmetrix.get_status
    Get API Account Status
  • gtmetrix.get_browser
    Get Browser Details
  • gtmetrix.get_browsers
    Get Browsers
  • gtmetrix.get_location
    Get Location Details
  • gtmetrix.get_locations
    Get Locations
  • gtmetrix.get_page_reports
    Get Page Reports
  • gtmetrix.get_report_resource
    Get Report Resource
  • gtmetrix.get_simulated_device
    Get Simulated Device
  • gtmetrix.get_simulated_devices
    Get Simulated Devices
  • gtmetrix.get_page_latest_report
    Get Page Latest Report

write

3

Create and change things. Allow, or ask the user first.

  • gtmetrix.start_test
    Start Test
  • gtmetrix.retest_page
    Retest Page
  • gtmetrix.retest_report
    Retest Report

destructive

2

Delete, cancel or archive. Ask first, or deny outright.

  • gtmetrix.delete_page
    Delete Page
  • gtmetrix.delete_report
    Delete Report
03 · HOW IT WORKS

GTmetrix in three steps.

  1. 01Your users connect GTmetrixThey add their GTmetrix api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “start Test” can wait for the user, and “delete Page” can be denied outright.
  3. 03Any agent can actYour agent calls GTmetrix through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('gtmetrix', {
  read: 'allow',
  write: 'ask',        // start_test
  destructive: 'deny',  // delete_page
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How GTmetrix connects.

Users add their GTmetrix api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same GTmetrix connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use GTmetrix from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

GTmetrix and Arc0, answered.

Q01

Can I use GTmetrix with Claude, ChatGPT or Cursor?

Yes. Connect GTmetrix to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the GTmetrix actions you allow.

Q02

How do users connect GTmetrix?

Users add their GTmetrix api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which GTmetrix actions can my agent take?

20 in total: 15 read, 3 write and 2 destructive, such as “start Test”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in GTmetrix?

Yes. Actions like “delete Page” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call GTmetrix too?

Yes. The same GTmetrix connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug GTmetrix into your agent.

Your users connect GTmetrix once, under your brand. Your agent gets 20 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan