Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io

    MCP Server

    Overview

    BillDog ships a Model Context Protocol server that exposes your integration status, catalog configuration, and analytics layer to LLM clients — Claude Code, Cursor, Windsurf, Claude Desktop, Perplexity, and ChatGPT (through the BillDog plugin in ChatGPT). Instead of manually inspecting multiple dashboard pages, your AI assistant can diagnose missing setup items, inspect paywall offerings, or run analytics queries.

    Transport is plain JSON-RPC 2.0 over HTTP POST, accepting both single requests and batched arrays. It follows the MCP Streamable HTTP spec, returning a single JSON response where no streaming is required.

    Availability

    Sign in with BillDog works on every plan, Free included. Your plan sets the request ceiling that MCP calls share with the REST API (see Rate limits below); a plan without the Public Analytics API gets the lowest rung. Only AI Assistant (MCP) keys are plan-gated: if your plan does not include the Public Analytics API, key creation is refused rather than the server returning errors later.

    1. Connect with Sign in with BillDog (recommended)

    The server supports OAuth 2.1 sign-in, so a client needs only the server URL — no key to create or paste. Your browser opens BillDog: sign in, choose the one project the assistant may use (plus any it creates, if you allow “Create projects and SDK keys”), and choose whether it may only read or may also create, edit and publish configuration. You can disconnect it at any time.

    https://api.billdog.io/mcp

    One-click install

    Claude Code

    Install the BillDog plugin — the MCP server plus integration and migration skills:

    /plugin marketplace add billdogai/billdog-mcp
    /plugin install billdog@billdog

    Or add only the server, then run /mcp and choose Authenticate:

    claude mcp add --transport http billdog https://api.billdog.io/mcp

    Watch:Connect your agent to BillDog (0:43)

    Claude.ai and Claude Desktop

    Settings → Connectors → Add custom connector, paste https://api.billdog.io/mcp, then click Connect.

    Perplexity

    Custom connectors need a Perplexity Pro, Max or Enterprise plan; on Enterprise, an admin may first need to allow custom connectors. Go to Settings → Connectors → + Custom connector → Remote, name it BillDog, paste https://api.billdog.io/mcp, choose OAuth as the authentication, and click Add. Perplexity registers itself with BillDog and opens Sign in with BillDog. Then turn the BillDog connector on in a thread to use its tools.

    Windsurf

    Add to ~/.codeium/windsurf/mcp_config.json:

    {
      "mcpServers": {
        "billdog": { "serverUrl": "https://api.billdog.io/mcp" }
      }
    }

    Antigravity

    Agent panel → ⋯ → MCP Servers → Manage MCP Servers → View raw config, then add (Antigravity uses serverUrl, not url):

    {
      "mcpServers": {
        "billdog": { "serverUrl": "https://api.billdog.io/mcp" }
      }
    }

    Other clients

    Any client that supports remote Streamable HTTP servers: add https://api.billdog.io/mcp. For clients that only launch local servers, bridge with npx -y mcp-remote https://api.billdog.io/mcp.

    2. Or use an MCP key

    For clients without OAuth, or for scripts, go to Dashboard → AI Assistant (MCP) Keys and create a key. MCP access is on by default. MCP keys start with bd_mcp_ and are read-only: the tools that create or change configuration need Sign in with BillDog.

    Not an SDK key. Keys starting with bd_public_ or bd_secret_ belong to the mobile and web SDKs and are refused here with a message saying so. Older MCP keys that start with bd_secret_live_ keep working.

    Claude Code CLI

    claude mcp add --transport http billdog https://api.billdog.io/mcp --header "Authorization: Bearer bd_mcp_YOUR_KEY"

    Cursor / Claude Desktop / Windsurf

    Add the server to your MCP configuration file:

    {
      "mcpServers": {
        "billdog": {
          "command": "npx",
          "args": [
            "-y", "mcp-remote",
            "https://api.billdog.io/mcp",
            "--header", "Authorization: Bearer bd_mcp_YOUR_KEY"
          ]
        }
      }
    }

    Project scope is bound to the credential. The server overrides any project value a client tries to inject into tool parameters. A key or sign-in for one project cannot read another, regardless of what the model asks for — the one exception is a project the agent created itself under the “Create projects and SDK keys” permission, which that sign-in may switch to with use_project.

    Tools

    The MCP server provides 63 tools: 30 read-only tools for onboarding, setup diagnostics, catalog configuration, experiments, feature flags and analytics (below), 2 for onboarding and support (recording where your app is, and asking BillDog support), and 31 tools that create or change configuration — apps, products, entitlements, offerings, placements, paywalls, experiments, feature flags, projects, surveys, campaigns, journeys and message templates. New items start inactive; going live needs the publish permission. With the “Create projects and SDK keys” permission, an agent that creates a project works in it straight away (use_project switches back); a connection never reaches a project it was not given or did not create.

    Onboarding & Support

    Every new account gets onboarding from the BillDog Onboarding Team by email; these tools bring the same guidance into the chat.

    ToolWhat it does
    get_onboardingWhere you are in setup (idea, building, live, web), what is done (events, paywall, store, purchases) and the next steps for your stage
    set_onboarding_stageRecords where your app is today; the next steps for that stage follow by email
    contact_supportSends your question to BillDog support, which checks your own project and replies in the chat and by email. Reply “human” to that email to reach a person

    Setup & Integration Diagnostics

    Watch:Check your setup in one question (0:29)

    ToolWhat it does
    get_setup_statusAudits your project setup for eng or full flavor, returning exact missing items, evidence, and dashboard deep links
    resolve_placement_previewPerforms a dry-run resolution of a placement identifier to verify which offering, packages, and paywall will be served
    get_recent_sdk_activityInspects recent client SDK event ingestion and session recordings to verify client SDK wiring

    Catalog & Paywall Reads

    ToolWhat it does
    get_projectReturns project metadata, application bundle IDs, Android package names, and web domains
    list_productsReturns catalog products, product types, and store identifiers (Apple/Google)
    list_entitlementsReturns defined entitlements and their mapped product identifiers
    list_offeringsReturns offerings with their attached packages, package types, and default/current flags
    list_paywallsReturns registered paywalls with publication timestamps, active status, and wall types (excludes heavy UI JSON)
    get_paywallReturns full metadata and published layout configuration for a specific paywall by UUID or identifier
    list_placementsReturns configured placements and their linked offering IDs

    Catalog Authoring & Setup (Writes)

    Catalog writes require the mcp:write scope (and mcp:publish for go-live tools). All mutations are tenant-isolated, inactive by default, and fail-closed audited.

    Watch:Claude Code adds a lifetime plan to your catalog (0:30) ·Add a placement and its offering with Claude Code (0:36)

    ToolScopeWhat it does
    apply_setup_planmcp:writeDeclarative engine. Evaluates full setup spec (products, entitlements, offerings, placements). Defaults to dry_run: true for safe inspection without mutating. Set dry_run: false to commit.
    create_productmcp:writeCreates a subscription or in-app product in the project catalog with validated durations and SKUs.
    update_productmcp:writeUpdates metadata, store IDs, or display pricing for an existing product.
    create_entitlementmcp:writeCreates a new entitlement and optionally maps products that unlock it.
    update_entitlementmcp:writeUpdates display name, description, or product mappings for an entitlement. On a live project a change to its products returns an approval URL instead: adding a product gives the entitlement to its buyers, removing one takes it away.
    set_entitlement_productsmcp:writeSets the explicit list of product IDs granting an entitlement. On a live project it returns an approval URL instead.
    create_offeringmcp:writeCreates an offering with packages. Inactive by default (is_current: false).
    manage_offering_packagesmcp:writeAdds or removes packages within an existing offering.
    set_current_offeringmcp:publishPromotes an offering to current. If the project has production traffic in the last 30 days, returns an approval URL for dashboard confirmation.
    create_placementmcp:writeCreates a placement in the project. Unlinked by default.
    link_placementmcp:publishLinks offerings to a placement with priority order. Gated by 30-day live traffic check.

    Paywalls & Templates

    Design, preview, and publish paywalls. Newly created or designed paywalls are inactive drafts by default.

    Watch:Claude Code builds your paywall (0:41) ·Edit your paywall in plain English (0:35) ·Start a paywall from a template with Claude Code (0:49) ·Go live with an owner’s approval (0:38)

    ToolScopeWhat it does
    get_sdk_integration_guidemcp (read)Returns the code to add BillDog to an app on one platform, with this project's public SDK key.
    get_paywall_recipe_guidemcp (read)Returns the full guide to writing a design_paywall recipe.
    list_templatesmcp (read)Lists available paywall and funnel templates from the BillDog template catalog with category, wall_type, and search filters.
    create_paywall_from_templatemcp:writeInstantiates a new paywall in the project from an existing template. Created as an inactive draft by default.
    design_paywallmcp:writeSaves a new paywall as an inactive draft. Pass a recipe to design it yourself (no credit; schema in the tool, guide at billdog://docs/paywall-recipe), or a prompt for BillDog's AI designer, the same one as the dashboard, which uses one AI credit when a design compiles.
    update_paywallmcp:writeEdits a paywall's draft: copy by component id (or the headline, subtitle and CTA shortcuts), the brand colours, one button's or text's colours, which button starts a purchase, and the offering binding. A published paywall keeps serving its live version until you publish again.
    preview_paywallmcp (read)Evaluates paywall publish gate (validating components, bindings, offerings) and generates a secure short-lived preview token and /wall-preview URL.
    publish_paywallmcp:publishPublishes a draft paywall to make it live for SDK delivery. Validates the paywall first; if the project has live traffic in the last 30 days, returns an approval URL for dashboard confirmation.
    unpublish_paywallmcp:publishDeactivates an active paywall. Gated by the 30-day live traffic check.

    Experiments & Feature Flags

    A/B test paywalls and roll features out. Experiments are created as drafts and flags are created off; starting, stopping and turning a flag on change what users see, so they need the publish permission and, on a live project, an owner's or admin's approval.

    Watch:Run an A/B test and add a flag with Claude Code (0:36) ·Should I ship the winner? (0:28)

    ToolScopeWhat it does
    list_experimentsmcp (read)Experiments with their status, what devices are served now, and each variant's paywall and traffic share.
    create_experimentmcp:writeCreates a paywall A/B experiment as a draft: one paywall per variant, a control, and a traffic split that adds up to 100 (even by default).
    start_experimentmcp:publishStarts or resumes an experiment. Refused unless every variant's paywall is published and no other experiment runs on the same paywall. Gated by the 30-day live traffic check.
    stop_experimentmcp:publishPauses or ends an experiment (everyone sees the control), or ends it and ships the winning variant to everyone. Gated by the 30-day live traffic check.
    get_experiment_resultsmcp (read)Per-variant users, conversions, revenue per user, lift vs control and significance, with a verdict: winner, loser, keep running, or no data.
    list_feature_flagsmcp (read)Feature flags with on/off, rollout percentage, variants, and whether release conditions apply.
    create_feature_flagmcp:writeCreates a flag, off. Optional rollout percentage and multivariate variants with JSON payloads.
    update_feature_flagmcp:publishTurns a flag on or off, or changes its rollout or variants. A change to what users get is gated by the 30-day live traffic check; editing a flag that stays off needs only mcp:write.
    get_feature_flag_resultsmcp (read)Users and evaluations per flag value over the last 1–90 days, from the SDKs' $feature_flag_called events.

    Experiment audiences and flag release conditions are edited in the dashboard.

    Projects & SDK Keys

    A connection never reaches a project it was not given or did not create.

    ToolScopeWhat it does
    list_projectsmcp (read)Projects you can access, with bundle ID and platform, marking which ones this connection can use.
    create_projectprojects:writeCreates a project. With the “Create projects and SDK keys” permission the connection then works in it straight away; otherwise it stays on its current project.
    use_projectmcpSwitches the connection between the projects it may use: the one chosen when connecting, or one it created.
    create_public_sdk_keyprojects:writeCreates a client-safe public SDK key (bd_public_live_… or bd_public_test_…) for mobile and web apps. Never creates secret keys.
    add_appmcp:writeRecords the project’s iOS bundle ID, Android package name or web domain, one per platform, exactly as the user gives it. An app already recorded is changed on the dashboard’s Apps tab.

    Surveys, Campaigns, Journeys & Messages

    Everything is saved as a draft; nothing reaches users until it is activated. A journey can be activated with activate_journey, which on a live project (or one that requires approval for every agent change) files an approval request instead.

    ToolScopeWhat it does
    list_surveysmcp (read)Multi-page surveys and micro-survey walls in the project.
    create_surveymcp:writeSaves a survey as a draft with its questions, checked the way the dashboard checks them. Activate it in the dashboard.
    list_campaignsmcp (read)Marketing and engagement campaigns in the project.
    create_campaignmcp:writeSaves a campaign as a draft. It reaches no one until it has an audience and is activated in the dashboard.
    list_journeysmcp (read)Onboarding and engagement journeys with their steps.
    create_journeymcp:writeSaves a linear journey as a draft, with an entry trigger such as signup, paywall_presented or trial_ending. Branches are built on the dashboard canvas.
    activate_journeymcp:publishActivates a draft or paused journey so new matching events enroll customers. On a live project, or one that requires approval for every agent change, it returns an approval URL instead; once an owner or admin approves, BillDog activates it.
    pause_journeymcp:publishPauses an active journey: nobody new enters, and people already in it are held until it is activated again. On a live project it returns an approval URL instead; once an owner or admin approves, BillDog pauses it.
    list_message_templatesmcp (read)Push, in-app, email and SMS message templates with their title and body.
    create_message_templatemcp:writeSaves a reusable push or in-app message template; use its id in a journey step.

    Analytics & Insights

    Watch:Ask how your paywall is doing (0:28)

    ToolWhat it does
    run_analytics_queryRuns a report against the analytics engine. Accepts an optional segment_id to scope results to a cohort
    discover_schemaReturns the source/metric matrix so the model knows what it can ask for
    list_event_namesDistinct event names for the project
    list_cohortsSaved cohorts with their definitions and member counts
    list_saved_viewsSaved analytics views
    get_saved_view_resultsReplays a saved view's configuration and returns its results

    Pass a cohort id from list_cohorts as the segment_id on run_analytics_query to scope any report to that cohort.

    The query surface

    run_analytics_query is the workhorse. Every report is a (source, metric) pairing over a date range, returning an envelope of columns, rows and optional totals. There are 14 sources and 12 metrics:

    AxisValues
    Sourcesevents · revenue · cohorts · notifications · surveys · virtual_currency · subscriptions · paywalls · offerings · products · campaigns · experiments · journeys · customers
    Metricstotals · timeseries · breakdown · funnel · retention · distribution · top_n · flow · compare · mrr_movement · ab_results · stickiness

    Not every pairing is meaningful — discover_schema returns which combinations are supported along with a one-line hint for each, which is why an agent should call it before guessing.

    Parameters

    • source, metric, range — required
    • range takes ISO-8601 start and end, an optional granularity of hour · day · week · month, and compare_to of previous_period · previous_year (used only by metric=compare)
    • dims — dimensions to break down by; empty for totals
    • filters — source-specific column filters
    • segment_id — scope the whole report to a saved cohort

    Because dashboard reports are themselves (source, metric) pairs — MRR is subscriptions/timeseries, refund rate is revenue/breakdown — anything you can see in the dashboard is reachable through this tool.

    Resources

    • billdog://project/status — real-time project diagnostic and onboarding state
    • billdog://project/snippets/{platform} — SDK initialization snippet for swift, kotlin, react-native, web, or flutter
    • billdog://docs/integration/{platform} — SDK installation and setup guide for swift, kotlin, react-native, web, or flutter
    • billdog://schema — the source/metric matrix
    • billdog://docs/paywall-recipe — the paywall recipe language that design_paywall compiles
    • billdog://replays/recent — the last 20 session replays
    • billdog://replays/<uuid> — a specific replay
    • billdog://surveys/recent — per-survey counts for the last 30 days
    • billdog://customers/top — top 50 customers by LTV

    Prompts

    Eight prompt templates ship with the server:

    Setup & Integration Prompts

    • setup_billdog_full — step-by-step guidance for catalog, IAP paywalls, and SDK wiring
    • setup_billdog_eng — step-by-step guidance for analytics SDK wiring and event ingestion
    • verify_integration — verifies SDK events, placement paywall resolution, and setup checklist
    • migrate_from_revenuecat — maps RevenueCat API calls directly to BillDog equivalents

    Analytics & Insights Prompts

    • weekly_revenue_recap — weekly MRR, totals, top products, and WoW delta
    • funnel_drop_off_analysis — takes a funnel_name
    • churn_root_cause — investigates customer churn in the past 30 days
    • error_session_review — takes a limit

    Rate limits

    Each project has one budget of requests per minute and requests per day, set by its current plan (Free 60 and 10,000; Core 600 and 250,000; Pro 2,000 and 1,000,000; Max 6,000 and 5,000,000). Every connection to the project draws from it, whether it signed in with BillDog or uses a key, and so do Analytics REST API calls with the project’s keys. Creating more keys does not raise it.

    Per minute is a sliding window: a call is accepted only if the project has had fewer than its limit in the current second and the 60 before it. Per day resets at 00:00 UTC. A JSON-RPC batch may carry at most 100 requests; a larger one is refused whole with error -32600. In a batch, each call that reads or changes data counts once; if only some fit, the first ones run and the rest are answered with error -32002, whose data carries limit (minute or day) and retry_after_ms. A refused call is not counted. Responses also carry the RateLimit-Policy, RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset HTTP headers, and Retry-After when something was refused.

    Discovery calls are free. ping, initialize, server/discover, tools/list, resources/list, resources/templates/list, prompts/list and notifications/* do not count against either budget — so connecting a client and browsing its capabilities never consumes quota. Only calls that read or change data do.

    Related

    Was this page helpful?

    Or rate this page:

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.