MCP server · Analytics

Plausible Analytics MCP server

Plausible Analytics in any MCP client, through Memtro: Plausible Analytics does not publish this server. Memtro's Plausible Analytics connector reads Plausible Analytics through its API with the credentials you connect, and one endpoint hands those tools, every other system you connect and Memtro's memory tools to Claude Code, Cursor, Claude Desktop or anything else that speaks Streamable HTTP, as you.

What the model can do

Plausible web analytics: visitors, pageviews, sources, pages, countries, devices, goals and realtime visitors for your sites via the Stats API (Plausible allows 600 API requests per hour per key.); with a Sites API key it can also add, change or delete a site, create or delete goals and custom properties, and invite a guest when you ask.

Reads

  • plausible_sitesList the Plausible sites this connection can report on (domain, timezone).
  • plausible_queryRun a Plausible Stats API v2 query: metrics for a site over a date range, optionally broken down by dimensions, filtered and ordered.
  • plausible_timeseriesMetrics for a site bucketed by time (hour, day, week or month) over a date range, with every bucket present…
  • plausible_realtimeCurrent visitors on a site (people active in the last 5 minutes).
  • plausible_list_goalsThe goals configured for a site (custom events and page visits), with the ids plausible_delete_goal takes.

Acts, when you ask

These change something in Plausible Analytics. The model is told to use them only when you ask for exactly that, and each one is granted by name: per team on a shared connection, by the owner on a personal one.

  • plausible_create_siteAdds a site to Plausible so it can start collecting statistics once its script is installed; returns the script URL.
  • plausible_update_siteChanges a Plausible site's domain or switches tracker script options (outbound links, file downloads, form submissions, 404 pages, hash routing…
  • plausible_delete_siteDeletes a site from Plausible with all of its statistics, goals and settings.
  • plausible_create_goalCreates a goal on a Plausible site, either a custom event (event_name) or a page visit (page_path, wildcards allowed)…
  • plausible_delete_goalDeletes a goal from a Plausible site, so the dashboard stops showing its conversions…
  • plausible_create_custom_propertyRegisters a custom property name on a Plausible site, so values sent with that property show up in the dashboard's Properties report.
  • plausible_delete_custom_propertyRemoves a custom property from a Plausible site's dashboard, so its Properties report stops offering it (the values already sent are not erased).
  • plausible_invite_guestInvites a person to a Plausible site as a guest viewer (can see the dashboard) or editor (can also change its settings).

Connect it

First connect Plausible Analytics on Dashboard → Connections, then add Memtro to your client once. The Plausible Analytics tools appear alongside the tools of everything else you have connected; nothing is configured per connector.

Claude Code

The Memtro plugin registers the server and a skill for when to use it; the tools are then available in every session.

claude plugin marketplace add memtro-org/claude-memtro
claude plugin install memtro@memtro --config api_key=sk-memtro-...

Cursor

Add the server to .cursor/mcp.json in the project, or to the global file under ~/.cursor/.

{
  "mcpServers": {
    "memtro": {
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Claude Desktop

Create a personal API key on Dashboard → Profile → API keys. In Claude Desktop add an MCP server of type HTTP with URL https://platform.memtro.com/api/mcp and the header Authorization: Bearer sk-memtro-…

OpenCode

A remote server in opencode.json.

{
  "mcp": {
    "memtro": {
      "type": "remote",
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Pi

One command: pi mcp add memtro --url https://platform.memtro.com/api/mcp --bearer-token-env-var MEMTRO_API_KEY. Tools arrive as mcp__memtro__*. The pi-memtro extension registers it for you, alongside Memtro as the model.

Any other client

Add an MCP server of type HTTP (Streamable HTTP, stateless) at https://platform.memtro.com/api/mcp with the header Authorization: Bearer sk-memtro-.... Codex, Zed, Windsurf, Cline and the SDKs all take a remote server this way.

Who may use it

The key identifies the person, and the server offers that person the tools they may use everywhere else in Memtro. A shared Plausible Analytics connection is used by the teams an administrator granted it to, tool by tool, on the Permissions page; a personal connection is used by its owner alone, and its tools that act stay off until the owner allows them. See Teams and permissions and Connectors.

Ask it like this

  • › How many visitors did memtro.com get last week compared with the week before?
  • › What are the top 10 pages on docs.memtro.com this month?
  • › Where is our traffic coming from in the last 30 days?
  • › Which UTM campaigns drove the most signups this quarter?
  • › Add a goal for visits to /pricing on memtro.com

Questions

Is this an official Plausible Analytics MCP server?
No. It is Memtro's MCP server with Memtro's Plausible Analytics connector behind it: the connector reads Plausible Analytics through its API with the credentials you connect on Dashboard → Connections, and Plausible Analytics publishes nothing here. The same endpoint carries every other system you connect and Memtro's memory tools.
What does it cost?
Nothing on top of Memtro. One price per organisation by its number of users, from $50 a month for up to 10 users after a 7-day free trial, with every connector, the MCP server, jobs and memory included. You bring your own model keys.
Can it change anything in Plausible Analytics?
Only when you ask, and only what it has been granted: add a site to Plausible, or change a site's domain or tracker options; delete a site and all its data permanently; create a goal (a custom event or a page visit) or delete one; register a custom property for a site, or remove one; invite a guest to a site as a viewer or editor, which emails them. Every other tool reads, searches or lists. An administrator grants each acting tool by name per team, and a personal connection acts only after its owner allows it.
Which clients work?
Any MCP client that speaks Streamable HTTP: Claude Code, Cursor, Claude Desktop, OpenCode, Codex, Zed, Windsurf, Cline and the Anthropic and OpenAI SDKs. There is no local process to run; the server is remote and authenticated with your key.

Other MCP servers · Analytics

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time