Fathom Analytics integration
Privacy-focused website analytics API. Track pageviews, visitors, and events without cookies or personal data. GDPR, CCPA, and PECR compliant by design. Essential for privacy-conscious analytics, simple metrics, and lightweight tracking.
Say what should happen.
The workflow builds itself.
Common Fathom Analytics use cases
- event management
- test data removal
- data reset
- goal setup
- site setup
- rename site
- rename event
- site cleanup
- event cleanup
- mark launches
What you can do with Fathom Analytics
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Event, 6 operations
create_eventCreate eventPOSTCreates a new custom event/goal for tracking on a site.delete_eventDelete eventDELETEPermanently deletes a custom event and all its conversion data.get_eventGet eventGETRetrieves details for a specific custom event on a site.list_eventsList eventsGETLists all custom events configured for tracking on a site.update_eventUpdate eventPOSTUpdates the name of a custom event on a site.wipe_event_dataWipe event dataDELETEWipes all data for a specific event while keeping the event configuration.
Site, 6 operations
create_siteCreate sitePOSTCreates a new website to track in Fathom Analytics.delete_siteDelete siteDELETEPermanently deletes a site and all associated analytics data.get_siteGet siteGETRetrieves details for a specific tracked website.list_sitesList sitesGETLists all websites being tracked in your Fathom Analytics account.update_siteUpdate sitePOSTUpdates the configuration of a tracked website.wipe_site_dataWipe site dataDELETEWipes all analytics data for a site while keeping the site configuration.
Milestone, 5 operations
create_milestoneCreate milestonePOSTCreates a milestone to mark significant events on analytics graphs.delete_milestoneDelete milestoneDELETEDeletes a milestone marker from the analytics timeline.get_milestoneGet milestoneGETRetrieves details for a specific milestone on a site.list_milestonesList milestonesGETRetrieves milestones/markers for a site to annotate analytics data.update_milestoneUpdate milestonePOSTUpdates a milestone's name and/or date on analytics graphs.
Account, 1 operation
get_accountGet accountGETRetrieves account information for the authenticated API token owner.
Aggregation, 1 operation
get_aggregated_dataGet aggregated dataGETRetrieves aggregated analytics metrics like visits, pageviews, and bounce rate for a site or event.
Visitor, 1 operation
get_current_visitorsGet current visitorsGETGets the current number of active visitors on a site in real-time.
Use Fathom Analytics from Claude Code, Cursor or Codex
Connect Fathom Analytics in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Fathom Analytics operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Fathom Analytics
- Create your workspace
Sign up free. Nothing to install.
- Connect Fathom Analytics once
Add your Fathom Analytics connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Fathom Analytics integration FAQ
What can you do with the Fathom Analytics integration?
LiveContext exposes 20 operations on Fathom Analytics, covering event, site, milestone and account. Common uses include event management, test data removal and data reset.
