analytics
Fathom Analytics MCP Gateway for AI Agents
Expose Fathom Analytics tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
6 functions 6 read 0 write Bearer token auth
Fathom Analytics MCP Gateway
Expose Fathom Analytics to MCP clients with `kosmokrator mcp:serve --integration=fathom`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=fathom --write=deny --json {
"mcpServers": {
"kosmokrator-fathom": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=fathom",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=fathom --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__fathom__fathom_list_sites | fathom.fathom_list_sites | Read read |
integration__fathom__fathom_get_site | fathom.fathom_get_site | Read read |
integration__fathom__fathom_list_pageviews | fathom.fathom_list_pageviews | Read read |
integration__fathom__fathom_get_aggregate | fathom.fathom_get_aggregate | Read read |
integration__fathom__fathom_list_events | fathom.fathom_list_events | Read read |
integration__fathom__fathom_get_current_user | fathom.fathom_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.