Plausible Analytics MCP
v0.1.6Plausible Analytics MCP: privacy-first website stats, real-time visitors, breakdowns, and trends.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_aggregate_stats
Get aggregate website performance totals: visitors, pageviews, bounce_rate, and visit_duration. Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com', 'freeinference.dev'). date_range: Time period ('day', 'today', 'yesterday', '7d', '30d', 'month', '6mo', '12mo', or 'YYYY-MM-DD,YYYY-MM-DD'). Default '30d'. metrics: Optional list of metrics (e.g. ['visitors', 'pageviews', 'bounce_rate', 'visit_duration', 'visits']). Defaults to standard 4 metrics. token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment va…
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
date_range | string | |
metrics | ||
token |
get_breakdown
Get metrics breakdown by dimension: pages, sources, countries, browsers, operating systems, or devices. Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com'). property_name: Dimension to segment by. Accepts aliases: 'page', 'source', 'country', 'browser', 'os', 'device', 'entry_page', 'exit_page', 'city', 'region', or full Plausible names like 'event:page', 'visit:source'. date_range: Time period ('day', '7d', '30d', 'month', '6mo', '12mo', or 'YYYY-MM-DD,YYYY-MM-DD'). Default '30d'. limit: Maximum number of rows to return (defaul…
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
date_range | string | |
limit | integer | |
property_name | string | |
token |
get_realtime_visitors
Get the current count of active real-time visitors on the website right now. Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com'). token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment variable.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
token |
get_timeseries
Get historical timeseries trendlines (visitors, pageviews) over time for plotting charts. Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com'). date_range: Time period ('day', '7d', '30d', 'month', '6mo', '12mo', or 'YYYY-MM-DD,YYYY-MM-DD'). Default '30d'. interval: Aggregation bucket: 'date' (daily) or 'month' (monthly). Default 'date'. token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment variable.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | |
date_range | string | |
interval | string | |
token |
doctor
Test connectivity to Plausible Cloud or self-hosted instance (PLAUSIBLE_BASE_URL) and validate API token. Args: token: Optional Plausible API token to test. If omitted, tests PLAUSIBLE_API_KEY from environment.
| Parameter | Type | Description |
|---|---|---|
token |
skills_list
List available Plausible Analytics operational skills and playbooks.
skill_read
Fetch guidance and analytical playbooks for Plausible Analytics by name. Args: name: Name of skill to read (e.g. 'plausible-overview', 'analytics-recipes'). Call skills_list() to view all.
| Parameter | Type | Description |
|---|---|---|
name * | string |
check_for_updates
Check PyPI for newer versions of plausible-mcp and get upgrade instructions.