Lookout

v0.3.1
io.github.lookoutstats/lookout-mcp Checked 20 hours ago Published 4 days ago

Ask about Vercel Web Analytics and Speed Insights across all your projects and boards.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_boards List boards

The workspace's boards (each a dashboard of sites), with their ids and site counts.

get_board Get a board

Every site on a board for a range, busiest first: visitors and their change vs the previous period, page views, pages per visit, top source and country, and goal conversions.

ParameterTypeDescription
board *stringA board's id from list_boards (a UUID), or its exact name
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

get_site Get a site

One site in depth for a range: visitors per day (or hour for 24h) with the previous period, top referrers, countries and pages, its production deployments, its Core Web Vitals (Speed Insights p75), and, with board, the board's notes dated in the range. One API request.

ParameterTypeDescription
site *stringA site's id (its Vercel project id), from get_board
boardstringA board the site is on (id or name), to include its notes
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

compare_sites Compare sites

Up to 5 sites side by side over a range. mode: absolute (visitors per bucket), indexed (each site's first non-zero bucket = 100) or baseline (each site's visitors as % of the baseline site's). One API request per site.

ParameterTypeDescription
sites *array1 to 5 site ids, from get_board
baselinestringFor mode baseline: the site the others are measured against (default: the first)
modestring
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

get_campaigns Get campaigns

A site's visitors by UTM campaign, source and medium for a range, with the goal's conversions. Needs Vercel Web Analytics Plus or Enterprise; otherwise status is plan_required.

ParameterTypeDescription
site *stringA site's id (its Vercel project id), from get_board
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

get_flow Get traffic between sites

Traffic between a board's sites for a range: each site's visitors, and hops (from, to, visitors) — visits to a site whose referrer is another site of the same board. External traffic is not included.

ParameterTypeDescription
board *stringA board's id from list_boards (a UUID), or its exact name
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

get_speed Get Core Web Vitals

A site's Core Web Vitals from real visitors (Vercel Speed Insights, p75, production) for one device — LCP, INP, CLS and a passing / needs_work / poor / off status — with its slowest routes by LCP.

ParameterTypeDescription
site *stringA site's id (its Vercel project id), from get_board
devicestringall, mobile or desktop visitors
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.

list_fixes List what to fix

A board's Fix list for a range, ranked by visitors affected: slow Core Web Vitals, sites that send nobody onward, sites most visitors leave after one page, low conversion, falling traffic, untagged social campaigns, and setup gaps (no goal, no Speed Insights, no Web Analytics). Each item has its kind, site, title, detail, why it matters and how to verify a fix. status: open (default), snoozed or resolved.

ParameterTypeDescription
board *stringA board's id from list_boards (a UUID), or its exact name
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.
statusstringopen, snoozed or resolved

list_alerts List alerts

The workspace's alert rules (board, metric, drop or rise, threshold %) and what fired in the last 30 days.

add_annotation Add a note

Pins a note to a day on a board's charts, e.g. "Launched pricing v2": for one site (scope "site", the default when site is given) or every site on the board (scope "board"). Needs a key with write access ("Allow notes and exports"). Text is kept to 80 characters.

ParameterTypeDescription
board *stringThe board the note goes on: its id from list_boards, or its exact name
date *stringThe day, YYYY-MM-DD (UTC)
text *stringWhat happened, e.g. Launched pricing v2
scopestringsite: only this site's charts; board: every site on the board. Default: site when site is given, else board
sitestringThe site the note is about (needed for scope site)

export_board Export a board

Makes a download link for a board as a PDF (the board as a page) or CSV (one row per site). The link works for 5 minutes. Needs a key with write access ("Allow notes and exports").

ParameterTypeDescription
board *stringA board's id from list_boards (a UUID), or its exact name
fmtstringpdf or csv
rangestring24h, 7d or 30d

ask_lookout Ask Lookout

A question about the workspace's sites in plain words ("Which site lost the most traffic this week and why?", "Which board grew fastest?"), answered by Lookout only from its own figures: one sentence with the key number, up to three supporting points, the most relevant site, and, when it compares several sites or boards, a small chart. scope workspace reads every board (sites counted once); scope board reads one board.

ParameterTypeDescription
question *stringThe question, in plain words
boardstringFor scope board: the board's id or name
range24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d.
scopestringworkspace: every board; board: one board (needs board)