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 分