
Plausible Model Context Protocol Server

2025.03.19
0
TypeScript数据分析网站分析报告生成开发效率内容生成
Plausible Model Context Protocol Server 是一个用于与 Plausible Analytics API 交互的 MCP 服务器实现。该服务器允许 AI 模型查询来自 Plausible 的分析数据,主要用于生成和分析网站分析报告。
View on GitHub
Overview
基本能力
产品定位
Plausible Model Context Protocol Server 是一个用于与 Plausible Analytics API 交互的 MCP 服务器实现,主要用于生成和分析网站分析报告。
核心功能
- 与 Plausible Analytics API 交互
- 查询和分析网站分析数据
- 生成每日分析概览
- 生成相关分析报告
适用场景
- 网站管理员需要快速获取网站分析数据
- AI 模型需要查询和分析网站数据
- 需要自动化生成网站分析报告
工具列表
node dist/index.js
: 启动本地服务器npm run watch
: 监控并自动构建项目
常见问题解答
无明确常见问题解答部分。
使用教程
使用依赖
- Node.js 环境
安装教程
- 将以下配置添加到 Claude Desktop MCP Server 配置文件中:
{
"mcpServers": {
"mcp-plausible-local": {
"command": "node",
"args": ["/path/to/project/dist/index.js"],
"env": {
"PLAUSIBLE_API_URL": "https://plausible.io/api/v2",
"PLAUSIBLE_API_KEY": "test_api_key"
}
}
}
}
- 替换
/path/to/project/dist/index.js
为你的项目路径
调试方式
- 在一个终端中运行服务器:
node dist/index.js
- 在另一个终端中运行构建监控:
npm run watch
- 使用示例提示测试实现:
- "Can you provide a daily overview of my analytics for avimbu.com?"
- "Can you generate relevant analytics reports from my Plausible account for the domain avimbu.com?"
许可证
None