integrations tools branch

    Branch MCP for your AI agent

    Cogny's Branch integration exposes 6 tools (6 read) to an AI agent over MCP. The same tools are available on every plan, from your own AI client or inside the Cogny app.

    • 6readonly reads data.
    • 0writecreates or changes something.
    • 0destructivedeletes, removes or replaces something.

    Over MCP your own AI client asks before it runs a write. To take a tool away from your agent, block it in Settings → Integrations. Plans, approvals and limits

    set it up.

    Add Cogny to your AI client once, then connect Branch in Cogny. Every Branch tool below appears in the client.

    • Claude CodeRun claude mcp add --transport http cogny https://app.cogny.com/mcp, then authorise in the browser.
    • Claude.aiSettings → Connectors → Add custom connector, URL https://app.cogny.com/mcp, then log in and pick your workspace.
    • ChatGPTSettings → Apps → Advanced settings → Developer mode → Create app, URL https://app.cogny.com/mcp, authentication OAuth.
    • CursorIn Cogny, Settings → Data & Integrations → Connect AI Clients shows the block to paste into .mcp.json, with an API key.
    • CodexRun codex mcp add cogny --url https://app.cogny.com/mcp.

    Full setup, and how to undo it

    Data and limits

    Connects with the Branch Key and Branch Secret of one app; the Branch user needs the Aggregate Data and Export access levels. Every tool is a read-only aggregate query: counts, revenue or cost for one event type, split by the dimensions you pass (channel, campaign, feature, deep-link status, platform, country and others).

    Branch answers at most 7 days per query and 50,000 rows, and allows 5 queries a second, 20 a minute and 150 an hour. query_analytics_range splits a longer period into 7-day windows, up to 8 per call, and merges them; for a longer period, call it again with the next dates. A query over the rate limit fails with a clear message and is not retried.

    Known gaps

    • No event-level data: Branch's Daily Exports, Custom Exports and Cross-Events Export APIs are not exposed.
    • No cohort or retention reports.
    • No link tools: Quick Links and deep links can't be created, read or changed.
    • One connection reads one Branch app.
    • For clicks and impressions from ad partners (xx_click, xx_impression) and for cost, Branch does not allow country combined with OS or with secondary publisher in the same query.

    what each tool does.

    Read 6 · only reads data

    • query_analyticsReadRun a read-only Branch aggregate query: installs, opens, clicks, events or revenue split by the dimensions you choose.
    • query_analytics_rangeReadRun a read-only Branch aggregate query across a date range longer than 7 days, split into 7-day windows and merged, paced against Branch's rate limits.
    • get_installs_by_channelReadGet Branch app installs split by channel (and campaign and feature), for deep-link and share-link attribution.
    • get_clicks_by_channelReadGet Branch clicks split by channel (and campaign and feature), for deep-link and share-link analysis.
    • get_events_reportReadGet Branch event counts or revenue for opens, commerce, custom or content events, split by the dimensions you choose.
    • get_revenue_reportReadGet Branch revenue on commerce or custom events, split by the dimensions you choose.

    Exact input schemas come from tools/list once Branch is connected; the free plan is enough to check. Missing something? Your agent can ask for it with request_feature.