
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 分