npm @seline-analytics/mcpstdioMITupdated 1mo ago
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 能做什么?
Seline MCP runs over stdio and sends tool requests to the Seline public API using your API key (Settings → Integrations).
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
{
"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:
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:
{
"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/dataseline_get_charges->POST /api/v1/charges
Counts and totals:
seline_get_top_visitors->POST /api/v1/statsseline_get_pages->POST /api/v1/pagesseline_get_visit_metrics->POST /api/v1/visit-metricsseline_get_custom_events->POST /api/v1/custom-events
Events and properties:
seline_get_events->POST /api/v1/eventsseline_get_property_values->POST /api/v1/property-valuesseline_get_field_keys->POST /api/v1/event-dataseline_get_field_values->POST /api/v1/field-values
Funnels:
seline_get_funnel->POST /api/v1/funnel
Visitors:
seline_get_visitors->POST /api/v1/visitorsseline_get_visitor->POST /api/v1/visitorseline_get_visitor_events->POST /api/v1/visitor-eventsseline_get_most_active_visitors->POST /api/v1/most-active-visitorsseline_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.
安装
把 Seline 添加到你的客户端。选择你正在使用的那个。
claude mcp add mcp -- npx -y @seline-analytics/mcpcodex mcp add mcp -- npx -y @seline-analytics/mcpamp mcp add mcp -- npx -y @seline-analytics/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@seline-analytics/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@seline-analytics/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @seline-analytics/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
17 个工具
Seline 向已连接的智能体提供 17 个工具。
- seline_list_projects
- > `POST /api/v1/projects`
- seline_get_data
- > `POST /api/v1/data`
- seline_get_charges
- > `POST /api/v1/charges`
- 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`
- 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`
- seline_get_funnel
- > `POST /api/v1/funnel`
- 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`
评分
74 / 100
良好
- 文档22/25
- 维护16/25
- 可信度16/20
- 能力8/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 33 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 17 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.0最新 | 2026年3月24日 |