Use GTmetrix MCP with Sokko.
Connect GTmetrix MCP and tell Sokko what to do. It runs the actions you ask for and reacts to what happens. No workflows, no code.
Works with 1,000+ tools · No code required
Actions
Everything Sokko can do in GTmetrix MCP
Every GTmetrix MCP action Sokko can run. Ask for one in a sentence and it's done.
Gtmetrix delete page tag
Permanently delete a page tag: irreversible. Removes the tag from every page that had it (including from any saved report filters that reference it) and deletes the tag itself — there is no undo. Find the tag_id with gtmetrix_list_page_tags first (its page_count tells you how many pages will be affected) if you're not certain which tag this is. To rename or recolor a tag instead, use gtmetrix_save_page_tag with its tag_id. Requires a GTmetrix account with at least Tester-level org access (Team organizations) — not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix get account status
Returns the current GTmetrix account status including plan type, remaining API credits, next refill date, and feature access flags. Guest connections get a truncated status (remaining guest API credits only); call gtmetrix_reauthenticate to sign in for the full account.
Gtmetrix get catalog
Fetch a GTmetrix lookup catalog (JSON). Use these to resolve names to IDs accepted by `gtmetrix_start_test` (location, browser, simulate_device, throttle) or to look up Lighthouse audit metadata. Same content as the equivalent `gtmetrix://catalog/<id>` MCP resource; use either surface.
Available `catalog_id` values:
- `browsers` — GTmetrix Browser Catalog. JSON list of test browsers available to the authenticated user.
- `locations` — GTmetrix Location Catalog. JSON list of test locations.
- `simulated-devices` — GTmetrix Simulated Device Catalog. JSON list of preset simulated-device profiles.
- `throttle-connections` — GTmetrix Throttle / Connection Catalog. JSON list of preset network-throttling profiles for start_test's `throttle` option.
- `lighthouse-audits` — GTmetrix Lighthouse Audit Catalog. JSON catalog of Lighthouse audit metadata for the latest supported version.
Gtmetrix get guide
Fetch a GTmetrix documentation guide (markdown). Same content as the equivalent `gtmetrix://docs/<id>-guide` MCP resource; use either surface. You can read a guide before configuring a non-trivial test, interpreting a test error, or analyzing a finished report.
Available `guide_id` values:
- `har-analysis` — GTmetrix HAR Analysis Guide. Field reference and analysis recipes for the GTmetrix Report HAR (net.har) waterfall.
- `test-options` — GTmetrix Test Analysis Options. Reference for every option accepted by the gtmetrix_start_test tool, including defaults, value ranges, related list tools, and credit-cost notes.
- `report-analysis` — GTmetrix Report Analysis Guide. Methodology for analyzing a GTmetrix Report: how to present scores and Core Web Vitals, how to read the Top Lighthouse Issues block, and when to download the HAR (per-request timing/headers) vs.
- `general-test-error` — GTmetrix General Test Error Guide. How to interpret and respond to general (non-Lighthouse) GTmetrix test errors: server / HTTP status, network connectivity, SSL, DNS, generic timeouts, redirects, and non-HTML responses.
- `lighthouse-error` — GTmetrix Lighthouse Error Guide. How to interpret and respond to Lighthouse-specific GTmetrix test errors: missing CPU / network idle, missing FCP / LCP, browser crashed or out-of-memory, debugger-statement pauses.
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. The output matches the input of gtmetrix_set_page_alert_conditions except for each condition's display-only value_fmt, which must be dropped before passing conditions back. Use gtmetrix_get_page_alert_events to see events already triggered by these conditions. Requires a GTmetrix account - not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix get page alert events
Fetch the performance-alert events triggered by a GTmetrix page, so an agent can investigate why a page alerted. Each event is either a triggered condition (metric/operator/threshold, plus the actual value - both raw and human-readable) or a report-generation failure. Includes the report_id for events backed by a report - pass it as gtmetrix_get_report's report_id to see the full report that triggered the alert. Use gtmetrix_get_page_alert_conditions to see what conditions are currently configured for the page. Supports pagination via page/limit (mirrors the REST API's page[number]/page[size]); results are returned in chronological order (oldest first) within each page. Requires a GTmetrix account - not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix get report
Retrieve the report data using the report ID. Reports are the result of a completed test and contain page load information. The result includes a structured hierarchy of web performance metrics: GTmetrix scores, Performance/Structure grades, Core Web Vitals (LCP, TBT, CLS) with qualitative ratings, the top 5 highest-impact Lighthouse issues pre-sorted by engineering priority, a computed Resource Summary, a HAR (waterfall) download URL, and a full Lighthouse JSON download URL. This data may be consumed by human end-users seeking optimization advice, or by autonomous software agents automating development workflows. Tailor the consumption, parsing, and presentation of this data to best serve the immediate objective and technical depth of the consuming entity. Key artifacts in the response:
- Resource Summary — per-resource-type request count and transferred / uncompressed byte totals (document, font, image, script, stylesheet, media, other). Pre-computed; no need to re-derive from the HAR.
- Top Lighthouse Issues — the 5 highest-impact structural problems Lighthouse found, each with a plain-text description, an Impact label (Critical / Major / Moderate / Minor / Informational), display value, and up to 5 example offending items. Pre-sorted by impact.
- HAR (Waterfall) — a HAR 1.2 JSON of every network request from the test, with per-phase timings (DNS, connect, SSL, wait, receive), headers, and sizes. The URL is in the response; download it with curl and inspect locally (it can be many MB, so fetching via MCP is not recommended). If you have no network egress to reach that URL, call `gtmetrix_get_report_har` with the report_id to fetch it over MCP instead (size-limited).
- Lighthouse JSON — the full Lighthouse Report Result with every audit (not just the top 5), full audit details, and metadata. The URL is in the response; download with curl. Resolve unfamiliar audit IDs via the lighthouse-audits catalog.
For the full methodology and recommended follow-up flows, read the analysis guide MCP resource `gtmetrix://docs/report-analysis-guide` (or call `gtmetrix_get_guide` with `guide_id: 'report-analysis'`); see also `gtmetrix://docs/har-analysis-guide` (or `gtmetrix_get_guide` with `guide_id: 'har-analysis'`) for HAR field meanings and `gtmetrix://catalog/lighthouse-audits` (or `gtmetrix_get_catalog` with `catalog_id: 'lighthouse-audits'`) to resolve any Lighthouse audit ID.
Gtmetrix get report har
Fetch the raw HAR (net.har) for a completed report and return it inline. Use this only when you cannot download the HAR URL from `gtmetrix_get_report` directly (e.g. your environment has no network egress to gtmetrix.com); otherwise prefer downloading the URL with your own tools. The HAR is a HAR 1.2 JSON of every network request with per-phase timings, headers, and sizes; Authorization headers and cookies are stripped. By default the HAR is only returned if it is under 256 KB — a multi-MB HAR returned inline can overflow the context window. If it exceeds the limit the tool returns the file size and the download URL instead; you may re-call with `force: true` to return it anyway (use with care). See `gtmetrix://docs/har-analysis-guide` (or `gtmetrix_get_guide` with `guide_id: 'har-analysis'`) for field meanings and analysis recipes. Requires a GTmetrix account — not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix get report history
Fetch the historical performance data for a GTmetrix page. A page is the combination of a URL and its test settings; each time it is tested or monitored a new report is created. Returns all reports for the page in reverse chronological order, including both successful reports (with scores, Core Web Vitals, timing metrics, and a link to each report) and any failed reports. Accepts either a report_id (to automatically resolve the parent page) or a page_id directly. Provide exactly one — not both. The response is structured for trend analysis: identifying performance regressions, metric outliers, and patterns over time. Use gtmetrix_get_report with a specific report_id to drill into the full audit details for any anomaly found in the history. Requires a GTmetrix account — not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix get test
Get the current status of a started test. The tool long-polls server-side: pass `wait_seconds` (default 25, max 30) and it returns as soon as the test completes or the budget expires. When it returns 'still running', re-issue the call immediately — do not use shell sleep between calls; the next call will long-poll again. Once the state is complete, use the returned report ID with gtmetrix_get_report to retrieve results. Reports are retained for 1 month by default unless a higher retention was set when the test was started. If the test ends in the `error` state, the response is marked `isError: true` and lists the URI(s) of one or both MCP guides — `gtmetrix://docs/general-test-error-guide` and `gtmetrix://docs/lighthouse-error-guide` — that explain the failure and the recommended next steps. Read the referenced guide(s) before responding to the user (equivalently, call `gtmetrix_get_guide` with `guide_id: 'general-test-error'` or `'lighthouse-error'`).
Gtmetrix list pages
List GTmetrix pages for the authenticated account. A page is a URL + test-settings combination; each test run creates a new report. Returns pages with their latest report scores, Core Web Vitals, analysis options summary, monitoring status, tags, and total report count (default 200 pages, max 2000). All filter parameters are optional and combinable:
- url: substring match against the page URL
- browser: exact browser ID — resolve a name to an ID via gtmetrix_get_catalog (catalog_id='browsers')
- location: exact region ID — resolve via gtmetrix_get_catalog (catalog_id='locations')
- throttle: exact connection string in 'down_kbps/up_kbps/latency_ms' format — presets via gtmetrix_get_catalog (catalog_id='throttle-connections')
- simulate_device: exact device ID — resolve via gtmetrix_get_catalog (catalog_id='simulated-devices')
- Boolean flags: adblock, video, stop_onload, anonymize_user_agent, httpauth, cookies, filter, dns — pass true to show only pages with that option enabled
- monitoring: filter by monitoring frequency — 'none' (aliases 'no', 'never'), 'hourly', 'daily', 'weekly', 'monthly'
- private: true = show only private pages (omit to include all pages)
- tag: substring match against tag names — shows pages with any matching tag (discovery)
- tag_ids: exact tag ids (as seen in each returned page's tags[].tag_id) — page must have ALL listed tags (exact/AND match, same as the REST API's filter[page_tag] and the Dashboard)
- limit: number of pages to return (default 200, max 2000)
For the full option reference read gtmetrix://docs/test-options-guide (or call gtmetrix_get_guide with guide_id='test-options'). Use gtmetrix_get_report_history with a page_id to drill into trend data for any page found here. Requires a GTmetrix account — not available to guest connections; call gtmetrix_reauthenticate to sign in.
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). Account-scoped, no input.
The tag_id returned here is the same identifier gtmetrix_list_pages' tag_ids filter and tags[].tag_id, and gtmetrix_get_report's page_tags, key off — use this tool to resolve those ids to a name/color/description, or to discover tag ids up front before filtering. Feeds gtmetrix_save_page_tag (pass tag_id to update, or omit it to create), gtmetrix_update_page_tags (attach/detach from pages), and gtmetrix_delete_page_tag. Requires a GTmetrix account — not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix reauthenticate
Sign in to a GTmetrix account from the current MCP session. Call this when a guest connection hits the guest credit limit (a 402 'Insufficient guest credits' error) or is told that a tool requires a GTmetrix account — and also when a logged-in user wants to switch accounts. It revokes the current access token; on your NEXT GTmetrix tool call the server will require re-authentication and present a sign-in page where the user can log into (or create) an account. After calling this tool, simply retry the action the user originally asked for.
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). Updates are a partial merge — an omitted name/description/color keeps its current value; pass an empty description to clear it. Tag names are unique per account: creating with a name that's already in use fails with the existing tag's tag_id so you can update it instead. Color accepts 3 or 6 character hex, with or without a leading '#' (e.g. 'f80', '#ff8800'); it's normalized and always returned as 6 characters with no '#'. New accounts have a limited number of tags — see gtmetrix_list_page_tags for the current count before creating more. Use gtmetrix_update_page_tags to attach/detach the saved tag from pages, and gtmetrix_delete_page_tag to remove it. Requires a GTmetrix account with at least Tester-level org access (Team organizations) — not available to guest connections; call gtmetrix_reauthenticate to sign in.
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. Always replaces the full condition list - pass an empty conditions array to remove all alert conditions (the same effect as the API's DELETE endpoint). create_video is also replaced, defaulting to false when omitted. Call gtmetrix_get_page_alert_conditions first to see the current config; its output matches this tool's input once each condition's value_fmt is dropped. Each condition's value must be given in the unit for its metric: seconds: speed_index, redirect_time, connect_time, backend_time, ttfb, dom_interactive, dom_content_loaded, dom_content_loaded_time, onload, onload_time, fully_loaded, first_paint, first_contentful_paint, largest_contentful_paint, time_to_interactive, total_blocking_time; percent, 0-100: gtmetrix_score, performance_score, structure_score, pagespeed_score, yslow_score; bytes: html_size, total_size; raw value, no unit conversion: rum_speed_index, requests, cumulative_layout_shift. send_to is only available - and required - for Team organizations; recipient e-mails must match an existing Team organization member's account e-mail. Requires a GTmetrix account - not available to guest connections; call gtmetrix_reauthenticate to sign in.
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. Requires page_id (from gtmetrix_list_pages) and frequency: 'none' to disable ('no' and 'never' are accepted as aliases), or 'hourly', 'daily', 'weekly', 'monthly' to enable at that cadence. Monitoring is plan-limited (a fixed number of monitoring slots, plus hourly-access and region/browser coverage restrictions) - use gtmetrix_list_pages with the monitoring filter to see which pages are currently monitored before changing this. On failure the error names the specific limit hit, e.g. '3 of 3 monitoring slots in use'. Returns the updated page in the same shape gtmetrix_list_pages emits for a single page, so the new state can be confirmed. Requires a GTmetrix account - not available to guest connections; call gtmetrix_reauthenticate to sign in.
Gtmetrix start test
Start a new GTmetrix page performance test for a URL. Use this when a user wants to test or improve their website's performance, or reports any of: slow/sluggish loading, layout instability (content jumping), slow server response, poor mobile performance, slow checkout or other flows, high bounce rates, SEO ranking drops, questions about a specific metric (LCP, CLS, TBT, TTFB, etc.), suspecting a recent deploy caused a regression, or wanting to benchmark against competitors. If the user has not provided a URL, ask for it before calling this tool. Concurrency: Basic accounts allow 2 concurrent tests, PRO allows 8. A 429 error means an existing test needs to finish before you retry. Workflow: `start_test` → wait 10 seconds → `gtmetrix_get_test` with `wait_seconds=25` to long-poll server-side; if it returns 'still running', you can re-issue it back-to-back with the same arguments (no need to shell-sleep between calls) until state=complete → `gtmetrix_get_report`. All analysis options are optional; the input schema lists their names, types, and defaults. Most-used options: `location` (test region ID) and `browser` (browser ID) — resolve a region/browser name to its ID via `gtmetrix_get_catalog` (`catalog_id` of `locations` / `browsers`); `report` (default `lighthouse`; also `legacy`, `lighthouse,legacy`, or `none`); `simulate_device` (preset mobile/tablet profile — overrides viewport and `user_agent`; IDs via the `simulated-devices` catalog); `throttle` as `Kbps_down/Kbps_up/latency_ms` (e.g. `1600/768/300` ≈ a slow 3G link; presets via the `throttle-connections` catalog); plus `adblock`, `video` (+0.9 credits), `cookies`, `httpauth_username`/`httpauth_password`, `block_url`/`allow_url`, `browser_width`/`browser_height`/`browser_dppx`, and `retention` (1/6/12/24 months). For the full reference — every option, its default, valid values, and recipes — read the MCP resource `gtmetrix://docs/test-options-guide` (or call `gtmetrix_get_guide` with `guide_id: 'test-options'`).
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. Find the tag_id with gtmetrix_list_page_tags (or create one with gtmetrix_save_page_tag) and the page_ids with gtmetrix_list_pages. Both attach and detach are idempotent — attaching an already-tagged page or detaching an already-untagged one is a no-op, not an error. Returns the tag's full resulting page set, not just the pages from this call, so you can confirm the end state directly. Requires a GTmetrix account with at least Tester-level org access (Team organizations) — not available to guest connections; call gtmetrix_reauthenticate to sign in.
Get connected
Add GTmetrix MCP to your Slack in two minutes.
No workflows to wire up. Turn on the tools you already use, and your agent gets to work.
Add to Slack
1
Add Sokko to Slack
One click from the Slack marketplace. Your whole team gets Sokko at once.
2
Connect your tools
Sokko works with 1,000+ apps and any MCP server.
Martin
9:53 AM
@Sokko
What can you do with GTmetrix MCP?
3
Put Sokko to work
@mention Sokko in any channel and it gets going. Minutes, not a weekend.
Questions, answered.
Sokko is an AI assistant that lives in your Slack. Connect your apps, ask for what you need in plain language, and Sokko takes the work off your plate.
Sign up to Sokko, ask Sokko to connect to GTmetrix MCP, and approve the connection when prompted. From then on you can ask Sokko to do things in GTmetrix MCP whenever you need.
No. There's nothing to build or configure. You ask Sokko in Slack the same way you'd ask a colleague, and Sokko handles the rest.
Yes. Ask once and tell Sokko when to repeat it, like every Monday at 9am, and it becomes a routine that runs without you.
Read and act on data in GTmetrix MCP, and trigger workflows when something changes there. Tell Sokko the outcome you want and it handles the rest.
Yes. Sokko connects to 1,000+ apps and any MCP server, so you can ask for tasks that span GTmetrix MCP and the rest of your stack in a single request.