# MCP tool reference

Every read-only tool on the MCP server, with its arguments, and the periods, dimensions, filters and attribution models they accept.

Every tool is read-only, and answers with the same numbers as the dashboard and the [read API](https://supranalytics.app/docs/api/read.md). Tools about a website take its id or domain (additional domains work too). Those marked **Needs people:read** have [visitors' personal data](https://supranalytics.app/docs/mcp.md).

| Tool | Arguments | Returns |
| --- | --- | --- |
| `list_websites` | none | Your websites, with ids, domains, timezones and currencies. |
| `get_websites_summary` | period | Every website with what its Home card shows: the period's figures, who's online, uptime and site score. |
| `get_overview` | website, period, from, to, filters, model | Visitors, bounce rate, session time, revenue and conversion rate against the previous period, and who's online. |
| `get_timeseries` | the same, plus interval (hour, day, week, month) | Those metrics per interval. |
| `get_breakdown` | website, dimension (required), period, from, to, limit (1–100, default 10), sort (visitors or revenue), search, filters, model | The top rows of a dimension. |
| `get_live` | website | Up to 50 visitors online now and the 25 latest events. |
| `list_goals` | website, period, from, to, filters | Goal completions, conversion rates and revenue. |
| `get_breakdown_compared` | website, period, from, to, filters, model, dim, limit, sort, search, previous | Top values of a dimension: channel, referrer, campaign, page, country, device and more. With `previous` set to 1, the period before too, to compare. |
| `get_pages` | website, period, from, to, filters, model, by, sort, dir, search, offset, limit | Every page viewed, with its numbers and trend. |
| `get_insights` | website, period, from, to | Which sources, pages and other segments convert better or worse than the website as a whole, for the period. |
| `get_peak_hours` | website, metric, range, filters, model | The website's data as one week, hour by hour, in its time zone, for visits, goals, sales or revenue. All time unless `range` says less. |
| `get_crawlers` | website, period, from, to, category | AI assistants, search engines and training crawlers requesting the website's pages (category answers, indexing or training), and automated browsers: headless browsers from cloud servers, left out of visitor stats, by network owner, location and landing page (category automated; every answer has an automated section). |
| `get_search_console` | website, period, from, to | Google searches that brought people to the website, for a connected website, as last synced. |
| `get_goal_details` | website, period, from, to, filters, goal, view | Each goal's completions over time. Each goal's top traffic sources and pages. The values sent with a goal. Personal because a goal's values are whatever your website sends, emails included. Needs people:read. |
| `list_funnels` | website | The website's saved funnels. |
| `get_journeys` | website, period, from, to, filters, steps, start, goals | The routes visitors take through the website. |
| `get_performance` | website, period, from, to, filters, model, device | Real visitors' Core Web Vitals and the latest daily site audit with its history. |
| `get_audit_findings` | website | The latest site audit's scores and what needs fixing, worst first: what it found, what's expected, the first step, and a prompt to paste into an AI coding tool. |
| `get_uptime` | website, range | Whether the website is up: its status, last check, last 24 hours, uptime over 7 to 365 days, response times, latest incidents, and domain and SSL expiry. |
| `get_uptime_incidents` | website, before | Outages with their causes, newest first, a page at a time. |
| `get_heatmap` | website, period, from, to, path, device, view | Where people click and how far they scroll on a page. The pages with heatmap data. |
| `get_recordings_summary` | website, period, from, to | How many sessions were recorded in the period, and how many of each problem tag (rage clicks, errors, slow pages and so on). Nobody is identified. |
| `get_retention` | website, every, cohort, return, mode, filters | Of the people who first came in a period, how many came back. Totals only. |
| `list_visitors` | website, period, from, to, filters, type, search, limit, offset, activity, time | Visitors in the period, with their names and emails where known. Needs people:read. |
| `get_visitor` | website, id | One visitor's journey: every visit, page, goal and payment. Needs people:read. |
| `list_customers` | website, period, from, to, limit | The people who paid in the period. Needs people:read. |
| `get_lifetime_value` | website, period, from, to, filters, dim, by | Lifetime value by source and by customer. Needs people:read. |
| `list_payments` | website, period, from, to, model, limit | Individual payments with who made them. Needs people:read. |
| `list_goal_completions` | website, period, from, to, filters, goal, search, limit, offset | Who completed a goal, and when. Needs people:read. |
| `get_chart_markers` | website, period, from, to | What's marked on the chart: notes, chats and commits by time. Needs people:read. |
| `list_chats` | website | Live chat conversations. Needs people:read. |
| `get_chat` | website, id | One visitor's messages. Needs people:read. |
| `search_chats` | website, q | Messages containing the words in `q`. Needs people:read. |
| `list_recordings` | website, period, from, to, sort, order, tag, group, value, skip, before, country, device, min, path, visitor | Recorded sessions in the period, with their pages and tags. Needs people:read. |
| `get_recording` | website, id | One recording's details. Needs people:read. |
| `get_notes` | website, period, from, to | Notes the team made on the chart. |
| `list_segments` | website | The team's saved filters. |
| `get_funnel` | website, funnel_id (a saved funnel's id or name) or steps (2–8), period, from, to, filters | Each step's visitors, drop-off and time; without a funnel, the saved funnels. |

## Periods

`now` (last 30 minutes), `today`, `yesterday`, `24h`, `7d`, `30d` (default), `90d`, `3m`, `6m`, `12m`, `wtd`, `lastweek` (the whole week before, Monday to Sunday), `mtd`, `lastmonth`, `ytd`, `lastyear`, `all`, or `custom` with `from` and `to` as `YYYY-MM-DD`.

## Dimensions

`channel`, `source`, `referrer`, `campaign`, `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, `page`, `entry_page`, `exit_page`, `hostname`, `outbound`, `country`, `region`, `city`, `browser`, `os`, `device`.

## Filters

A list of `[dimension, operator, value]`, up to 10. Operators: `is`, `is_not`, `contains`, `not_contains`. Besides the dimensions above: `goal` and `visitor_type` (`new` or `returning` for cookie traffic, `single session` or `repeat sessions` for cookieless traffic).

A `visitor_type` breakdown adds `visitor_split`: whether the types can be told (`available`), which `tracking` the traffic used (`cookie`, `cookieless`, `mixed`, `none` or `unknown`), `subtotals` for each, and `unclassified` revenue and goals. `filter_options` lists the `visitor_type` values the date range can answer. When the types can't be told, the rows are empty and the totals stay.

A `visitor_type` filter the date range can't answer answers `400` rather than an empty result (on MCP, error `-32602` with the same fields as `data`): `code` is `visitor_filter_unavailable`, `reason` is `incompatible_tracking` or `split_unavailable`, with the `filter`, the range's `tracking` and its `valid_values`, and the `range` it was checked against, which on Retention and Peak hours is the report's own period. A type that can be answered and matches nobody is a normal result with zeros. `is_not` stays inside the type's tracking: not `new` is `returning`, and not `single session` is `repeat sessions`.

```
[["channel", "is", "Organic Search"], ["country", "is_not", "US"], ["goal", "is", "signup"]]
```

## Attribution model

`model`: `first` or `last` touch, for revenue. Defaults to the website's setting.

---

This page on the web: https://supranalytics.app/docs/mcp-tools
Every documentation page: https://supranalytics.app/docs.md
