
Connects Claude to the Seline Analytics API for querying privacy-focused web analytics data from your terminal or editor. Exposes 18 tools covering time-series data, visitor metrics, custom events, funnel analysis, and individual visitor insights. You can pull page view trends, track exit pages, analyze conversion funnels, or investigate specific visitor sessions without leaving your coding environment. Runs locally via stdio and authenticates with your Seline API key. Useful when you're debugging user behavior, building dashboards, or need to pull analytics into reports without context-switching to the Seline web interface.
Seline MCP runs over stdio and sends tool requests to the Seline public API using your API key (Settings → Integrations).
You can use either:
With an account token, use seline_list_projects to find a project, then pass projectId on analytics tools.
{
"mcpServers": {
"seline": {
"command": "npx",
"args": ["-y", "@seline-analytics/mcp", "sln_your_api_key"]
}
}
}
Then restart Cursor so it reconnects MCP servers.
Run this command:
claude mcp add seline -- npx -y @seline-analytics/mcp sln_your_api_key
Then restart Claude Code.
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.
Projects:
seline_list_projects -> POST /api/v1/projectsData over time:
seline_get_data -> POST /api/v1/dataseline_get_charges -> POST /api/v1/chargesCounts 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-eventsEvents 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-valuesFunnels:
seline_get_funnel -> POST /api/v1/funnelVisitors:
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-insightThis MCP server runs locally and sends requests only to the Seline API using your API key.
YOUR_API_KEY*secretYour API key for the service