Plausible MCP server. Query site stats, realtime visitors, breakdowns and goals from Plausible Analytics.
Add to your MCP config, then reload & authorize:
{
"mcpServers": {
"plausible-analytics": {
"url": "https://plausible-analytics.usefulapi.io/mcp"
}
}
}| Tool | Type | What it does |
|---|---|---|
plausible_query_stats | read | Query stats The full-power Stats API query. Compute metrics over a date range, optionally grouped by dimensions and narrowed by filters, with ordering, includes, and pagination. Plausible: POST /api/v2/query. |
plausible_aggregate | read | Aggregate totals Convenience: aggregate totals for the given metrics over a date range (no group-by). Plausible: POST /api/v2/query with no dimensions. |
plausible_timeseries | read | Timeseries Convenience: metrics over time, grouped by a time interval. Plausible: POST /api/v2/query with dimensions=[interval]. |
plausible_breakdown | read | Breakdown by property Convenience: break metrics down by a single property (dimension), e.g. visit:source or event:page. Plausible: POST /api/v2/query with dimensions=[property]. |
plausible_realtime_visitors | read | Realtime visitors Get the number of current visitors on a site (active in the last 5 minutes). Returns a single integer. Plausible: GET /api/v1/stats/realtime/visitors. |
plausible_list_sites | read | List sites List the sites the API key can access (domain + timezone), with cursor pagination. Requires an enterprise plan. Plausible: GET /api/v1/sites. |
plausible_get_site | read | Get site Get a single site by its domain (timezone, etc.). Requires an enterprise plan. Plausible: GET /api/v1/sites/{site_id}. |
plausible_list_goals | read | List goals List the goals (conversions) configured for a site. Requires an enterprise plan. Plausible: GET /api/v1/sites/goals. |
plausible_usage_status | Usage status (free-tier meter) Report the caller's current free-tier usage this month: calls used, monthly limit, remaining, and whether the cap is reached. | |
plausible_upgrade | Upgrade to Pro (unlimited) Subscribe to Pro for unlimited tool calls, monthly ($9) or yearly ($90). Returns a Stripe Checkout link. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 100 tool calls / month |
| Pro | $9/mo · $90/yr | Unlimited |
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.