[Home](/index.md) › [MCP servers](/mcp.md) › Seline hosted MCP server

# Seline hosted MCP server

MCP server

- 17 callable tools
- Read only
- 5 capabilities

[Installation guide](https://seline.com/api/mcp)

## Overview

Seline publishes an MCP server that lets AI assistants read analytics data from Seline projects through its public API. It works with Seline web analytics, including visits, stats, revenue, custom events and visitors.

### Capabilities

- Retrieve visit metrics, pageviews and trends over time
- Query revenue and charge data
- Break down stats by country, browser, device and referrer
- Look up visitors and their event histories
- Analyze conversion funnels and custom event fields

## Works with

The products your agent can work with through this server.

- [Seline](/tools/seline.md): Cookieless website analytics

## Tools

The callable functions your agent uses to work with this server.

### `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

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Seline hosted MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http seline https://api.seline.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Seline hosted MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=seline&config=eyJ1cmwiOiJodHRwczovL2FwaS5zZWxpbmUuY29tL21jcCJ9)

```json
{
  "mcpServers": {
    "seline": {
      "url": "https://api.seline.com/mcp"
    }
  }
}
```

### Add Seline hosted MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "seline": {
      "type": "http",
      "url": "https://api.seline.com/mcp"
    }
  }
}
```

### Add Seline hosted MCP server to Codex

Run this in your terminal:

```sh
codex mcp add seline --url https://api.seline.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.seline]
url = "https://api.seline.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login seline`.

### Add Seline hosted MCP server to Claude

Add it as a custom connector with this URL:

```
https://api.seline.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Seline hosted MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://api.seline.com/mcp
```

[Read the installation guide](https://seline.com/api/mcp)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [seline.com/api/mcp](https://seline.com/api/mcp)
