Connect AI assistants with MCP

Updated

Strabber is an MCP server. MCP (Model Context Protocol) is the standard way for AI assistants to use outside tools and data. Once you connect an assistant such as Claude Code, Cursor or VS Code, you can ask it about your website in the tool you already work in, for example "Which errors hit the most visitors this week, and what were they doing?", or ask it to fix an issue with the details from Strabber at hand.

The assistant only reads data. It can't change or delete anything in Strabber.

Create an API key

Assistants connect with an API key, which works like a password for your account's data.

  1. Open Settings → API & MCP.
  2. Click Create API key.
  3. Enter a Name that tells you where the key is used, such as "Claude Code on my laptop".
  4. Under Access, choose which sites the key can read.
  5. Click Create key.

For Access, All sites, including ones added later lets the key read every site you can open in Strabber. Only the sites selected below limits it to the sites you check.

The key, which starts with stb_, is shown once, with ready-to-paste setup for the most common assistants. Copy it before you close the window: for your security, Strabber doesn't show it again. If you lose it, delete it and create a new one.

A key reads data as you: it can open the same sites you can. If you leave a project, or a site is deleted, the key loses access to it too. You can have up to 20 keys.

Connect an assistant

The address of the MCP server is:

https://app.strabber.com/mcp

Every request must send your key in the Authorization header as Bearer stb_....

Claude Code

Run this in your terminal, with your key in place of YOUR_API_KEY:

claude mcp add --transport http strabber https://app.strabber.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Cursor, VS Code, Windsurf and others

Add Strabber to the assistant's MCP configuration (such as .cursor/mcp.json or mcp.json):

{
  "mcpServers": {
    "strabber": {
      "url": "https://app.strabber.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Some assistants use a slightly different format, such as servers instead of mcpServers, or "type": "http" next to the URL. Check your assistant's documentation for remote MCP servers with headers.

What the assistant can do

The assistant gets these tools:

Tool What it does
list_sites Lists the sites the key can read. The other tools take one of these sites.
get_statistics Visits, page views, recordings, bounce rate, errors, rage clicks, dead clicks, U-turns and events of a period, compared with the period before, and the top pages, countries, devices and browsers.
search_recordings Finds recordings by conditions such as duration, pages, country, device, frustration or AI outcome, with their AI summary title and a link.
get_recording_summary The AI summary of a recording, if it has one.
list_events Your events and how often they happened.
run_trend Counts events or page views by day, week or month, like Trends.
run_funnel Runs a saved funnel, or a new one from steps, without saving it.
list_saved_reports Your saved funnels and trends.
list_issues Your issues with how often they happened and their AI triage.
get_issue One issue in detail, with its AI analysis if it has one.

When the key can read only one site, the assistant doesn't need to choose a site. Dates are in UTC unless the assistant passes a timezone, and a period can be at most a year long. Recordings and issues come with links that open them in Strabber.

Limits

Each key can make up to 60 requests a minute and 10,000 a day, shared with the REST API. An assistant usually makes a few requests per question.

Keep your keys safe

  • Treat a key like a password. Don't put it in code you share or commit to a repository.
  • Use a separate key for each assistant or computer, so you can delete one without affecting the others.
  • Last used on the API & MCP page shows when each key was last used. Delete keys you no longer use: they stop working straight away.

The data the assistant reads is sent to its provider, such as Anthropic for Claude, and handled under that provider's terms. Personal details such as IP addresses and user identifiers aren't included in what the tools return.