MCP Catalogs
Home

plausible-mcp

by The-Focus-AI·1·Score 31

An MCP server for natural interaction with Plausible Analytics data via LLM conversations.

ai-llmmonitoringdeveloper-tools
1
Forks
0
Open issues
10 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server bridges the gap between Plausible Analytics and natural language queries, allowing users to ask questions about website traffic, visitors, and engagement metrics. It provides tools to retrieve site data, breakdown metrics by various dimensions, and filter results based on different criteria. The implementation uses TypeScript with Zod for type safety and offers secure API key handling including integration with 1Password.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Website administrators querying traffic sources and visitor demographics
you:Content creators analyzing which pages have the highest engagement
you:Marketing teams evaluating campaign performance and UTM effectiveness
you:What analytics metrics can I query with this MCP server?
you:How is the Plausible API key handled securely?

When to choose this

Choose this MCP server if you already use Plausible Analytics and want natural-language access to your website metrics through LLM conversations.

When NOT to choose this

Don't choose this if you need analytics platforms other than Plausible, or if you require write access to your analytics data (this is read-only).

Tools this server exposes

2 tools extracted from the README
  • list_sites

    Get a list of all your Plausible sites

  • get_breakdown

    Retrieve analytics data from your Plausible sites with customizable metrics, dimensions, filters, and date ranges

Comparable tools

google-analytics-mcpposthog-mcpshell-mcp

Installation

# Clone the repository
git clone https://github.com/The-Focus-AI/plausible-mcp.git
cd plausible-mcp

# Install dependencies
pnpm install

# Build the server
pnpm build

# Run the server
pnpm start

Claude Desktop Configuration

Add to Claude Desktop config.json:

{
  "mcpServers": {
    "plausible": {
      "command": "node",
      "args": ["path/to/plausible-mcp/dist/index.js"],
      "env": {
        "PLAUSIBLE_API_KEY": "your_api_key_here",
        "PLAUSIBLE_API_URL": "https://plausible.io/api/v2"
      }
    }
  }
}

FAQ

What analytics metrics can I query with this MCP server?
You can query various metrics including visitors, pageviews, bounce rate, visit duration, and views per visit. These can be broken down by dimensions like pages, traffic sources, countries, devices, and time periods.
How is the Plausible API key handled securely?
The API key can be configured either through a .env file or using 1Password integration. The project doesn't store or transmit credentials insecurely.

Compare plausible-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.