Seline

io.github.getseline由 GitHub 帳號 getseline 發布v1.0.7更新於 Oct 24, 2026

MCP server for the Seline Analytics API

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取資料與分析

概覽

AI 產生的概覽

將助理連接到重視隱私的 Seline 網站分析 API,可查詢專案、流量、事件、漏斗與訪客資料。

可以做什麼
  • 列出帳戶下的專案並選定要查詢的專案
  • 取得隨時間變化的流量與收費資料
  • 取得熱門訪客、頁面、造訪指標與自訂事件的計數與彙總
  • 檢視事件、屬性值以及欄位鍵與欄位值
  • 執行漏斗分析報告
  • 查詢單一訪客、其事件、最活躍訪客及訪客洞察
適用情境
適合需要讓助理回答關於 Seline 所追蹤網站或產品問題的情境,例如流量趨勢、頁面表現、事件與漏斗分析或單一訪客行為,不必開啟儀表板。
執行需求
可使用 api.seline.com 的託管端點並透過 OAuth 連線,或透過 npx 執行本機 npm 套件(需 Node.js)。本機模式需要一個 Seline API 權杖,可為專案層級或帳戶層級,透過參數或 YOUR_API_KEY 環境變數傳入。需要能連線至 Seline API 的網路。
安裝前請注意
本機方式會把 API 權杖寫在用戶端設定的命令列中,可能出現在設定檔或命令歷史紀錄裡。帳戶層級權杖可存取帳戶下所有專案,建議盡量使用專案層級權杖。查詢內容與權杖會傳送到 Seline 的基礎設施;README 稱這些請求為唯讀。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Seline,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.getseline%2Fseline-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "seline": {
      "type": "http",
      "url": "https://api.seline.com/mcp"
    }
  }
}

README

Seline MCP

   
Seline is a cookieless, lightweight and independent analytics platform designed with privacy in mind. Get insights about your website and product usage without compromising user privacy.
 

Seline MCP talks to the Seline public API.

You can connect in two ways:

  • Hosted — https://api.seline.com/mcp (OAuth, for ChatGPT / Claude)
  • Local stdio — npx @seline-analytics/mcp with an API key (Cursor / Claude Code / Codex)

For the local server you can use either:

  • A project API token — scoped to one project
  • An account API token — access to all projects on the account

With an account token, use seline_list_projects to find a project, then pass projectId on analytics tools.

Cursor setup

json
{  "mcpServers": {    "seline": {      "command": "npx",      "args": ["-y", "@seline-analytics/mcp", "sln_your_api_key"]    }  }}

Then restart Cursor so it reconnects MCP servers.

Claude Code setup

Run this command:

bash
claude mcp add seline -- npx -y @seline-analytics/mcp sln_your_api_key

Then restart Claude Code.

Codex setup

If your Codex client uses mcpServers JSON config, add:

json
{  "mcpServers": {    "seline": {      "command": "npx",      "args": ["-y", "@seline-analytics/mcp", "sln_your_api_key"]    }  }}

Then restart Codex and confirm the seline_* tools appear.

Tools

Projects:

  • seline_list_projects -> POST /api/v1/projects

Data over time:

  • seline_get_data -> POST /api/v1/data
  • seline_get_charges -> POST /api/v1/charges

Counts and totals:

  • seline_get_top_visitors -> POST /api/v1/stats
  • seline_get_pages -> POST /api/v1/pages
  • seline_get_visit_metrics -> POST /api/v1/visit-metrics
  • seline_get_custom_events -> POST /api/v1/custom-events

Events and properties:

  • seline_get_events -> POST /api/v1/events
  • seline_get_property_values -> POST /api/v1/property-values
  • seline_get_field_keys -> POST /api/v1/event-data
  • seline_get_field_values -> POST /api/v1/field-values

Funnels:

  • seline_get_funnel -> POST /api/v1/funnel

Visitors:

  • seline_get_visitors -> POST /api/v1/visitors
  • seline_get_visitor -> POST /api/v1/visitor
  • seline_get_visitor_events -> POST /api/v1/visitor-events
  • seline_get_most_active_visitors -> POST /api/v1/most-active-visitors
  • seline_get_visitor_insight -> POST /api/v1/visitor-insight

Privacy Policy

This MCP server runs locally and sends requests only to the Seline API using your API key.

  • Data collected: Your API key (stored locally in your MCP client) and analytics queries you run through the tools.
  • Usage: The API key authenticates read-only requests to your Seline workspace.
  • Storage: Seline stores analytics per Seline Privacy Policy.
  • Third parties: Requests go to Seline infrastructure only.
  • Retention: Governed by Seline account and privacy policy.

來源:README.md,提交 41b1f80

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.7最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分