Simple Analytics queried from the terminal.
List websites, pull aggregate stats, top pages, and top referrers, and read custom event stats over any date range — all from Bash over the Simple Analytics MCP. Privacy-first analytics without opening the dashboard.
cogny --who
TWO PATHSSimple Analytics keeps a clean, cookie-free dashboard, but answering "which pages and referrers moved last week" still means clicking around and eyeballing. The CLI returns those breakdowns as JSON you can diff week over week, schedule, or pass to an agent. Connect Simple Analytics once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.
❯ start SoloSelf-onboard with one command. The CLI issues a key, wires nothing, and exposes every Simple Analytics tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the Simple Analytics MCP. Send --input JSON, get JSON back.
mcp__Simple_Analytics__statsAggregate pageviews and visitors for a site over a range.mcp__Simple_Analytics__pagesTop pages by pageviews for a site.mcp__Simple_Analytics__referrersTop referrer sources for a site.cogny tools list
MOREA sample of the rest of the Simple Analytics surface. Run cogny tools list --json for every tool and its input schema.
mcp__Simple_Analytics__list_websitesmcp__Simple_Analytics__eventscogny --faq
No — it is the Cogny CLI calling the Simple Analytics MCP over the cogny-mcp-proxy. You connect your Simple Analytics credential once in Cogny and then call every tool from Bash with no API client to maintain.
start / end accept ISO dates (YYYY-MM-DD) or relative values the API supports, like "today" and "yesterday". pages, referrers, and events take a limit to cap rows.
Yes — events returns custom event stats for a site over the date range, alongside the page and referrer breakdowns. Everything is aggregate and cookie-free by design.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt