Skip to content

Millimetry documentation

Product analytics that never learns who anyone is, for apps and websites. The quickest way in is your coding agent. Connect Claude Code, Codex or Cursor, ask it to add Millimetry, and it does the rest.

Pick your agent and follow its steps, a few minutes’ work. Then it creates your app or site in Millimetry, installs it, adds the events that matter and checks they arrive. More on what it does

  1. Get a token. Sign in at millimetry.app, name your organization and choose Create a token for my agent. Already signed up? In your organization's settings, under API tokens, make one that can change settings.

  2. Connect Claude Code. Paste the command Millimetry shows with your new token into a terminal. It looks like this:

    Terminal window
    claude mcp add --transport http millimetry \
    https://mcp.millimetry.app/mcp \
    --header "Authorization: Bearer mt_…"
  3. Give it Millimetry's skills, from your project's root:

    Terminal window
    npx skills add https://docs.millimetry.app -a claude-code -y
  4. Ask it to set Millimetry up. Agents load servers and skills when a session starts, so start a new one: run claude in your project and ask it:

    Add Millimetry to this project.

    It creates the app or site in your account, installs the SDK or the tracker with the real key, adds the events that matter, saves the funnel and checks the first events arrive.

What it stores

Event names, times and the properties you send; OS, app version and device model; country and region; a visitor ID that changes every UTC day. Never an IP address, a user agent, a cookie or a device identifier. The details

Apps and sites together

One account for your apps (iOS, iPadOS, macOS, tvOS, watchOS, visionOS, Android) and the website that sells them. How it fits together

AI agents using your product

ChatGPT, Claude, Perplexity and AI crawlers, kept out of your visitors and shown on their own page with what they did. From the tracker, your edge or your API and MCP server. See AI agents

Ask about your numbers

Once connected, your assistant answers in plain words: “How did the paywall convert last week, by app version?” It reads everything the dashboard shows. Ask your assistant

Naming events

A short guide to event names and properties that stay useful as your product grows. Read it

The stats API

Everything the dashboard shows, as JSON, with an organization’s API token. Stats API