MCP-only · v0

Analytics your coding agent can read.

Drop in a tracking SDK, point Claude at the MCP server, and ask it questions about your traffic. There's no dashboard — that's the point.

  • Distraction-free
  • Drop-in SDK
  • Two-minute setup

Offstage is a small, opinionated analytics product for developers and indie hackers. It tracks page views, custom events, and identities — the same things every other analytics tool does — but exposes them through a typed MCP server instead of a dashboard.

That means your agent — Claude Code, Claude Desktop, ChatGPT, Gemini — can answer questions about your product the same way it answers questions about your code.

01 / setup

Get set up in two minutes.

Step 1 · Connect Claude Code

One command registers Offstage as a remote MCP server. The CLI walks you through a magic-link sign-in and a consent screen — no token copying.

your terminal

claude mcp add --transport http offstage https://offstage.sh/api/mcp

Step 2 · Ask Claude to install the SDK

Paste this into Claude Code. It calls setup_sdk with your real publishable key, installs the right package, and wires up the provider.

claude code

Install the Offstage analytics SDK in this project.

1. If you have the offstage MCP server connected, call its `setup_sdk` tool with framework="react" (or "browser") to get install instructions with my real publishable key inlined, then apply them.
2. Otherwise, fetch https://offstage.sh/install.md and follow it. You'll need to grab my publishable key from https://offstage.sh after signing in, and set it as the env var the install guide names.

Confirm the install by adding one `track()` call to the most relevant user action and explain how to verify it works.

Step 3 · Ask Claude

Open Claude Code, run /mcp, and start asking. Claude calls the right tool for the question and summarises the result.

claude code

> how many uniques visited /pricing this week?

  Querying offstage.query_uniques…
  423 uniques on /pricing in the last 7 days (↑29% week-over-week).

02 / cli

Or stay in your terminal.

The Offstage CLI talks to the same backend as the MCP server. Useful for scripts, CI jobs, and anyone who would rather not leave their shell.

your terminal

npm i -g @offstage/cli
offstage login
offstage sites list
offstage events recent --site offstage.sh

03 / pricing

Free to start. Pay when it's working.

Three tiers, sized for side projects, indie launches, and real teams. Cancel anytime, no annual lock-in.

  • Free · Hobby

    $0forever

    For trying it out and tiny side projects.

    • 1 site
    • 10k events / month
    • 30-day retention
    • MCP server with OAuth + PKCE
    • Browser, React, and CLI clients
    • Identities and custom events
    Start free

    No credit card required.

  • Hacker · Recommended

    Most popular

    $9/ month

    For indie devs shipping real projects.

    • 5 sites
    • 100k events / month
    • 12-month retention
    • Everything in Free
    • Geo enrichment, no IPs stored
    • Email support from the maintainer
    Start 7-day trial

    Cancel anytime · no auto-charge after trial.

  • Pro · Teams

    $29/ month

    For teams and serious traffic.

    • Unlimited sites
    • 1M events / month
    • Full retention
    • Team seats
    • Priority support
    • Founder-rate lifetime — first 50 customers
    Start 7-day trial

    Cancel anytime · no auto-charge after trial.

04 / writing

Writing.