Skip to main content
Glama
Plausible MCP Server

Plausible MCP Server

by AVIMBU

合理模型上下文协议服务器

用于合理分析的 MCP 交互服务器

用于与 Plausible Analytics API 交互的模型上下文协议 (MCP) 服务器实现。该服务器允许 AI 模型从 Plausible 查询分析数据。

本地开发

为了在本地运行此客户端,请将以下配置添加到您的 Claude Desktop 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"
      }
    },
  }
}

在此之后,您应该能够使用以下示例提示在 Claude 桌面应用程序中测试此实现:

  • “您能提供我对 avimbu.com 的每日分析概览吗?”

  • “您能从我的 Plausible 帐户为域名 avimbu.com 生成相关的分析报告吗?”

在本地运行服务器:

node dist/index.js

在另一个终端中构建

npm run watch

Related MCP server: plausible-mcp

接触

如果您有任何疑问,请随时通过AVIMBU联系我们。

Available Tools

1 tool
plausible_queryC

Query analytics data from Plausible

Inputs: site_id (required), metrics (required), date_range (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a distinct and clear purpose.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency as there are no other tools to compare it against. The name 'plausible_query' follows a clear verb_noun pattern.

    Tool Count2/5

    One tool is too few for a server intended to interact with an analytics platform like Plausible, which typically involves multiple operations such as fetching metrics, listing sites, or managing settings. This severely limits functionality.

    Completeness1/5

    The tool set is severely incomplete for a Plausible analytics server. It only provides querying capability, missing essential operations like listing sites, getting site details, managing goals, or accessing other analytics endpoints, which will cause significant agent failures.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to query website statistics from Plausible Analytics, providing access to metrics like real-time visitors, traffic trends, and page performance. It supports both Plausible Cloud and self-hosted instances through the Stats API v2.
      6
      26 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying Plausible Analytics data for website statistics, traffic, engagement, and conversions through natural language, with support for filters, dimensions, and time-series.
      7
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables natural language interaction with Plausible Analytics data to query traffic, visitors, engagement, and more using conversational questions.
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying privacy-focused website analytics from Plausible's read-only Stats API v2, with tools for overview, timeseries, breakdown, and goal performance metrics.
      70 npm
      MIT