Query your web analytics with AI chat assistants

Cabin has first-class support for MCP connectors, allowing you to use Claude, ChatGPT, Gemini and more to query your analytics data conversationally.
by Nic Mulvaney, Thu, 5 Feb 2026
Query your web analytics with AI chat assistants

Connecting your analytics data with AI chat assistants is a game changer. Once connected, you can query anything about your domains and weave it into your conversation context alongside other tools. It's read-only, so you don't have to worry about affecting your data.

What can it do?

Cabin's MCP (Model Context Protocol) integration lets you ask natural-language questions about your analytics and get instant answers. No dashboard required. You can ask about trends, compare time periods, generate reports, and combine your analytics with other data sources in the same conversation.

Examples

Here are some things you can ask once connected:

  • "How many pageviews did I get last week?"
  • "What's my best performing day this year?"
  • "How did my last email campaign go?"
  • "Make me a PDF report about last month's traffic"
  • "Compare my bounce rate this month vs last month"
  • "Which referral sources are driving the most traffic to my blog?"
  • "What's the carbon footprint of my site this quarter?"

Tools

The MCP server exposes two simple yet powerful tools:

  1. list_domains - Returns all available domains on your account
  2. get_analytics - Returns specific analytical data for any domain and date range

These tools give AI assistants everything they need to answer complex questions about your website performance.

How do I get started?

Claude

Claude has native MCP support built in:

  1. Open Claude and click the connectors icon
  2. Add a new connector
  3. Enter https://withcabin.com/mcp as the URL
  4. Click connect and grant access to your Cabin account

ChatGPT

ChatGPT supports MCP connectors for Plus and Team users:

  1. Go to Settings > Connected Apps
  2. Click "Add Connection"
  3. Enter https://withcabin.com/mcp
  4. Authenticate with your Cabin account when prompted

Gemini

Google Gemini supports MCP through its extensions:

  1. Open Gemini and navigate to Extensions
  2. Add a custom MCP extension
  3. Use the URL https://withcabin.com/mcp
  4. Authorise the connection with your Cabin account

Claude Code

For Claude Code (CLI), add the MCP server to your configuration:

  1. Run claude mcp add cabin https://withcabin.com/mcp
  2. Authenticate when prompted
  3. Your analytics data is now available in your coding sessions

Claude Desktop

For Claude Desktop, add to your MCP configuration file:

  1. Open Settings > Developer > Edit Config
  2. Add Cabin as an MCP server with the URL https://withcabin.com/mcp
  3. Restart Claude Desktop and authenticate

Cursor

Cursor supports MCP servers natively:

  1. Open Cursor Settings > MCP
  2. Add a new MCP server
  3. Enter https://withcabin.com/mcp as the URL
  4. Authenticate with your Cabin account

Alternative ways to connect

Cabin also supports SSE connections via API keys. When creating an API key in your Cabin dashboard, you can enable MCP support. Then use the URL https://api.withcabin.com/sse to connect with an x-api-key header.

This method gives you fine-grained control over which domain data is available to the MCP server. It also allows sharing of keys with team members, whereas the OAuth method only permits the account holder to access their own domains.

Why this matters

The ability to query your analytics conversationally removes the friction between having a question and getting an answer. Instead of navigating to your dashboard, selecting date ranges, and interpreting charts, you simply ask. This is particularly powerful when you're already in a workflow - writing a report, planning a campaign, or reviewing code performance.

MCP support is available on Cabin's Growth plan and above. Get started and connect your analytics to the AI tools you already use.