Skip to main content
Glama
Plausible Analytics MCP Server

Plausible Analytics MCP Server

by er1carruda

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLAUSIBLE_API_KEYYesYour Plausible Stats API key.
PLAUSIBLE_SITE_IDYesYour site domain (e.g. example.com).
PLAUSIBLE_BASE_URLNoBase URL for self-hosted Plausible instances.https://plausible.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_visitorsA

Get the number of people currently on the site (active in the last 5 minutes)

get_aggregateB

Get aggregate analytics metrics for a time period. Metrics can include: visitors, visits, pageviews, views_per_visit, bounce_rate, visit_duration, events. Date range examples: '7d', '30d', 'month', 'year', 'all', or ['2024-01-01', '2024-03-01'].

get_timeseriesB

Get metrics broken down over time. Useful for trend analysis.

get_top_pagesC

Get top pages ranked by visitors. page_type: 'all' = any page view, 'entry' = landing pages, 'exit' = exit pages.

get_page_breakdownB

Get detailed metrics for a specific page or page pattern (supports wildcards like '/blog/**').

get_top_sourcesB

Get top traffic sources. source_type: 'source' = traffic source (e.g. Google), 'referrer' = full referrer URL, 'channel' = channel grouping (Organic Search, Direct, etc.).

get_utm_breakdownC

Get breakdown by UTM parameters to analyze campaign performance.

get_breakdown_by_locationA

Get visitors broken down by geographic location. Use country_filter to drill into regions of a specific country, or region_filter to drill into cities of a specific region.

get_breakdown_by_deviceB

Get visitors broken down by device type (Desktop, Mobile, Tablet).

get_breakdown_by_browserA

Get visitors broken down by browser. Set include_version to true to also see browser versions.

get_breakdown_by_osB

Get visitors broken down by operating system. Set include_version to true to see OS versions.

get_goal_conversionsB

Get conversion data for goals/events tracked in Plausible. Optionally filter to a specific goal by name.

get_custom_property_breakdownC

Get breakdown by a custom event property. property_name is the key without the 'event:props:' prefix.

plausible_queryB

Execute an arbitrary Plausible Stats API v2 query. Use this for advanced analysis not covered by the other tools. See Plausible API v2 docs for full query syntax.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 14 tools

Disambiguation4/5

Most tools target clearly distinct analytics dimensions or actions. A few boundaries could blur, especially get_aggregate vs get_timeseries, get_top_pages vs get_page_breakdown, and plausible_query as a catch-all, but the descriptions make the intended use reasonably clear.

Naming Consistency4/5

Almost all tools use a consistent snake_case get_* pattern. The only clear outlier is plausible_query, which drops the get_ verb but remains readable and idiomatic enough.

Tool Count5/5

Fourteen tools is well within the appropriate range for an analytics server. Each tool corresponds to a meaningful query dimension or convenience function, and the set does not feel bloated.

Completeness5/5

The surface covers aggregate metrics, timeseries, pages, sources, UTM, locations, devices, browsers, OS, goals, custom properties, realtime visitors, and an arbitrary query fallback. For a read-only analytics API, there are no obvious dead ends.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues