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 variable.
Parameterstokenmetricssite_idrequireddate_range
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 (default 20, max 100).
token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment variable.
Parameterslimittokensite_idrequireddate_rangeproperty_name
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.
Parameterstokensite_idrequired
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.
Parameterstokensite_idrequiredintervaldate_range
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.
Parameterstoken
List available Plausible Analytics operational skills and playbooks.
Takes no parameters.
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.
Parametersnamerequired
Check PyPI for newer versions of plausible-mcp and get upgrade instructions.
Takes no parameters.