Plausible Analytics MCP server integration for AI agents.

Connect AI agents to Plausible Analytics through 4 structured actions, including get breakdown stats, record event, and get timeseries stats. Review authenti…

ACTION CONTRACTS
4
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Plausible Analytics integration exposes

The Plausible Analytics Agent App exposes 4 provider-backed actions for data and marketing work. Its current contract lets an authorized agent query plausible analytics grouped by a single dimension such as source, page, country, or browser, record a pageview or custom event through the plausible events api for server-side or app tracking, and query plausible analytics as a timeseries grouped by a time dimension such as day or hour. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Plausible Analytics account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Plausible Analytics capabilities.

Showing 4 of 4 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

get_breakdown_statsREAD

Query Plausible analytics grouped by a single dimension such as source, page, country, or browser.

INPUTS: site_id / date_range / metrics / filters / order_by

record_eventREVIEW

Record a pageview or custom event through the Plausible Events API for server-side or app tracking.

INPUTS: domain / name / url / referrer / props

get_timeseries_statsREAD

Query Plausible analytics as a timeseries grouped by a time dimension such as day or hour.

INPUTS: site_id / date_range / metrics / filters / order_by

query_statsREAD

Query historical or real-time analytics for a Plausible site using the Stats API v2.

INPUTS: site_id / date_range / metrics / filters / order_by

INPUT CONTRACTS

Know what the action needs before it runs.

get_breakdown_stats

site_idOPTIONAL
Site identifier in Plausible. When omitted, the provider falls back to the default site configured on the connection.
date_rangeREQUIRED
Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO date tuple.
metricsREQUIRED
Metrics to calculate for the query.
filtersOPTIONAL
Plausible filter expression array passed through to the Stats API.
order_byOPTIONAL
Plausible order_by expression array passed through to the Stats API.

record_event

domainOPTIONAL
Site identifier used by Plausible for the event. When omitted, the provider falls back to the default site configured on the connection.
nameREQUIRED
Event name. Use 'pageview' for a pageview event or any custom event name.
urlREQUIRED
Absolute URL of the page or screen where the event happened.
referrerOPTIONAL
Referrer URL to associate with the event.
propsOPTIONAL
Custom event properties to attach to the recorded event.

get_timeseries_stats

site_idOPTIONAL
Site identifier in Plausible. When omitted, the provider falls back to the default site configured on the connection.
date_rangeREQUIRED
Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO date tuple.
metricsREQUIRED
Metrics to calculate for the query.
filtersOPTIONAL
Plausible filter expression array passed through to the Stats API.
order_byOPTIONAL
Plausible order_by expression array passed through to the Stats API.

query_stats

site_idOPTIONAL
Site identifier in Plausible. When omitted, the provider falls back to the default site configured on the connection.
date_rangeREQUIRED
Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO date tuple.
metricsREQUIRED
Metrics to calculate for the query.
filtersOPTIONAL
Plausible filter expression array passed through to the Stats API.
order_byOPTIONAL
Plausible order_by expression array passed through to the Stats API.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Get Breakdown Stats

Query Plausible analytics grouped by a single dimension such as source, page, country, or browser. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

get_breakdown_stats

Verify with Get Timeseries Stats

Query Plausible analytics as a timeseries grouped by a time dimension such as day or hour. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_timeseries_stats

SAFETY BOUNDARY

Operate Plausible Analytics with explicit limits

  • Authorize Plausible Analytics with API key and grant only the provider access required by the selected actions.
  • The current action names appear read-oriented, but returned Plausible Analytics data may still be sensitive and should be minimized before it enters model context.
  • Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Plausible Analytics rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Plausible Analytics task completed successfully.

CONNECTION MODEL

API key

Plausible Stats API key used with the Authorization Bearer header. Create it in Settings > API Keys and choose Stats API: https://plausible.io/docs/stats-api.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
3
WRITE SIGNALS
0
HIGH IMPACT
0
REVIEW SIGNALS
1

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Plausible Analytics.

Official Plausible Analytics website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS