Measure, then reason
Give your agent Lighthouse audits and regional TTFB results to ground its recommendations in test data.
SpeedVitals + Model Context Protocol
Connect your agent to Lighthouse, global TTFB, synthetic monitoring, and real-user insights. Turn a performance question into a workflow backed by SpeedVitals data.
Remote Streamable HTTP · API-key authentication · No local server
You
Test our homepage on mobile and help me decide what to fix first.
Agent workflow
I’ll discover the available test options and ask for approval before spending test credits.
vitals_list_options
vitals_start_test → test ID
vitals_get_progress → wait for completion
vitals_get_report → inspect audits
Once the report is ready, I’ll use its findings to prioritize recommendations—not guess at your scores.
Illustrative conversation only. Not a live test or a measured result.
Give your agent Lighthouse audits and regional TTFB results to ground its recommendations in test data.
Test batches across URLs, devices, or locations, then use the reports to investigate differences.
Inspect synthetic monitor metrics and incidents, and manage recurring tests when you approve.
Explore collected RUM analytics and Core Web Vitals by host, device, geography, and time window.
Get connected
https://api.speedvitals.com/v1/mcp
Authorization: Bearer YOUR_SPEEDVITALS_API_KEY
x-api-key: YOUR_SPEEDVITALS_API_KEY
Replace the placeholder with your key. These are connection values, not a client-specific configuration file. Check your account’s API settings to confirm that API access is available on your plan.
Tool catalog
Read existing data or take an explicit action. Tools use the authenticated organization and workspace. History pagination defaults to page 1 and page_size 10 (maximum 100), except rum_list_sites, which accepts page only.
Discover your test options, run a page test, and inspect the completed report.
vitals_list_optionsRead-onlyDiscover the location and device IDs available to your plan.
Arguments: No arguments.
vitals_start_testAction · review before runningStart a billable Lighthouse test. Discover valid options first.
Arguments: url; device (default mobile), location (default us); optional config.
vitals_get_progressRead-onlyCheck test state, progress, and report slug before fetching a report.
Arguments: id: the test ID.
vitals_get_reportRead-onlyRead report metadata and the full Lighthouse report.
Arguments: id: the completed test ID.
vitals_list_testsRead-onlyBrowse test history in the authenticated workspace.
Arguments: Optional page and page_size.
Investigate server response time across the locations in a region.
ttfb_start_testAction · review before runningRun a billable multi-location TTFB test; returns the result and test ID.
Arguments: url; region: asia, europe, or america.
ttfb_get_testRead-onlyRetrieve a saved TTFB result.
Arguments: id: the TTFB test ID.
ttfb_list_testsRead-onlyBrowse workspace TTFB test history.
Arguments: Optional page and page_size.
Expand a performance investigation across pages, devices, or locations.
batch_start_testAction · review before runningStart a billable Lighthouse batch with the appropriate device/location arrays.
Arguments: urls: non-empty array; batch_type: multiple-urls, multiple-devices, or multiple-locations; optional devices, locations, config.
batch_get_testRead-onlyRetrieve batch status and report; poll until the batch completes.
Arguments: slug: the batch slug.
batch_list_testsRead-onlyFind previous batches in the authenticated workspace.
Arguments: Optional page and page_size.
Read recurring test results and incidents, or manage monitor schedules.
monitor_list_slotsRead-onlyDiscover monitoring slots and their IDs.
Arguments: service: vitals or ttfb.
monitor_get_slot_metricsRead-onlyRead monitor results and metrics over a selected interval.
Arguments: service, slot_id; optional limit (1–20), interval: day, week, month, or three_months.
monitor_create_slotAction · review before runningCreate a recurring monitor using service-appropriate test settings and a schedule supported by your plan. Uses capacity and may consume credits.
Arguments: service, name (1–50 characters), schedule, url; optional tags, alert_always, region, device, location, config.
monitor_update_slotAction · review before runningChange monitor settings, pause a slot, or resume recurring testing.
Arguments: service, slot_id; optional name (up to 50 characters), tags, status (active or paused), schedule, alert_always.
monitor_list_incidentsRead-onlyRead incidents for a monitor in the authenticated workspace.
Arguments: service, slot_id.
Explore collected visitor analytics and Core Web Vitals for your RUM sites.
rum_create_siteAction · review before runningCreate a RUM site. Install its tracking script on the site to collect visits.
Arguments: domain: the site domain.
rum_get_site_statusRead-onlyCheck whether a RUM site is receiving data.
Arguments: site_id: a UUID.
rum_list_sitesRead-onlyDiscover RUM sites in the authenticated workspace.
Arguments: Optional page (default 1).
rum_list_filtersRead-onlyDiscover valid filter values and operators before narrowing a report.
Arguments: site_id: a UUID.
rum_get_statsRead-onlyRead analytics, ratings, timings, time series, and distributions. Defaults to a rolling one-day window across all recorded hosts for the site.
Arguments: site_id (UUID), report_type; optional metric, dimension, filters.
rum_get_stats supports summary, analytics_timeseries, ratings, performance_timeseries, timings, and distributions for geography, devices, pages, referrals, UTM, happiness, LCP resources, long animation frame domain impact, and navigation types. Use the discovered schema for report_type, metric, and dimension choices.
Filters include device_type, country, os, browser, host, path, title, date window, stats_type, and limit. Value filters use an operator/value pair, for example host: ["is", ["www.example.com"]]. Date presets are 1h, 1d, 7d, 30d, 3m, and 6m; custom start/end fields are also available.
With no filters, the window is a rolling 1 day and includes all hosts recorded under the selected site. Summary responses include the effective scope; page_views counts page views, while visit is a legacy alias—not sessions.
Lighthouse and batch tests are asynchronous. A successful start is not a completed report. Save the returned identifier and reuse it; don’t start a new billable test just to check progress.
Use vitals_list_options for supported device/location IDs. Agree on the URL, settings, and credit usage before starting a single test or batch.
For Lighthouse, poll vitals_get_progress with the returned ID. For batches, call batch_get_test with the returned slug. Space requests apart and back off on limits.
Wait for completion, then call vitals_get_report with the test ID, or read the batch report. Stop on failures and explain them; do not poll forever or invent findings.
Copy a prompt, replace the example URL, and make the scope your own.
Discover my available Lighthouse locations and devices. Ask me to confirm before starting a billable mobile test of https://example.com. Poll until it completes, read the report, and prioritize three fixes supported by its audits.
List my vitals monitoring slots. After I choose a slot, retrieve its metrics for the last week and its incidents. Summarize the observed changes without modifying any monitor settings.
List my RUM sites and let me choose one. Discover its filters, then summarize mobile Core Web Vitals over the last 7 days for a host I select. State the effective time window and host scope, and distinguish page views from sessions.
Connect with your workspace API key and start by exploring the data you already have.
Get your API key