# Snowplow MCP server
> Connect your AI assistant to your Snowplow Console account through the remote Snowplow MCP server, for natural language Console management.
> Source: https://docs.snowplow.io/docs/ai/snowplow-mcp/
> Documentation index: https://docs.snowplow.io/llms.txt

Snowplow MCP is a remote [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server that lets AI assistants interact with your Snowplow Console account using natural language.

The MCP server exposes the same set of tools as the Snowplow Assistant, but in your choice of harness and model. The server authenticates through your existing Snowplow Console login via OAuth, or with a Console API key to avoid re-authenticating — see [Authentication](#authentication).

## One-line install (Claude Code, Cursor, Codex)

The recommended way to install Snowplow MCP is with the [`plugins` CLI](https://www.npmjs.com/package/plugins), a vendor-neutral installer that auto-detects supported AI tools. From any terminal, run:

```bash
npx plugins add snowplow/skills
```

This installs the Snowplow MCP server plus the Snowplow [skills](/docs/ai/skills/) into any detected agent tool in a single step. The plugin source lives at [github.com/snowplow/skills](https://github.com/snowplow/skills).

The `plugins` CLI auto-detects [Claude Code](https://claude.com/product/claude-code), [Cursor](https://cursor.com/), and [Codex](https://openai.com/codex/). Pass `--target` with a tool name, such as `--target claude-code` or `--target cursor`, to scope the install to a specific tool.

On first use, your tool opens a browser for OAuth against [Snowplow Console](https://console.snowplowanalytics.com) — see [Authentication](#authentication) for the permissions model.

> **Tip: Skills are model-invoked**
>
> The bundled skills are loaded on demand by the model. Claude or Cursor automatically engages the relevant skill when you ask about tracking design, pipeline troubleshooting, or any of the other areas. There is no slash command to run.

## Configure the MCP server

Configure Snowplow MCP manually using the snippets below for your tool of choice.

**Claude.ai:**

Claude.ai supports remote MCP servers as custom connectors. To add Snowplow MCP:

1. Open [Claude.ai](https://claude.ai) and navigate to **Settings**.

2. Under **Connectors**, click **Add connector**.

3. Fill in the connector details:

   - **Name**: `Snowplow MCP`
   - **URL**: `https://console.snowplowanalytics.com/api/agent/mcp`

4. Expand **Advanced settings** and enter the OAuth Client ID: `NxCcdyu13Cr4umnIYw70evvUyRXRvyWf`

5. Click **Add**.

![Connector details dialog showing the Snowplow MCP name and URL with OAuth Client ID in advanced settings](/assets/images/claude-connector-details-66d9031a5fa7eea656448656a6fe97f7.png)

Claude.ai will redirect you to the Snowplow login page to authorize access.

**Claude Desktop:**

The custom connector method also works for Claude Desktop. But in case you don't have access to custom connectors, you can configure it directly in Claude Desktop using [`mcp-remote`](https://www.npmjs.com/package/mcp-remote)

Add the following to your Claude Desktop configuration file:

- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "snowplow-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://console.snowplowanalytics.com/api/agent/mcp",
        "3334",
        "--static-oauth-client-info",
        "{\"client_id\":\"NxCcdyu13Cr4umnIYw70evvUyRXRvyWf\"}"
      ]
    }
  }
}
```

Restart Claude Desktop after saving. On startup Claude Desktop opens a browser window for Snowplow login and caches the token locally for subsequent sessions.

**Claude Code:**

Add a remote MCP server to Claude Code by running:

```bash
claude mcp add snowplow-mcp \
  --transport http \
  --client-id NxCcdyu13Cr4umnIYw70evvUyRXRvyWf \
  --callback-port 3334 \
  https://console.snowplowanalytics.com/api/agent/mcp
```

Run the "mcp" command, select the "snowplow-mcp" and then "Authenticate". This should open a browser page for Snowplow login.

**Codex CLI:**

Add a remote MCP server to Codex CLI by running:

```bash
codex mcp add snowplow-mcp -- \
  npx mcp-remote \
  https://console.snowplowanalytics.com/api/agent/mcp \
  3334 \
  --static-oauth-client-info \
  '{"client_id":"NxCcdyu13Cr4umnIYw70evvUyRXRvyWf"}'
```

Codex will redirect you to the Snowplow login page to authorize access.

**Codex UI:**

1. Open Codex and navigate to **Settings** > **MCP servers** > **Add server** > **STDIO**.

2. Fill in the server details:

   - **Name**: `Snowplow MCP`

   - **Command to launch**: `npx`

   - **Arguments** (one per row):

     1. `mcp-remote`
     2. `https://console.snowplowanalytics.com/api/agent/mcp`
     3. `3334`
     4. `--static-oauth-client-info`
     5. `{"client_id":"NxCcdyu13Cr4umnIYw70evvUyRXRvyWf"}`

3. Click **Save**.

![Connector details dialog showing the Snowplow MCP configuration in Codex](/assets/images/codex-ui-48c45dec92c95c8d1f90f3ca4908addd.png)

Codex will redirect you to the Snowplow login page to authorize access.

**Cursor:**

1. Open Cursor and navigate to **Settings** > **Cursor Settings** > **Tools & MCPs**.
2. Click **New MCP Server**. This opens the `mcp.json` configuration file.
3. Add the following configuration:

```json
{
  "mcpServers": {
    "snowplow-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://console.snowplowanalytics.com/api/agent/mcp",
        "3334",
        "--static-oauth-client-info",
        "{\"client_id\":\"NxCcdyu13Cr4umnIYw70evvUyRXRvyWf\"}"
      ]
    }
  }
}
```

4. Save the file and return to **Tools & MCPs**. The server should appear in the list.

Cursor will redirect you to the Snowplow login page to authorize access.

***

## Authentication

OAuth and API keys are the two ways to authenticate with your Snowplow Console account. Both give the assistant access to one organization at a time, limited to what the credentials allow.

### OAuth

The configurations above use OAuth. On first connection, your tool opens a browser to authorize against [Snowplow Console](https://console.snowplowanalytics.com), and the assistant then operates with the same permissions as your user account — it can access and modify only what you can.

OAuth uses the organization your account belongs to by default. To target a different organization that your user has access to, add an `X-Org-Id` header with the organization ID, found on the **Manage organization** page in [Console](https://console.snowplowanalytics.com/settings). With `mcp-remote`, append these entries to the `args` array of any configuration above:

```json
"--header",
"X-Org-Id:<ORGANIZATION_ID>"
```

### API key

Authenticate with a Snowplow Console API key to avoid repeated browser logins. Unlike OAuth tokens, which expire and prompt a fresh login, an API key is a long-lived credential passed as HTTP headers, so the connection keeps working without interruption.

First, [create an API key](/docs/account-management/#create-an-api-key) in Console and note the API key ID and the API key. From the same **Manage organization** page, copy your organization ID. Then configure the server with the `X-Org-Id`, `X-Api-Key-Id`, and `X-Api-Key` headers:

```json
{
  "mcpServers": {
    "snowplow-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://console.snowplowanalytics.com/api/agent/mcp",
        "--header",
        "X-Org-Id:<ORGANIZATION_ID>",
        "--header",
        "X-Api-Key-Id:<API_KEY_ID>",
        "--header",
        "X-Api-Key:<API_KEY>"
      ]
    }
  }
}
```

> **Warning: Scope the key to what the assistant needs**
>
> The assistant can perform any action the key allows. When you create the key, grant only the permissions the assistant needs. For read-only use, select the **View** level on each feature. Keys marked **Global admin** have full admin permissions, so create a new key rather than reusing one. Store the key securely and only use this method in environments you trust.

## Capabilities of the server

The MCP server gives your AI assistant read and write access to the main areas of Snowplow Console. The full list of tools is visible in your MCP client after connecting.

- **Data structures and schemas** — browse, inspect, and create [data structures](/docs/fundamentals/schemas/), and search [Iglu Central](https://github.com/snowplow/iglu-central) for reusable public schemas.
- **Event specifications and tracking plans** — manage [event specifications](/docs/event-studio/tracking-plans/event-specifications/) and [tracking plans](/docs/event-studio/tracking-plans/), and view event volume metrics.
- **Source applications** — manage [source applications](/docs/event-studio/source-applications/) and their associated entities.
- **Pipelines** — inspect [pipeline](/docs/pipeline/) configuration, health metrics, and collector settings, including [Snowplow Micro](/docs/testing/snowplow-micro/) instances.
- **Failed events and data quality** — investigate [failed events](/docs/fundamentals/failed-events/) and manage data quality alerts.
- **Enrichments** — view and update [enrichment](/docs/pipeline/enrichments/) configurations.
- **Data catalog** — browse and search tracked data structures.
- **Signals** — manage the full [Signals](/docs/signals/) workflow, including attribute groups, services, interventions, and publishing to compute engines.
- **Documentation** — fetch pages from the Snowplow documentation site for quick reference.

## Example prompts

After connecting, try asking your assistant:

- "What pipelines do I have and what's their current status?"
- "Show me the failed events from the last 24 hours"
- "Create a new event specification for a signup\_completed event"
- "What enrichments are enabled on my production pipeline?"
- "Search the data catalog for anything related to ecommerce"
