LabscoMCP early access ↗
AVIMBUMCP SERVER

Plausible Analytics

Ask Plausible Analytics for the numbers directly — pick a site, the metrics and the date range, and get the answer in conversation.

by AVIMBU ↗SEO, Web & Product AnalyticsCommunity

LABSCO SUMMARY

One query tool, and that is enough for most analytics questions.

Plausible's own API is one endpoint that takes a site, a metric list and a date range, so wrapping it as one tool is the honest shape rather than a shortcut — the flexibility is in the arguments. Because PLAUSIBLE_API_URL is configurable, the same server points at a self-hosted instance without a code change. Note that it reads: nothing here writes goals, sites or events.

What it is

An MCP server over the Plausible Analytics v2 API. It exposes Plausible's query endpoint as a single tool, so an assistant can pull visitor and pageview figures for a domain over a period without opening the dashboard.

What you get

  • An analytics query against a site you own, taking the domain as site_id, a list of metrics such as visitors or pageviews, and a date range such as 7d or 30d — plausible_query
  • All three arguments required, so a query is unambiguous about which site, which numbers and which period it is asking for

Requirements

A Plausible account and an API key, supplied as PLAUSIBLE_API_KEY — the server refuses to start without it. PLAUSIBLE_API_URL points at the API and defaults to Plausible's hosted v2 endpoint, so set it if you run Plausible yourself. It is not on npm (package.json names it plausible-model-context-protocol-server, 0.0.1); build it from a clone and point your client at dist/index.js.

Setup effort

Build from source — git clone https://github.com/AVIMBU/plausible-mcp-server