
Plausible Mcp Server
- Updated June 6, 2026
- friendlygeorge/plausible-mcp-server
io.github.friendlygeorge/plausible-mcp-server is a MCP server that provides 12 tools for privacy-friendly Plausible web traffic, conversion, and goal analytics to AI assistants.
About
io.github.friendlygeorge/plausible-mcp-server connects Plausible Analytics to agents via MCP stdio, advertising twelve tools for traffic, conversions, and related site metrics. developers who chose Plausible for GDPR-friendly, lightweight analytics can let the agent answer how landing pages perform, which referrers drive signups, or how goals trend week over week—useful in Grow after Launch when distribution and content experiments need numbers. Install the npm package, add your Plausible API key and site id to MCP config, and invoke tools from chat rather than building custom API clients. It complements skills about SEO or content strategy by supplying live data. It does not replace Plausible’s dashboard for deep visual exploration or account administration.
- 12 MCP tools for Plausible Analytics traffic and conversion data
- Privacy-friendly web analytics without cookie-banner complexity
- Query sites, stats, and goals from Claude Code or Cursor
- stdio npm package plausible-mcp-server v1.0.0
- Built for AI assistants answering growth and SEO performance questions
Plausible Mcp Server by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add plausible-mcp-server -- npx -y plausible-mcp-serverAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| Package | plausible-mcp-server |
|---|---|
| Transport | STDIO |
| Auth | None |
| Last updated | June 6, 2026 |
| Repository | friendlygeorge/plausible-mcp-server ↗ |
What it does
Query Plausible traffic, conversions, and goals from your agent without exporting CSVs or opening the Plausible dashboard.
Who is it for?
Best when you're on Plausible and want fast, privacy-respecting analytics queries while planning growth and content.
Skip if: Skip if you're on Google Analytics 4 only, mobile-app analytics stacks, or developers without a Plausible site and API token.
What you get
Your agent can pull Plausible metrics on demand so content, SEO, and funnel decisions stay data-informed inside one session.
- 12-tool Plausible MCP registration
- Agent-driven traffic and conversion queries
- Live analytics answers without manual dashboard export
By the numbers
- 12 MCP tools documented for traffic and conversions
- MCP server version 1.0.0
- Transport: stdio
README.md
Plausible Analytics MCP Server
MCP server for Plausible Analytics — privacy-friendly web analytics. Query traffic, conversions, sources, and device breakdowns from any MCP-compatible AI assistant.
Features
- Flexible stats queries — metrics, dimensions, filters, date ranges
- Real-time visitors — live visitor count
- Traffic breakdowns — sources, countries, browsers, UTM campaigns
- Time-series data — daily, weekly, monthly, hourly intervals
- Custom events — event tracking and conversion rates
- Entry/exit pages — where visitors land and leave
- Device analytics — browser, OS, screen size breakdowns
- Goal tracking — conversion stats for all configured goals
- Site management — list and inspect sites
12 Tools
| Tool | Description |
|---|---|
query_stats |
Full flexible stats query (the main endpoint) |
realtime_visitors |
Current real-time visitor count |
get_breakdown |
Breakdown by any dimension (source, page, country, etc.) |
get_timeseries |
Metrics over time with configurable intervals |
list_sites |
List all sites in your account |
get_site |
Get site details |
get_custom_events |
Custom event breakdown |
get_entry_pages |
Top landing pages |
get_exit_pages |
Top exit pages |
get_utm_stats |
UTM campaign/source/medium breakdowns |
get_device_stats |
Browser, OS, screen size breakdowns |
get_goals |
Conversion stats for all goals |
Setup
Prerequisites
- A Plausible Analytics account (cloud or self-hosted)
- An API key — generate one at Site Settings → API Keys in your Plausible dashboard
Configuration
Add to your MCP client config (e.g. Claude Desktop, Cursor):
{
"mcpServers": {
"plausible": {
"command": "node",
"args": ["/path/to/plausible-mcp-server/dist/index.js"],
"env": {
"PLAUSIBLE_API_KEY": "your-api-key-here"
}
}
}
}
For self-hosted Plausible, also set:
"env": {
"PLAUSIBLE_API_KEY": "your-api-key",
"PLAUSIBLE_API_BASE": "https://your-plausible-instance.com"
}
Build from source
git clone https://github.com/friendlygeorge/plausible-mcp-server.git
cd plausible-mcp-server
npm install
npx tsc
Usage Examples
Once configured, ask your AI assistant:
- "Show me the top traffic sources for my site this month"
- "How many visitors did I get today?"
- "What's the time-series of pageviews for the last 30 days?"
- "Which pages have the highest bounce rate?"
- "Show me UTM campaign performance"
- "What are my top entry pages?"
- "Show conversion rates for all goals"
- "Break down visitors by country for the last week"
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
PLAUSIBLE_API_KEY |
Yes | — | Your Plausible API key |
PLAUSIBLE_API_BASE |
No | https://plausible.io |
API base URL (change for self-hosted) |
Supported Metrics
visitors, visits, pageviews, views_per_visit, visit_duration, events, bounce_rate, scroll_depth, conversion_rate
Supported Dimensions
visit:source, visit:referrer, visit:utm_source, visit:utm_medium, visit:utm_campaign, visit:utm_content, visit:utm_term, visit:country_name, visit:city_name, visit:screen, visit:browser, visit:browser_version, visit:os, visit:os_version, visit:entry_page, visit:exit_page, event:page, event:name, event:goal, event:props:<key>
License
MIT
Recommended MCP Servers
How it compares
Plausible read API via MCP, not a full analytics skill or tagging implementation guide.
FAQ
Who is plausible-mcp-server for?
Developers using Plausible on their marketing site who want Cursor or Claude to fetch traffic and conversion stats programmatically.
When should I use plausible-mcp-server?
Use it in Grow and Launch when reviewing page performance, referrers, or goals after shipping landing pages or blog content.
How do I add plausible-mcp-server to my agent?
Install plausible-mcp-server from npm, add a stdio MCP block with your Plausible API key and site configuration, then restart the agent client.