Skip to main content
Glama

Fathom Analytics MCP by usefulapi

Server Details

Query Fathom Analytics sites, stats, current visitors and events, and manage sites and events.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

TDQS

Score is being calculated.

Available Tools

16 tools
fathom_clear_event_currencyClear an event's currency
DestructiveIdempotent
Inspect

Remove the currency set for an event, so it uses the site's default again. The event and its completion data stay. Needs a manage token for the site. DELETE /sites/{site_id}/events?name=.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
event_nameYesThe event's name exactly as tracked (fathom_list_events lists them).
fathom_create_milestoneCreate a milestoneInspect

Add a milestone (a dated annotation shown on the site's reports, e.g. a launch or campaign start). Needs a manage token for the site. POST /sites/{site_id}/milestones.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesMilestone name (up to 30 characters), e.g. Redesign launch.
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
milestone_dateYesThe milestone's date, YYYY-MM-DD.
fathom_create_siteCreate a siteInspect

Create a new site in the Fathom account (returns its id, used in the tracking code). Needs an Admin token. Sharing private needs share_password; multi_domain true needs multi_domain_option. POST /sites.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesSite name (up to 255 characters; need not match the URL).
sharingNoDashboard sharing: none (default), private (password) or public.
timezoneNoReporting timezone as a TZ database name, e.g. America/New_York, Europe/London, UTC.
multi_domainNotrue = the site may track multiple domains.
share_passwordNoRequired when sharing is private: the password for the shared dashboard.
multi_domain_optionNoRequired when multi_domain is true: report domains combined or separate.
fathom_delete_milestoneDelete a milestone
DestructiveIdempotent
Inspect

Permanently delete a milestone (only the annotation; traffic data is not touched). Cannot be undone. Needs a manage token for the site. DELETE /sites/{site_id}/milestones/{milestone_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
milestone_idYesThe milestone id (a UUID, from fathom_list_milestones).
fathom_get_accountGet the account
Read-only
Inspect

The Fathom account that owns the API token: id, name and email. Needs an Admin token (the * scope). GET /account.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

fathom_get_aggregationRun a traffic or event report
Read-only
Inspect

Fathom's custom report (the dashboard's numbers): aggregate pageviews or one event over a date range, optionally grouped by date and/or fields and filtered. Pageviews: aggregates visits (unique site visits), uniques (unique page visits), pageviews, avg_duration (seconds), bounce_rate. Events (entity event + event_name): conversions, unique_conversions, value (in cents). Examples: top pages = field_grouping [pathname], sort_by pageviews:desc; traffic sources = [referrer_source] or [referrer_hostname]; AI referrals = [ai_source]; daily trend = date_grouping day. All numbers come back as strings. Dates are in the site's timezone; hour grouping only for ranges up to 7 days. Grouped reports return at most 500 rows unless limit is set (max 1000, no paging), so narrow with filters or dates. Data before March 2021 cannot be grouped/filtered. GET /aggregations.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoRow cap, 1-1000 (default 500 when grouping by fields).
entityYespageview = site traffic; event = one event's conversions (needs event_name).
date_toNoEnd, YYYY-MM-DD (end of day) or "YYYY-MM-DD HH:MM:SS", in the site's timezone. Default: now.
filtersNoFilters, all applied (AND). Example: [{"property":"country_code","operator":"is","value":"GB"}].
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
sort_byNo"<field>:asc|desc" with a field from aggregates or field_grouping (or timestamp with date_grouping), e.g. pageviews:desc.
date_fromNoStart, YYYY-MM-DD (start of day) or "YYYY-MM-DD HH:MM:SS", in the site's timezone. Default: the first recorded data.
aggregatesYesMetrics. pageview: visits, uniques, pageviews, avg_duration, bounce_rate. event: conversions, unique_conversions, value.
event_nameNoFor entity event: the event's name, as listed by fathom_list_events.
date_groupingNoGroup by time (omit for one total). hour only for ranges up to 7 days.
field_groupingNoGroup by these fields, e.g. [pathname] or [referrer_source, utm_campaign].
fathom_get_current_visitorsGet current visitors
Read-only
Inspect

Live visitors on a site right now: the total, and with detailed true the top 150 pages (hostname, pathname, total) and top 150 referrers. GET /current_visitors.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
detailedNotrue = also the top pages and referrers (default false: only the count).
fathom_get_milestoneGet a milestone
Read-only
Inspect

One milestone: id, name, milestone_date, created_at, updated_at. GET /sites/{site_id}/milestones/{milestone_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
milestone_idYesThe milestone id (a UUID, from fathom_list_milestones).
fathom_get_siteGet a site
Read-only
Inspect

One site: id, name, sharing (none/private/public), timezone and created_at. GET /sites/{site_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
fathom_get_tokenGet the API token's permissions
Read-only
Inspect

The connected API token's name, permissions (abilities: "*" = Admin, "all-sites-readonly", or per-site read: / manage:) and timestamps. The secret value is never returned. Good first call to know which tools will work. GET /token.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

fathom_list_eventsList a site's events
Read-only
Inspect

List a site's events (conversions/goals): every event name the site has tracked plus events with a currency set, sorted by name. Identify events by name (use it as event_name in fathom_get_aggregation); the id is only a paging cursor. Paged: pass next.starting_after. GET /sites/{site_id}/events.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoItems per page, 1-100 (default 10).
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
ending_beforeNoPage backward from this object id (newest first). Not together with starting_after.
starting_afterNoPage forward: pass next.starting_after from the previous reply (an object id).
fathom_list_milestonesList a site's milestones
Read-only
Inspect

List a site's milestones (dated annotations on reports, such as a redesign launch or a campaign start), oldest first. Paged: pass next.starting_after. GET /sites/{site_id}/milestones.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoItems per page, 1-100 (default 10).
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
ending_beforeNoPage backward from this object id (newest first). Not together with starting_after.
starting_afterNoPage forward: pass next.starting_after from the previous reply (an object id).
fathom_list_sitesList sites
Read-only
Inspect

List the sites the token can read (id, name, sharing, timezone, created_at), oldest first. The site id is what every report tool takes. Needs an Admin or all-sites read-only token; a token scoped to a single site cannot list sites, so use fathom_get_site with that site id instead. Paged: pass next.starting_after. GET /sites.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoItems per page, 1-100 (default 10).
ending_beforeNoPage backward from this object id (newest first). Not together with starting_after.
starting_afterNoPage forward: pass next.starting_after from the previous reply (an object id).
fathom_set_event_currencySet an event's currency
DestructiveIdempotent
Inspect

Set the currency of an event's value by event name (works before the event is first tracked). Needs a manage token for the site. POST /sites/{site_id}/events/currency.

ParametersJSON Schema
NameRequiredDescriptionDefault
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
currencyYesdollar, pound, euro, yuan, peso, shekel, yen, won, hryvnia, franc, rupee, integer (a plain number) or none.
event_nameYesThe event's name exactly as tracked (up to 255 characters; fathom_list_events lists them).
fathom_update_milestoneUpdate a milestone
DestructiveIdempotent
Inspect

Rename or re-date a milestone (both name and milestone_date are required). Needs a manage token for the site. POST /sites/{site_id}/milestones/{milestone_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesMilestone name (up to 30 characters), e.g. Redesign launch.
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
milestone_idYesThe milestone id (a UUID, from fathom_list_milestones).
milestone_dateYesThe milestone's date, YYYY-MM-DD.
fathom_update_siteUpdate a site
DestructiveIdempotent
Inspect

Change a site's name, sharing, timezone or multi-domain setting (send only what changes). Changing the timezone changes how reports are bucketed. Needs a manage token for the site. POST /sites/{site_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoNew site name (up to 255 characters).
sharingNoDashboard sharing: none, private (needs share_password) or public.
site_idYesThe site id, the same string as in the tracking code (e.g. CDBUGS). fathom_list_sites lists them.
timezoneNoReporting timezone as a TZ database name, e.g. America/New_York, Europe/London, UTC.
multi_domainNotrue = the site may track multiple domains.
share_passwordNoRequired when setting sharing to private.
multi_domain_optionNoRequired when multi_domain is true: combined or separate.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 16 tool updates
    • First observedfathom_clear_event_currency
    • First observedfathom_create_milestone
    • First observedfathom_create_site
    • First observedfathom_delete_milestone
    • First observedfathom_get_account
    • First observedfathom_get_aggregation
    • First observedfathom_get_current_visitors
    • First observedfathom_get_milestone
    • First observedfathom_get_site
    • First observedfathom_get_token
    • First observedfathom_list_events
    • First observedfathom_list_milestones
    • First observedfathom_list_sites
    • First observedfathom_set_event_currency
    • First observedfathom_update_milestone
    • First observedfathom_update_site

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes Umami analytics (Cloud or self-hosted) as read-only tools for querying website stats, pageviews, metrics, and active visitors.
    244 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables LLMs to interact with Fathom.video API for managing meeting recordings, retrieving transcripts and AI-generated summaries, searching meeting content, and accessing analytics and team data.
    10
    20 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables querying privacy-focused website analytics from Plausible's read-only Stats API v2, with tools for overview, timeseries, breakdown, and goal performance metrics.
    20 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An unofficial server that allows AI assistants to access Fathom Analytics data, enabling users to retrieve account information, site statistics, events, aggregated reports, and real-time visitor tracking.
    5
    80 npm
    4
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.