# For AI assistants

> mettr is an MCP server: connect Claude, ChatGPT or Cursor and ask about your sites in plain words. It reads what you can read, and builds dashboards only if you allow it.

Source: https://mettr.app/features/mcp

## Questions, not queries

Connect mettr to your AI assistant once, and ask:

- "How many people are on the docs site right now, and on which pages?"
- "Which sources brought sign-ups last week, against the week before?"
- "Did the 404s go up after yesterday's deploy?"
- "Show me the checkout funnel for visitors on phones."
- "Make me a layout for the launch: online, sign-ups, sources and errors."

The assistant asks mettr, and answers from your live numbers, not from what it remembers.

## Connect in a minute

Add `https://mettr.app/mcp` to Claude, ChatGPT, Cursor, VS Code or any client that takes remote MCP servers. Your browser opens mettr's sign-in: sign in, read what the app asks for, allow it. There is no key to copy and nothing to install.

```bash
claude mcp add --transport http mettr https://mettr.app/mcp
```

## What it can do

To read, always:

- **list_sites**: the sites you can read, across your teams;
- **get_realtime**: who is online now, where, on which pages, and the latest events;
- **query_metrics**: a total against its usual, a series, a breakdown, visit depth or a funnel, over any range;
- **get_feed**: the events themselves, filtered.

To change dashboards, only if you tick **Also change your dashboards** when you connect: make and change your layouts and their panels, and delete the layouts it made, never yours.

## Safe by default

- An assistant sees what you see on the dashboard and no more: your teams' sites, with bots and staff left out, visitors as daily hashes with no address.
- It never sees a key, a setting or another team.
- Each app is listed under your settings, where one click disconnects it. Access also ends when you leave a team, and after 90 days unused.
- What an app changes is recorded with its name.

The MCP server comes with every plan, Free included. [Set it up](/docs/mcp).
