SpeedVitals + Model Context Protocol

Your AI agent.
Real performance context.

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

From question to investigation

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.

Measure, then reason

Give your agent Lighthouse audits and regional TTFB results to ground its recommendations in test data.

Go beyond one page

Test batches across URLs, devices, or locations, then use the reports to investigate differences.

Keep watch over time

Inspect synthetic monitor metrics and incidents, and manage recurring tests when you approve.

Bring real users into view

Explore collected RUM analytics and Core Web Vitals by host, device, geography, and time window.

Get connected

One endpoint. Your workspace.

  1. Get your API key

    Sign in to Account → API for the intended workspace. An active API key and an eligible plan with API access are required.
  2. Add a remote MCP server

    In your client’s MCP settings, add the endpoint shown here and select Streamable HTTP. Use a client that supports remote servers and authentication headers; exact setup fields vary.
  3. Authenticate and discover tools

    Set the Authorization header to Bearer followed by your API key. Alternatively, send the key in x-api-key. Connect, discover the tools, and try a read-only request such as vitals_list_options.
  4. Review permissions before running tests

    Keep your key in the client’s secure credential settings, not in prompts or source control. Require approval for billable tests and monitor or site changes.
Remote server URL · Streamable HTTP
https://api.speedvitals.com/v1/mcp
Recommended authentication header
Authorization: Bearer YOUR_SPEEDVITALS_API_KEY
Alternative authentication header (use instead)
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

21 tools, one performance workflow

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.

Lighthouse & Web Vitals / 5 tools

Discover your test options, run a page test, and inspect the completed report.

  • vitals_list_optionsRead-only

    Discover the location and device IDs available to your plan.

    Arguments: No arguments.

  • vitals_start_testAction · review before running

    Start a billable Lighthouse test. Discover valid options first.

    Arguments: url; device (default mobile), location (default us); optional config.

  • vitals_get_progressRead-only

    Check test state, progress, and report slug before fetching a report.

    Arguments: id: the test ID.

  • vitals_get_reportRead-only

    Read report metadata and the full Lighthouse report.

    Arguments: id: the completed test ID.

  • vitals_list_testsRead-only

    Browse test history in the authenticated workspace.

    Arguments: Optional page and page_size.

Global TTFB / 3 tools

Investigate server response time across the locations in a region.

  • ttfb_start_testAction · review before running

    Run a billable multi-location TTFB test; returns the result and test ID.

    Arguments: url; region: asia, europe, or america.

  • ttfb_get_testRead-only

    Retrieve a saved TTFB result.

    Arguments: id: the TTFB test ID.

  • ttfb_list_testsRead-only

    Browse workspace TTFB test history.

    Arguments: Optional page and page_size.

Batch testing / 3 tools

Expand a performance investigation across pages, devices, or locations.

  • batch_start_testAction · review before running

    Start 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-only

    Retrieve batch status and report; poll until the batch completes.

    Arguments: slug: the batch slug.

  • batch_list_testsRead-only

    Find previous batches in the authenticated workspace.

    Arguments: Optional page and page_size.

Synthetic monitoring / 5 tools

Read recurring test results and incidents, or manage monitor schedules.

  • monitor_list_slotsRead-only

    Discover monitoring slots and their IDs.

    Arguments: service: vitals or ttfb.

  • monitor_get_slot_metricsRead-only

    Read 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 running

    Create 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 running

    Change 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-only

    Read incidents for a monitor in the authenticated workspace.

    Arguments: service, slot_id.

Real User Monitoring / 5 tools

Explore collected visitor analytics and Core Web Vitals for your RUM sites.

  • rum_create_siteAction · review before running

    Create a RUM site. Install its tracking script on the site to collect visits.

    Arguments: domain: the site domain.

  • rum_get_site_statusRead-only

    Check whether a RUM site is receiving data.

    Arguments: site_id: a UUID.

  • rum_list_sitesRead-only

    Discover RUM sites in the authenticated workspace.

    Arguments: Optional page (default 1).

  • rum_list_filtersRead-only

    Discover valid filter values and operators before narrowing a report.

    Arguments: site_id: a UUID.

  • rum_get_statsRead-only

    Read 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.

Choose your RUM scope explicitly

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.

Start once. Poll. Read the evidence.

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.

  1. 01 / Discover & approve

    Use vitals_list_options for supported device/location IDs. Agree on the URL, settings, and credit usage before starting a single test or batch.

  2. 02 / Keep the identifier

    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.

  3. 03 / Inspect the outcome

    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.

A useful place to start

Copy a prompt, replace the example URL, and make the scope your own.

Find the next performance fix
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.
Investigate a monitoring incident
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.
Understand real-user experience
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.

Frequently Asked Questions

Give your next performance question better context.

Connect with your workspace API key and start by exploring the data you already have.

Get your API key