Plausible MCP Server

MCP Server for Plausible Analytics

Local serverstdio

What is the Plausible MCP server?

Plausible MCP server exists for a simple reason — assistants are far more useful when they can act on Plausible directly instead of describing what you should do. MCP Server for Plausible Analytics.

What you get

A Model Context Protocol (MCP) server implementation for interacting with the Plausible Analytics API. This server allows AI models to query analytics data from Plausible.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration and credentials

You will need 2 environment variables: PLAUSIBLE_API_URL, PLAUSIBLE_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by AVIMBU; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Plausible's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the plausible mcp server does with a few real requests.

How to install the Plausible MCP server

{
  "mcpServers": {
    "mcp-plausible-local": {
      "command": "node",
      "args": ["/path/to/project/dist/index.js"], <---- replace this with your project path
      "env": {
        "PLAUSIBLE_API_URL": "https://plausible.io/api/v2", 
        "PLAUSIBLE_API_KEY": "test_api_key"
      }
    },
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PLAUSIBLE_API_URLEndpoint or connection string the server talks to.Yes
PLAUSIBLE_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Plausible to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Plausible directly.