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
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
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.
Connect Claude Code. Paste the command Millimetry shows with your new token into a terminal. It looks like this:
claude mcp add --transport http millimetry \ https://mcp.millimetry.app/mcp \ --header "Authorization: Bearer mt_…"Give it Millimetry's skills, from your project's root:
npx skills add https://docs.millimetry.app -a claude-code -yAsk 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.
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.
Your agent reads the token from your environment each time it starts. Add this line to your shell profile (~/.zshrc on a Mac) with your token in it, then open a new terminal:
export MILLIMETRY_API_TOKEN=mt_…Connect Codex:
codex mcp add millimetry --url https://mcp.millimetry.app/mcp \ --bearer-token-env-var MILLIMETRY_API_TOKENGive it Millimetry's skills, from your project's root:
npx skills add https://docs.millimetry.app -a codex -yAsk it to set Millimetry up. Agents load servers and skills when a session starts, so start a new one: run codex 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.
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.
Your agent reads the token from your environment each time it starts. Add this line to your shell profile (~/.zshrc on a Mac) with your token in it, then open a new terminal:
export MILLIMETRY_API_TOKEN=mt_…Connect Cursor. Restart it so it sees the token, then add Millimetry to Cursor, or put this in .cursor/mcp.json (this project) or ~/.cursor/mcp.json (every project):
{ "mcpServers": { "millimetry": { "url": "https://mcp.millimetry.app/mcp", "headers": { "Authorization": "Bearer ${env:MILLIMETRY_API_TOKEN}" } } }}Give it Millimetry's skills, from your project's root:
npx skills add https://docs.millimetry.app -a cursor -yAsk it to set Millimetry up. Agents load servers and skills when a session starts, so start a new one: open a new chat in Agent mode 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.
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.
Connect VS Code. Put this in your project's .vscode/mcp.json. VS Code asks for the token the first time and keeps it in its secret storage:
{ "inputs": [ { "type": "promptString", "id": "millimetry-token", "description": "Millimetry API token (mt_…)", "password": true } ], "servers": { "millimetry": { "type": "http", "url": "https://mcp.millimetry.app/mcp", "headers": { "Authorization": "Bearer ${input:millimetry-token}" } } }}Give GitHub Copilot Millimetry's skills, from your project's root:
npx skills add https://docs.millimetry.app -a github-copilot -yAsk it to set Millimetry up. Agents load servers and skills when a session starts, so start a new one: open Copilot Chat in Agent mode 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.
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.
Connect your agent. Any client that speaks Streamable HTTP and can send a header works: point it at https://mcp.millimetry.app/mcp with Authorization: Bearer mt_….
Give it Millimetry's skills, from your project's root. The command asks which agents to install them for: Gemini CLI, OpenCode, Windsurf and dozens more.
npx skills add https://docs.millimetry.appAsk it to set Millimetry up. Agents load servers and skills when a session starts, so start a new one: open your agent 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.
The Claude and ChatGPT apps connect to servers by signing in with OAuth, which Millimetry doesn't offer yet. Use one of the agents above until it does.
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