# Connect Claude, ChatGPT or any MCP client

Add the MCP server to Claude, ChatGPT, Claude Code or any MCP client, sign in or use an API key, and ask about anything on your dashboard in plain words.

SuprAnalytics has an [MCP](https://modelcontextprotocol.io/) server, so Claude, ChatGPT or any MCP client can answer questions about anything on your dashboard: "How did signups do this week?", "Which channels brought paying customers last month?", "Is my website up?", "When do people buy?". The server is at `https://supranalytics.app/mcp`. It is read-only: an assistant sees every website you can open, with your role, and can't change anything.

Websites shared with you through their [team](https://supranalytics.app/docs/team.md) count too, with the role you have there: `list_websites` says which, and `get_websites_summary` marks them `shared`. As a viewer you get the reports and never the Inbox, so `list_chats`, `get_chat` and `search_chats` are refused on that website (and aren't listed at all when you're a viewer everywhere). Being removed from a team ends the connection's access to that website at once.

Hosted assistants (Claude, ChatGPT) sign you in through the browser: you allow access once, and the connection shows under API / MCP as a connected app. Command-line clients (Claude Code and others) use an account API key instead.

## Visitors' personal data

Their names and emails, payments, chat messages and session recordings stay off unless you allow them for that connection or key: tick **Also share visitors' personal data** on the screen where you allow an assistant, or **Include visitors' personal data** when you create a key. Without it, those tools aren't offered and other tools leave people's names out. Connections and keys from before this don't have it. To add it, connect again and tick the box, or create a new key. Connecting again without it ends what was allowed.

> Allowing it sends that data to whoever runs the assistant. Only do it if your privacy notice and your visitors' consent allow that.

## Claude

Works in Claude on the web, the desktop app and mobile, on every plan (the Free plan allows one custom connector). Team and Enterprise owners add it for the organization.

**1. Add the connector**

In Claude, open Settings → Connectors → Add custom connector, name it **SuprAnalytics** and paste `https://supranalytics.app/mcp`. Leave the OAuth client on **Use Claude's published identity**.

**2. Sign in and allow**

Click **Connect**. SuprAnalytics opens in a new tab: sign in if you aren't, then **Allow**. Back in Claude the connector shows as connected.

**3. Ask**

"What are my top 5 sources by revenue this month?" Claude picks the [tools](https://supranalytics.app/docs/mcp-tools.md) and the period itself.

## ChatGPT

Custom MCP servers are available on ChatGPT Business, Enterprise and Edu with developer mode enabled by a workspace admin, and on Plus and Pro where developer mode is offered. Check the current rules in ChatGPT's help if the option isn't there.

**1. Add the server**

Open [chatgpt.com/plugins](https://chatgpt.com/plugins) → **+** → **Add custom MCP server**. Name it **SuprAnalytics**, set the server URL to `https://supranalytics.app/mcp` and the authentication to **OAuth**. Leave the client settings as they are: ChatGPT identifies itself to SuprAnalytics on its own.

**2. Sign in and allow**

Click **Connect**, sign in to SuprAnalytics in the tab that opens, and **Allow**.

**3. Ask**

Enable the server in a chat and ask: "Compare last week's visitors and revenue with the week before for example.com".

> **Private testing and public listing**
>
> Adding the server this way is a private connection for you or your workspace: nothing is submitted or reviewed. Publishing a SuprAnalytics app in ChatGPT's or Claude's directory is a separate submission by SuprAnalytics, not something you need to do.

## Claude Code and other clients

**1. Create an account API key**

API / MCP at the bottom of the sidebar → **Create key**. Keys start with `pa_` and are shown once.

**2. Add SuprAnalytics to your MCP client**

Claude Code:

```
claude mcp add --transport http supranalytics https://supranalytics.app/mcp \
  --header "Authorization: Bearer pa_YOUR_KEY"
```

JSON config:

```
{
  "mcpServers": {
    "supranalytics": {
      "type": "http",
      "url": "https://supranalytics.app/mcp",
      "headers": {
        "Authorization": "Bearer pa_YOUR_KEY"
      }
    }
  }
}
```

The server speaks Streamable HTTP at `/mcp` and answers in plain JSON. A client that supports OAuth can also connect without a key (Claude Code: `claude mcp add --transport http supranalytics https://supranalytics.app/mcp`, then `/mcp` to sign in).

## Disconnecting

API / MCP → **Connected apps** → **Disconnect** ends that assistant's access immediately; removing the connector in Claude or ChatGPT does too. Keys are revoked in the same place. Both stop working when their owner is removed from a team. Account keys read: through MCP, the [read API](https://supranalytics.app/docs/api/read.md) and the [CLI](https://supranalytics.app/docs/cli.md). Website keys only send data through the [REST API](https://supranalytics.app/docs/api.md).

---

This page on the web: https://supranalytics.app/docs/mcp
Every documentation page: https://supranalytics.app/docs.md
