
Plausible Mcp Server
io.github.friendlygeorgePublished by GitHub account friendlygeorgev1.0.0Updated Oct 28, 2026
MCP server for Plausible Analytics — privacy-friendly web analytics. 12 tools for traffic, conver...
Overview
MCP server for Plausible Analytics that lets an assistant query traffic, conversions, sources and device breakdowns from a Plausible account.
- What you can do
- Run flexible stats queries with chosen metrics, dimensions, filters and date ranges
- Check real-time visitor counts and metrics over time at daily, weekly, monthly or hourly intervals
- Break down traffic by source, page, country, browser, OS, screen size and UTM campaign
- Review custom events, entry and exit pages, and conversion stats for configured goals
- List and inspect the sites in the account
- When to use it
- Useful when you want an assistant to answer questions about website traffic and conversions in a Plausible account, such as top sources, visitor counts, time series or goal conversion rates, without opening the dashboard.
- Requirements
- Runs locally as a Node.js process (npm package plausible-mcp-server, or built from source with npm and tsc). Needs a Plausible Analytics account (cloud or self-hosted) and an API key supplied in the PLAUSIBLE_API_KEY environment variable; self-hosted instances also set PLAUSIBLE_API_BASE. Network access to the Plausible API is required.
Installation
In SourceWeft
- Open Plausible Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
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):
For self-hosted Plausible, also set:
Build from source
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
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
Source: README.md at commit cd8ca3b
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.