Fathom Analytics

by mackenly

Not rated
GitHub

About

Access and analyze Fathom Analytics data and reports

Details

Author
mackenly
Categories
Productivity, Community, Other

Setup

Install Fathom Analytics in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/mackenly/mcp-fathom-analytics

Follow the installation instructions in the repository README, then restart your MCP client.

Access and analyze Fathom Analytics data and reports

An unofficial Model Context Protocol (MCP) server for accessingFathom Analyticsdata through an AI assistant. This implementation uses the@mackenly/fathom-apiunofficial SDK to interact with the Fathom Analytics API. Not affiliated, endorsed, or supported by Fathom Analytics. Published tonpm as an npx script.

The MCP server provides the following Fathom Analytics tools:

- get-account: Retrieve details about your Fathom Analytics account

- list-sites: List all your Fathom Analytics sites

- list-events: List events for a specific site

- get-aggregation: Generate aggregated analytics reports with flexible filtering and grouping options

- get-current-visitors: Get real-time data about current site visitors

If 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-apiSDK to interface with the Fathom Analytics API endpoints:
- Account API:https://api.usefathom.com/v1/account
- Sites API:https://api.usefathom.com/v1/sites
- Events API:https://api.usefathom.com/v1/sites/SITE_ID/events
- Aggregation API:https://api.usefathom.com/v1/aggregations
- Current Visitors API:https://api.usefathom.com/v1/current_visitors

The aggregation tool is highly flexible. Here are some example use cases:
- Daily pageview statistics for the last 30 days:

{ "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.

AnkiConnect MCP server for interacting with Anki via AnkiConnect.

An MCP Server Integration with Apple Shortcuts

Add smart Backup ability to coding agents like Windsurf, Cursor, Cluade Coder, etc

This server enables LLMs to use calculator for precise numerical calculations.

A CalDAV MCP server to expose calendar operations as tools for AI assistants.

MCP server for easy access to education data through your Canvas LMS instance.

Tools to the query and execute of Dify workflows

Excel manipulation including data reading/writing, worksheet management, formatting, charts, and pivot table

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.