MCP.so
登录

MCP Fathom Analytics

@mackenly

基本信息

分类

数据与分析

许可证

MIT

传输方式

stdio

作者

mackenly

关于 MCP Fathom Analytics

MCP server for Fathom Analytics

#mcp#fathom-analytics#mcp-server

MCP Fathom Analytics 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "fathom-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-fathom-analytics"
      ],
      "env": {
        "FATHOM_API_KEY": "your_api_key_here"
      }
    }
  }
}

MCP Fathom Analytics 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Fathom Analytics?

An unofficial Model Context Protocol server that enables AI assistants to access and query Fathom Analytics data. It uses the @mackenly/fathom-api SDK to interact with the Fathom Analytics API and is published as an npx script. Not affiliated with or endorsed by Fathom Analytics.

How to use MCP Fathom Analytics?

Install and configure via the JSON config for Claude Desktop (or other MCP clients). Set the FATHOM_API_KEY environment variable. Run with npx -y mcp-fathom-analytics. Example config snippet is provided in the README.

Key features of MCP Fathom Analytics

  • Retrieve Fathom account information (get-account)
  • List all Fathom Analytics sites (list-sites)
  • List events for a specific site (list-events)
  • Generate aggregated analytics reports with flexible filtering and grouping (get-aggregation)
  • Get real‑time current visitor data (get-current-visitors)

Use cases of MCP Fathom Analytics

  • Query daily pageview statistics for the last 30 days
  • Analyze performance of individual pages (pageviews, uniques, average duration)
  • See traffic breakdown by country (visits per country code)
  • Monitor current visitors in real time
  • Retrieve account and site details for administrative checks

常见问题

1

Is this an official Fathom Analytics product?

No, this server is unofficial and not affiliated, endorsed, or supported by Fathom Analytics.

2

How do I set up the MCP server?

Add a JSON entry to your MCP client config (e.g., Claude Desktop) with `command: "npx"`, `args: ["-y", "mcp-fathom-analytics"]`, and the environment variable `FATHOM_API_KEY` set to your Fathom API key.

3

What tools does the server provide?

It provides five tools: `get-account`, `list-sites`, `list-events`, `get-aggregation`, and `get-current-visitors`.

4

What aggregation options are available?

The `get-aggregation` tool supports `entity`, `entity_id`, `aggregates` (pageviews, uniques, visits, avg_duration), `date_grouping`, `field_grouping`, `sort_by`, and `limit`. Full examples are documented in the README.

5

Do I need a Fathom API key?

Yes, a valid Fathom API key must be set as the `FATHOM_API_KEY` environment variable to authenticate with the Fathom Analytics API.

评论

数据与分析 分类下的更多 MCP 服务器