Umami MCP by usefulapi

v1.2.1
io.usefulapi/umami Checked 2 days ago Published 1 day ago

Read website stats, pageviews, visitors, ranked metrics and events in Umami.

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

umami_get_account Show API key account

Show which Umami account and API key this server uses (key name, user and role). Good first call to check the connection. Umami Cloud: GET /v1/me.

umami_list_websites List websites

List the websites in this account, with their ids, names and domains. Use the id in the other tools. Umami API: GET /v1/websites.

ParameterTypeDescription
includeTeamsbooleanAlso include websites shared through team membership.
maxResultsintegerMaximum websites to return.
pageintegerPage number, starting at 1.
pageSizeintegerRows per page (vendor default when omitted).
searchstringSearch text.

umami_get_website Get website

Get one website's details and configuration. Umami API: GET /v1/websites/{websiteId}.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.

umami_get_date_range Get data date range

Get the earliest and latest recorded dates for a website. Call it before a long range. Umami API: GET /v1/websites/{websiteId}/daterange.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.

umami_get_website_stats Get website stats

Summary numbers for a website: pageviews, unique visitors, visits, bounces and total time, with an optional comparison period. Umami API: GET /v1/websites/{websiteId}/stats.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
comparestringComparison: prev = previous period, yoy = same period last year.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
endDatestringRange end as an ISO 8601 date or date-time (alternative to endAt).
eventstringOnly this custom event name.
osstringOnly this operating system.
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
startAtintegerRange start, Unix time in milliseconds.
startDatestringRange start as an ISO 8601 date or date-time (alternative to startAt).
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_get_pageviews_over_time Get pageviews over time

Pageviews and sessions per time bucket for a website, with an optional comparison. Umami API: GET /v1/websites/{websiteId}/pageviews.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
comparestringComparison: prev = previous period, yoy = same period last year.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
endDatestringRange end as an ISO 8601 date or date-time (alternative to endAt).
eventstringOnly this custom event name.
osstringOnly this operating system.
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
startAtintegerRange start, Unix time in milliseconds.
startDatestringRange start as an ISO 8601 date or date-time (alternative to startAt).
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_get_metrics Get ranked metrics

Ranked list of the top values for one dimension, such as pages, referrers, countries, browsers or events. Umami API: GET /v1/websites/{websiteId}/metrics.

ParameterTypeDescription
type *stringDimension to rank, for example path, referrer, country, event or channel.
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
comparestringComparison: prev = previous period, yoy = same period last year.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
endDatestringRange end as an ISO 8601 date or date-time (alternative to endAt).
eventstringOnly this custom event name.
limitintegerMaximum rows to return.
offsetintegerRows to skip.
osstringOnly this operating system.
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
searchstringSearch text.
startAtintegerRange start, Unix time in milliseconds.
startDatestringRange start as an ISO 8601 date or date-time (alternative to startAt).
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_get_session_stats Get session stats

Visitor and session totals for a website over a range, with the same filters as the stats tools. Umami API: GET /v1/websites/{websiteId}/sessions/stats.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
eventstringOnly this custom event name.
osstringOnly this operating system.
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
startAtintegerRange start, Unix time in milliseconds.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_get_active_visitors Get active visitors

Number of visitors active on the website in the last few minutes. Umami API: GET /v1/websites/{websiteId}/active.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.

umami_get_realtime Get real-time activity

Recent activity for a website: countries, referrers, events, and views and visitors over the last 30 minutes. Umami API: GET /v1/realtime/{websiteId}.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
eventstringOnly this custom event name.
osstringOnly this operating system.
pathstringOnly this URL path, for example /pricing.
referrerstringOnly this referring URL.
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_list_sessions List visitor sessions

Page of visitor sessions in a date range, newest first (country, browser, OS, device and visit counts). Umami API: GET /v1/websites/{websiteId}/sessions.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
comparestringComparison: prev = previous period, yoy = same period last year.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
endDatestringRange end as an ISO 8601 date or date-time (alternative to endAt).
eventstringOnly this custom event name.
maxResultsintegerMaximum rows to return.
osstringOnly this operating system.
pageintegerPage number, starting at 1.
pageSizeintegerRows per page (vendor default when omitted).
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
searchstringSearch text.
startAtintegerRange start, Unix time in milliseconds.
startDatestringRange start as an ISO 8601 date or date-time (alternative to startAt).
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.

umami_list_events List tracked events

Page of pageviews and custom events in a date range, newest first. Filter by event name with the event field. Umami API: GET /v1/websites/{websiteId}/events.

ParameterTypeDescription
websiteId *stringWebsite id, from umami_list_websites.
browserstringOnly this browser name.
comparestringComparison: prev = previous period, yoy = same period last year.
countrystringOnly this country code, for example US.
devicestringOnly this device category.
endAtintegerRange end, Unix time in milliseconds.
endDatestringRange end as an ISO 8601 date or date-time (alternative to endAt).
eventstringOnly this custom event name.
maxResultsintegerMaximum rows to return.
osstringOnly this operating system.
pageintegerPage number, starting at 1.
pageSizeintegerRows per page (vendor default when omitted).
pathstringOnly this URL path, for example /pricing.
periodstringRelative range such as today, 24h, 7d, 30d or 90day. Do not combine with startAt and endAt.
referrerstringOnly this referring URL.
searchstringSearch text.
startAtintegerRange start, Unix time in milliseconds.
startDatestringRange start as an ISO 8601 date or date-time (alternative to startAt).
timezonestringIANA time zone, for example America/New_York.
unitstringTime bucket for grouped results.
utmCampaignstringOnly this UTM campaign.
utmMediumstringOnly this UTM medium.
utmSourcestringOnly this UTM source.