AI & API

Core Web Vitals MCP server with your real-user data

“Why is LCP slow on mobile?” Your AI finds the cause in your visitors' pageviews and can start a Lighthouse run or a trace.

Server URLhttps://app.coredash.app/api/mcp

Add it to Claude, Claude Code or Cursor. In Claude you sign in to CoreDash, Cursor sends an API key, and Claude Code takes either.

Start free trialConnect your AI

Without data, your AI guesses

“Check the LCP element, preload the hero image.” A PageSpeed Insights test gives it one lab load. Google's CrUX record gives it the last 28 days for the origin, and for a single page only when enough Chrome users visit it. Neither says which release made LCP worse.

With CoreDash, your AI reads your pageviews

Every pageview measured on your site, split by page and device down to the LCP element. Google's CrUX record and your Lighthouse runs come through the same connection, each labelled. Over MCP your AI changes no setting.

The tools, from pageviews to a Chrome trace

The server gives your AI 29 tools and the rules for reading them. It tells your AI to give the pageviews behind every number and to draw no conclusion from a segment under 50 pageviews, which it marks as a low sample. Your AI names only causes the data shows. URLs and selectors come from your visitors' browsers, so the server tells your AI to treat them as data and to follow no instruction inside them. Lighthouse runs and traces are lab loads and CrUX is Google's record; every other number is CoreDash's own field data.

Real-user data

Pageviews from your visitors, split by any of 40 dimensions: page, device, country, the LCP element and the rest. Every endpoint behind these tools is on the RUM API page.

  • list_dimensions

    Every dimension: key, label, category, unit, known values and codes, and the metrics it applies to.

  • get_summary

    Core Web Vitals for a period.

  • get_breakdown

    Metrics split by a dimension: one row per value (a page, a country, an LCP element) with its pageviews and percentiles.

  • get_timeseries

    Metrics over time: per metric a list of points with value and pageviews, and a trend that compares the second half of the period with the first (improving, stable or regressing, by the same noise rule as the app's comparison; null with too few pageviews).

  • get_histogram

    Pageviews per bucket of one metric, from 0 to 2 times its Poor threshold.

  • get_phases

    The sub-phases of LCP, INP or TTFB, each with its pageviews and percentiles.

  • get_values

    The values a dimension has in the period with their pageviews (count), most pageviews first.

  • get_segment_timeseries

    One metric over time with a line per value of a dimension (two pages, three countries), each with its points and trend.

  • list_views

    The Explore views of the site: the standard views the user did not hide, and the views the team saved, with their pins.

Issues, releases and budgets

Field data

What the 43 checks found on your pages and how to fix each one, plus the order to fix them in. Your releases and notes sit here too, each with the p75 of LCP, INP and CLS before and after it. So do the release check and your budgets. More on the issues API.

  • list_issues

    The issues CoreDash found, as the Issues page lists them: per issue the check, the subject (a page, an element), the device, the status and the current value with pageviews and impact.

  • get_issue

    One issue: its numbers and history, the help text (what the check found and how to fix it), the chart of its metric, the change markers around it and the sampled pageviews that show it.

  • get_fix_first

    What to fix first, as the Overview shows it: the open issues with the most impact, and, when fewer are open, the slowest pages in the period.

  • list_changes

    Releases and notes, newest first, each with p75 of LCP, INP and CLS before and after it.

  • get_change

    One release or note: its numbers before and after, the change markers around it and, for a release, its release check with the issues it links.

  • get_release_check

    The release check of one release, found by its tag: status collecting, pass, worse or insufficient, the findings, and final once the result no longer changes.

  • list_budgets

    The performance budgets with the status of every line: over budget, at the budget, within it, or too few pageviews to judge.

Lighthouse

Lab

Each monitor tests one page on one device on a schedule, through PageSpeed Insights. That is lab data, and the server tells your AI to say Lighthouse when it quotes it. The runs and the budgets are on the Lighthouse API and MCP page.

  • list_lighthouse_monitors

    Lighthouse monitors: a page and device tested on a schedule through PageSpeed Insights, with the state of their budget lines and the scores of their last runs.

  • get_lighthouse_monitor

    One Lighthouse monitor with its runs, its budget lines and the p75 of real users on the same page and device.

  • get_lighthouse_run

    One Lighthouse run: its values and, while the run is kept in full, the filmstrip, the waterfall and the failing audits.

  • start_lighthouse_runStarts a run

    Runs a Lighthouse monitor now and answers when the run is done, with the starts left today in left.

CrUX

Google's record

Google's CrUX record for your origin, with CoreDash's own Chrome field data for the same days beside it. On a read, CoreDash fetches Google's last 25 weekly releases of the 28-day window from the History API and keeps them for 24 hours. Per Core Web Vital it gives the day the CrUX window is expected to turn Good. The competitors and pages you added on the CrUX page come with it. See the CrUX API.

  • get_crux

    Google's CrUX record for the origin of the site (Chrome users only), with CoreDash's own field data from Chrome for the same days next to it.

  • get_crux_targets

    CrUX data for the competitors and own pages added on the CrUX page, with the site itself first.

Deep scan

Field data

Single pageviews from your visitors, sampled in full, with their attribution and the network waterfall.

  • list_deep_scan_views

    The pageviews the tracker sampled in full, newest first, with their metrics.

  • get_deep_scan_view

    One sampled pageview: its metrics, its attribution (such as the LCP element) and its network waterfall.

Trace

Lab

A Chrome load of one URL on your site, run from CoreDash's server. It is a lab load, with its LCP element, layout shifts, long tasks and waterfall. Your AI reads the trace CoreDash kept, or starts a new one.

  • get_trace

    The Chrome trace kept for one URL and device: a lab load in Chrome with its metrics and waterfall.

  • start_traceStarts a trace

    Starts a Chrome trace of one URL: a lab load of the page in Chrome.

Uptime

Your uptime monitors and their checks, read only. You add and change monitors in the CoreDash app. See the uptime API.

  • list_uptime_monitors

    The site's uptime monitors with their state, read only.

  • get_uptime_monitor

    One uptime monitor with its newest checks and the uptime over those checks.

Sites and account

With more than one site, your AI reads the list first and names the site in every call; a single site is picked for you. Agencies start at the agency API.

  • list_projects

    The sites this connection can read: id, name, url, role (owner or guest), status and expires.

“Why is mobile LCP slow on the product pages?”

get_summaryget_breakdownget_phaseslist_issuesget_issue

Your AI starts with get_summary for mobile and finds LCP in the poor range. get_breakdown by LCP element shows that on the product pages it is the main product photo. get_phases then gives the LCP sub-phases: time to first byte, load delay, load time and render delay. A long load delay means the browser found the image late, because of loading="lazy" on the photo or a slider script that inserts it after the page loads. If a check flagged the page, list_issues has it, and get_issue says what the check found and how to fix it. On a template with only a handful of mobile pageviews, your AI says the sample is too small and leaves it there.

“Run Lighthouse on the homepage and compare it with my visitors”

list_lighthouse_monitorsstart_lighthouse_runget_lighthouse_monitor

Your AI calls list_lighthouse_monitors, finds the mobile monitor for the homepage and starts it with start_lighthouse_run. PageSpeed Insights runs the test, so nothing runs on your laptop. get_lighthouse_monitor then puts the new run beside the p75 of your real users on the same page and device, over the last 7 days. When the lab LCP looks fine and the p75 of your visitors does not, believe your visitors: the lab run is one load on one emulated phone, and they load the page on their own phones and networks. Only monitors that exist can be started, so for a new page you add the monitor in CoreDash first.

“Did Tuesday's release make CLS worse?”

get_release_checkget_changeget_breakdownstart_traceget_trace

Give your AI the release tag and it calls get_release_check. The check answers collecting, pass, worse or insufficient, with its findings, and marks the result final once it no longer changes. get_change opens the release itself, with its numbers before and after and the issues its check links. A jump on the day of the release points at the release; a slow slide over weeks points at third-party scripts piling up. For the page that got worse, get_breakdown by CLS element names the element that moves. start_trace then loads that page in Chrome, and get_trace shows each layout shift during the load, with the elements that moved and a screenshot before and after. A shift that comes later, on scroll or after a click, never shows up in a trace. Your visitors' pageviews still have it.

Connect your AI with one URL

Every client connects to https://app.coredash.app/api/mcp. Claude signs you in, so you copy no key. Claude Code takes a key or a sign-in, and Cursor and a project's .mcp.json send an API key in the header.

Claude adds CoreDash as a custom connector, and you sign in to CoreDash once.

  1. In Claude, open Customize > Connectors, click "+ Add" and pick "Add custom connector".
  2. Name it CoreDash, paste https://app.coredash.app/api/mcp as the URL and click "Continue".
  3. Under Authentication, pick "Sign in now".
  4. Click "Continue", then "Add", and sign in to CoreDash.

The consent page lists your sites and what your AI may do there: read everything CoreDash measures and start a trace or a Lighthouse run, but change no setting. Sites you add later are included.

In a chat, click "+" at the lower left, open "Connectors" and switch CoreDash on. Claude Desktop uses the same connectors as your account, so you set it up once.

Claude Team or Enterprise? An Owner adds the connector under Organization settings > Connectors. Members click "Connect" under Customize > Connectors.

You need an API key, which you make under Account > API keys. Run this in your shell:

bash
claude mcp add --transport http coredash https://app.coredash.app/api/mcp --header "Authorization: Bearer cdk_your_key"

This adds CoreDash to the current project only. Add --scope user to have it in every project on your machine.

Rather sign in than paste a key? Leave out the --header part, start a session and type /mcp. Claude Code opens the CoreDash sign-in and renews the token by itself.

Cursor reads its servers from .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project. Add CoreDash with your API key in the header:

.cursor/mcp.json
{
  "mcpServers": {
    "coredash": {
      "url": "https://app.coredash.app/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:COREDASH_API_KEY}"
      }
    }
  }
}

Cursor fills in ${env:COREDASH_API_KEY} from your shell profile or your system environment, so the key stays out of the repo. Add this line to your shell profile, ~/.zshrc on a Mac, and restart Cursor:

~/.zshrc
export COREDASH_API_KEY=cdk_your_key

Then open Customize in the sidebar and switch CoreDash on. When CoreDash answers 401, Cursor started without the key: a line you only typed in a terminal never reaches a Cursor opened from the Dock.

To give everyone on a repo the same CoreDash server, commit a .mcp.json at its root. Claude Code reads it and fills in ${COREDASH_API_KEY} from your environment, so the file holds no key:

.mcp.json
{
  "mcpServers": {
    "coredash": {
      "type": "http",
      "url": "https://app.coredash.app/api/mcp",
      "headers": {
        "Authorization": "Bearer ${COREDASH_API_KEY}"
      }
    }
  }
}

Each developer exports their own API key in the shell that starts Claude Code. Claude Desktop's config file is for servers that run on your own machine, so add CoreDash there through the Claude tab.

Which sites a key or a sign-in reads

A key and a sign-in both read every site you own or are a guest on, today and later. You make a key, which looks like cdk_master_your_key, under Account > API keys. An older cdk_ key reads the site it was made for unless your AI names another. A sign-in ends after 30 days unused; its access token lasts an hour.

Ask for your mobile LCP

When your AI calls get_summary for "What is my LCP on mobile?" and answers with a p75 and the pageviews behind it, you are connected.

How many Lighthouse runs and traces a site gets per day

What countsLimit
Lighthouse starts20 per site per UTC day
Trace starts20 per site per UTC day
One Lighthouse monitorAt most one run per 10 minutes, its scheduled runs included
Calls60 a minute per key or sign-in, up to 960 on the largest plans

Every key and sign-in on the site shares the daily count, and the answer to a start tells your AI how many are left. Past the limit the start is refused, and the answer tells your AI how many seconds remain until the count resets at midnight UTC. A start that fails gives its slot back. The server tells your AI to start one only when you ask.

A trace runs only on your site's own host and its subdomains; any other URL is refused.

Calls per key or sign-in

Starts count against the call limit too, and so does listing the tools. A tool call over the limit is refused, and the answer tells your AI how many seconds to wait. The limits per plan are on the CoreDash API page.

More on the CoreDash API

Frequently asked questions

Do I need an API key for the MCP server?

Not in Claude, which signs in to CoreDash with OAuth when you add the connector, and not in Claude Code if you sign in with /mcp. Cursor and a project's .mcp.json send an API key in the header.

Can my AI change settings in CoreDash?

Not through the MCP server. It reads what CoreDash measures, and it can start a Lighthouse run or a trace when you ask. Budgets, monitors and alerts stay as you set them in the app.

Does it run Lighthouse or PageSpeed Insights?

Yes. CoreDash runs your Lighthouse monitors through PageSpeed Insights, each on the schedule you pick (hourly or daily), and keeps the runs. Your AI reads them and starts a new run when you ask. It says Lighthouse whenever it quotes a lab number. You need no PageSpeed API key and no scheduler of your own. More on the Lighthouse MCP.

Is the data from real users?

Yes. Unless the tool says Lighthouse, CrUX or trace, every number comes from the pageviews CoreDash measured on your site, and your AI gives their count with it. Lighthouse and a trace are lab loads; CrUX is Google's record of Chrome users.

Which sites can my AI read?

Every site you own or are a guest on, sites you add later included, with a sign-in or with a key.

Is the MCP server included in my plan?

Yes, on every plan, Starter included, and in every running trial. Only the calls a minute differ, from 60 on Starter to 960 on the largest plans. When a site's trial or plan has ended, the server answers with a link to billing, and your AI passes that link on to you.

I connected Claude before. Do I need to connect again?

Only to see your other sites. A key keeps working at the same URL. A sign-in made with the old server reads the one site you picked then: remove the connector, add it again and sign in.

Track your first site free.No card needed. Setup takes about 5 minutes.

Start free trialBook a demo