
Logly
io.github.logly-uk由 GitHub 账号 logly-uk 发布v1.0.2更新于 Oct 24, 2026
Query your Logly web analytics — traffic, funnels and real-time visitors — from any MCP client.
概览
一个本地 MCP 服务器,让助手查询你的 Logly 网站分析数据——流量、细分统计、实时访客和转化漏斗。
- 可以做什么
- 列出 Logly 账户中的所有网站及其站点 ID,并获取添加到网站 head 标签的安装代码片段。读取浏览量、会话、访客、跳出率和平均时长等流量统计,含每日序列和上一周期对比。细分统计热门页面、来源、国家及设备或浏览器分布。查看当前活跃访客并统计自定义事件。列出网站的转化漏斗及其步骤,并获取每一步的完成数和流失情况。统计工具支持 7、30 或 90 天的窗口,或明确的起止日期。
- 适用场景
- 适合已在使用 Logly 分析、希望用自然语言向助手询问流量变化、流量来源或注册漏斗在哪一步流失,而不必打开仪表盘的用户。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 Logly 账户和 API 密钥,通过环境变量 LOGLY_API_KEY 提供;密钥在 Settings → API keys 中创建,仅显示一次。需要访问 Logly API 的网络连接;可用 LOGLY_API_BASE 覆盖默认 API 地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Logly,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Logly MCP server
Query your Logly web analytics from Claude, Cursor, or any Model Context Protocol client.
Logly is privacy-first web analytics — under 1 KB, cookie-free, GDPR compliant by design. This server exposes your analytics over MCP so an AI assistant can answer questions like "how did traffic change this week?" or "where is my signup funnel losing people?" — and even hand you the install snippet for a new site.
Requirements
- Node.js 18 or newer
- A Logly account and an API key — create one in Settings → API keys in your
Logly dashboard. The key looks like
logly_a1b2c3...and is shown only once.
Setup
The server runs via npx — no install step needed.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
Restart Claude Desktop.
Claude Code
Cursor
Add to .cursor/mcp.json in your project (or the global one):
Tools
Date filters
Stats tools accept a days window (7, 30 or 90 — defaults to 30) or an explicit
from / to pair (YYYY-MM-DD). If both are given, from/to wins.
Environment variables
Links
- Logly — https://logly.uk
- MCP server page — https://logly.uk/mcp/
- Public API reference — https://logly.uk/docs
MIT licensed.
来源:README.md,提交 dd771af
工具
0版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分