Access and analyze Fathom Analytics data and reports
An unofficial Model Context Protocol (MCP) server for accessing Fathom Analytics data through an AI assistant. This implementation uses the @mackenly/fathom-api unofficial SDK to interact with the Fathom Analytics API. Not affiliated, endorsed, or supported by Fathom Analytics. Published to npm as an npx script.
The MCP server provides the following Fathom Analytics tools:
get-account
: Retrieve details about your Fathom Analytics accountlist-sites
: List all your Fathom Analytics siteslist-events
: List events for a specific siteget-aggregation
: Generate aggregated analytics reports with flexible filtering and grouping optionsget-current-visitors
: Get real-time data about current site visitorsIf you're using Claude Desktop, you can add the MCP server using the json config (more info). Here's an example:
{
"mcpServers": {
"fathom-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-fathom-analytics"
],
"env": {
"FATHOM_API_KEY": "your_api_key_here"
}
}
}
}
You can find more information about other MCP Clients here: Model Context Protocol Example Clients
The MCP server uses the @mackenly/fathom-api SDK to interface with the Fathom Analytics API endpoints:
https://api.usefathom.com/v1/account
https://api.usefathom.com/v1/sites
https://api.usefathom.com/v1/sites/SITE_ID/events
https://api.usefathom.com/v1/aggregations
https://api.usefathom.com/v1/current_visitors
The aggregation tool is highly flexible. Here are some example use cases:
{
"entity": "pageview",
"entity_id": "SITE_ID",
"aggregates": "pageviews,uniques,visits",
"date_grouping": "day",
"date_from": "2023-08-01 00:00:00"
}
{
"entity": "pageview",
"entity_id": "SITE_ID",
"aggregates": "pageviews,uniques,avg_duration",
"field_grouping": "pathname",
"sort_by": "pageviews:desc",
"limit": 10
}
{
"entity": "pageview",
"entity_id": "SITE_ID",
"aggregates": "visits",
"field_grouping": "country_code",
"sort_by": "visits:desc"
}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Retrieving and analyzing issues from Sentry.io
Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
Core AWS MCP server providing prompt understanding and server management capabilities.
Analyze CDK projects to identify AWS services used and get pricing information from AWS pricing webpages and API.
Generate images using Amazon Nova Canvas with text prompts and color guidance.
MCP Server that connects AI agents to Chargebee platform.
Predict anything with Chronulus AI forecasting and prediction agents.
Deploy, configure & interrogate your resources on the Cloudflare developer platform (e.g. Workers/KV/R2/D1)
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Aliyun Open API and enables AI agents to perform cloud resources operations seamlessly.
Access real-time DEX analytics across 20+ blockchains with DexPaprika API, tracking 5M+ tokens, pools, volumes, and historical market data. Built by CoinPaprika.