Skip to content

MCP server

Ask your coding agent which channel brings paying customers.

The twelvebit MCP server gives Claude Code, Codex and Cursor the same data as your dashboard: visitors, goals, funnels, journeys and revenue by source. Then ask the agent to improve the page that matters.

Connect

One command in your agent.

Each command opens a browser to sign in. There is no key to paste into the chat.

Claude Code
claude mcp add \
  --transport http twelvebit \
  https://twelvebit.app/api/mcp
Codex
codex mcp add twelvebit \
  --url https://twelvebit.app/api/mcp
codex mcp login twelvebit
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "twelvebit": {
      "url": "https://twelvebit.app/api/mcp"
    }
  }
}
Claude Code · key, for CI
claude mcp add \
  --transport http twelvebit \
  https://twelvebit.app/api/mcp \
  --header "Authorization: Bearer $TWELVEBIT_API_KEY"
Toolsthe ones agents use most
  • get_overviewVisitors, revenue, customers and conversion, with the previous period
  • get_revenueRevenue by channel and plan, and recent payments with their credited channel
  • get_breakdownTop channels, pages, countries or devices, with attributed revenue
  • get_funnelCounts per step, conversion by channel and days to convert
  • get_journeyOne person's visits, events and payments
  • get_realtimeVisitors online now and visitors per minute
  • get_install_statusWhich planned events have arrived
  • update_tracking_planValidate and save a new analytics.yaml

Questions

Questions you can ask.

The agent picks the tools and the date range. It can answer questions like these:

  • Which channel brought the most revenue in the last 30 days?
  • Where do visitors leave the signup funnel, and which source converts best?
  • Which landing page has the highest revenue per visitor?
  • Did the new pricing page change the trial starts this week?
  • Which events in analytics.yaml have not arrived yet?
  • Show the journey of the last customer who paid: every visit before the payment.

Revenue answers use the same model as the dashboard: each payment is credited to the visit before it (last touch). See revenue attribution.

How it works

What the server is and what it can do.

  • One URL

    https://twelvebit.app/api/mcp, over Streamable HTTP. Clients that only speak stdio use mcp-remote as a bridge.

  • Sign in, no key to copy

    Claude Code, Codex, Cursor, Claude.ai and ChatGPT sign in with OAuth. You approve the app in the browser.

  • Read only by default

    On the consent page you pick Read only, or Read and change setup. An app can never manage the team or API keys, or delete a site.

  • Keys for CI

    For a server without a browser, send a site key or an account token in the Authorization header, from an environment variable.

The same agent can also install the tracking with one prompt →

Paste one prompt. Watch the first events arrive.

Start free. Your agent does the setup, and you see revenue next to the traffic that brought it.

14-day free trial · cancel any time