Analytics
AI agents (MCP)
Connect your own agent: it instruments your site or app the way this project expects, builds UTM links from your conventions, answers questions from your data, and builds dashboards you see here.
What your agent can do
Your coding agent (Claude Code, Cursor, or any MCP client) connects to this project through our MCP server. With your codebase open, it can work out which events your site or app should send, add them the right way, and check they arrive. It can also answer questions with the same reports you use here, and build things for your team.
| Tool | What it's for |
|---|---|
get_project | Start here: the project, its sources (each with its test and live keys), the plan, what the key can do, links into the app |
get_usage | The account's plan and limits, live events this period and where they're heading, today's test messages, and advice |
get_tracking_plan | Every event, property and trait already tracked, so it reuses names |
recommend_events | A starter plan by journey stage for your kind of product (content, SaaS, ecommerce, marketplace, mobile app, lead gen), with a volume estimate against your plan |
check_events | Checks planned events: naming, near-duplicates, missing properties, money without revenue, property types, personal data, secrets, noisy events |
instrumentation_guide | Install and send code for websites (HTML, Next.js, React, Vue), servers (Node, Python, HTTP) and apps (iOS, Android, React Native, Flutter) |
estimate_volume | Monthly events for a plan, with the events that dominate called out |
send_test_event, recent_events | Send a test event, and see what arrived |
list_saved, suggest_values | Your saved reports, dashboards, journeys and experiments; the values people actually have |
run_table, run_trend, run_funnel, run_retention | Answer questions with the same reports as the app, each with a link that opens it here |
run_journey, run_experiment | Journeys (saved or new) and experiments with lift, the 95% range, the p-value and a verdict |
create_report, create_dashboard, add_to_dashboard | Build key: save reports and put them, and journeys and experiments, on dashboards |
create_journey, create_experiment, describe_event | Build key: save journeys and experiments, and document events in the tracking plan |
create_source | Build key: a website or server source, with its test and live keys |
get_utm_conventions | UTM links: your fields, approved values and pairings, formatting, URL format and shared link conventions |
build_link, list_links | Preview a link from named values (with the closest approved values when one is off), and find saved links to reuse |
create_links | Build key: save links, one or one per source, with short links and the ad suffix for Google Ads or Meta |
add_values, add_channels, update_utm_settings | Build key: set up naming conventions: values, library channels with their sources, fields, formatting and the URL format |
Connect it
- 1
Create an API key
A project admin opens Settings → API keys, chooses Create API key, and picks Read or Read & build. Copy it right away: it's shown once. - 2
Add the server to your agent
The key's dialog shows the exact command or config for your client. In Claude Code:
claude mcp add --transport http incrementality https://incrementality.ai/api/mcp \ --header "Authorization: Bearer ik_live_…"
Keep the key out of your code (an environment variable or the client's secret store). The write keys that send events (pk_test_…, pk_live_…) are different: they're publishable and do go in your site or app.
Read or build
- Read: everything above except building. Good for instrumenting, asking questions and previewing links.
- Read & build: also saves reports, journeys and experiments, creates dashboards and adds tiles, writes event descriptions, creates UTM links, and sets up naming conventions (values, channels, fields, formatting, URL format). What it makes belongs to the admin who created the key, shows up here like anything you made, and you can change or delete it. If that admin stops managing the project, the key stops building.
- Agents are told to agree new values and settings changes with you first. They never delete anything: a combined code or ID set aside by a URL format change comes back if it switches again. A project that follows shared link conventions changes its conventions there.
First prompts
Use the incrementality MCP server to instrument this site. Read get_project, get_usage and get_tracking_plan, ask me what you can't tell from the code, run recommend_events for our kind of product with our monthly users, place the events in our code, run check_events and fix everything, follow instrumentation_guide for our stack, then confirm with send_test_event and recent_events. Tell me what's needed to go live. Describe each new event and create a journey with the stages.
Use the incrementality MCP server to plan tracking for https://our-site.com. Crawl the site, map pages, forms, buttons and checkout steps to events, check them with check_events, and give me tag-manager snippets with the right keys.
Use the incrementality MCP server to instrument this app. Same steps, with instrumentation_guide for our platform (ios, android, react-native or flutter): keep an anonymousId on the device, identify on sign-in, and send events in batches.
Using incrementality, make the tracked links for our spring launch: read get_utm_conventions and list_links, ask me where it'll run, propose one link per placement (ask before adding any new value), create them, and give me a table with each URL, short link and ad suffix.
Using incrementality, set up our UTM naming conventions: ask which channels and tools we use and our analytics platform, propose channels, sources, required fields and the URL format, apply them when I agree, and show me an example link.
Using incrementality, how are we doing this month and what should we do about it? Compare with last month, find where people drop off, and tell me who's behind the change.
Using incrementality, which message moved the most people from signup to paid last month, and for whom? Build a dashboard with what you find and give me the link.
What a fresh agent gets
- When it connects, the server tells it how incrementality.ai works (people, events, properties, traits, journeys, experiments), the workflows, and the rules for events and links. Clients that show prompts get instrument_app, plan_campaign, set_up_conventions, find_insights, build_dashboard and review_tracking.
- It's told how to work with you: read before asking, ask a few questions at a time with a suggested answer for each, say what it plans before changing anything lasting, lead with the answer, and offer one next step. Every report it runs comes back with notes on reading it (test data, small numbers, a period still in progress, attribution being an estimate) and a suggested next step.
- Every Learn page is available to it as a resource, and on the web: /agents.md (start here), /llms.txt (the index), /llms-full.txt (everything), and any page as Markdown at
/learn/<page>.md. Point an agent at/agents.mdeven before it's connected.
What keys can't do
- A key works on its own project only, and sends test events, never live ones. Test events count toward the account's 10,000 a day.
- It can't delete anything, send data to other tools, import, roll keys, or change settings, domains or members.
- It knows your plan and limits (
get_usage) and keeps tracking within them; without a plan it tells you to start the trial in Billing. - Keys are stored only as a hash. Name one per tool or person, revoke it anytime, and see when each was last used.