Plausible queried from the terminal.
Run Plausible Stats API v2 queries, pull aggregate metrics, time series, and breakdowns by page, source, country, or device, and count live visitors — all from Bash over the Plausible MCP. The Stats API without the curl boilerplate.
cogny --who
TWO PATHSThe Plausible dashboard is fast for a glance but slow for ad-hoc questions — you click filter pills and screenshot the chart. The CLI gives you the exact metric × dimension breakdown as JSON you can pipe, schedule, or hand to an agent. Connect Plausible 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 Plausible tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the Plausible MCP. Send --input JSON, get JSON back.
mcp__Plausible__breakdownBreak a metric down by a property (top pages, sources, etc.).mcp__Plausible__aggregateHeadline metrics for a site over a period.mcp__Plausible__realtime_visitorsCount of visitors active in the last 5 minutes.cogny tools list
MOREA sample of the rest of the Plausible surface. Run cogny tools list --json for every tool and its input schema.
mcp__Plausible__querymcp__Plausible__timeseriescogny --faq
No — it is the Cogny CLI calling the Plausible MCP over the cogny-mcp-proxy. You connect your Plausible API key once in Cogny and then call every tool from Bash. Self-hosted and EU instances are supported via the connection’s server URL.
The full Stats API v2 set: metrics like visitors, visits, pageviews, bounce_rate, visit_duration, and conversion_rate; dimensions like event:page, visit:source, visit:country, visit:device, and time:day. Pass them straight through query.
Yes. The CLI is a normal binary — wire cogny tools call breakdown --input ... into cron, a Makefile, or your agent and capture stdout. On Cogny Solo, standard MCP calls are unmetered under fair use.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt