drio
Open app

MCP Fathom Analytics

Source

MCP server for Fathom Analytics

Catalog onlyCatalog onlySTDIO

Overview

MCP Fathom Analytics is an unofficial Model Context Protocol (MCP) server designed to access Fathom Analytics data through an AI assistant, utilizing the @mackenly/fathom-api SDK.

To use MCP Fathom Analytics, integrate it with Claude Desktop by adding the MCP server configuration in JSON format, including your Fathom API key.

  • Retrieve account information and details about Fathom Analytics accounts. - Manage and list all Fathom Analytics sites. - Access event data for specific sites. - Generate aggregated analytics reports with flexible filtering options. - Get real-time data about current site visitors.
  1. Analyzing daily pageview statistics over a specified period.
  2. Evaluating the performance of individual pages on a site.
  3. Tracking traffic sources from specific countries.

Add to your AI client

Use these steps to connect MCP Fathom Analytics in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-fathom-analytics-mackenly": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-fathom-analytics-mackenly": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-fathom-analytics-mackenly": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-fathom-analytics-mackenly": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-fathom-analytics-mackenly": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-fathom-analytics-mackenly": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-fathom-analytics-mackenly"
      ]
    }
  }
}

FAQ

Is MCP Fathom Analytics officially supported by Fathom Analytics?

No, it is an unofficial implementation and not affiliated with Fathom Analytics.

How can I contribute to MCP Fathom Analytics?

Contributions are welcome! You can submit a Pull Request on the GitHub repository.