> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryhelium.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Helium is a paywall platform for mobile apps. Paywalls, workflows, triggers, targeting and experiments are configured in the dashboard (https://app.tryhelium.com); the SDK's job is to initialize, present a paywall for a trigger, and report purchases.
> Pick the SDK page for the user's platform: /sdk/quickstart-ios (Swift), /sdk/quickstart-android (Kotlin), /sdk/quickstart-react-native, /sdk/quickstart-flutter. Method names differ per platform; copy them from the page for that platform, never from another platform's page.
> Pages under /sdk/quickstart-ios-v3 and /sdk/quickstart-android-v0 are legacy SDK versions. Use them only when the user is on that version; for upgrades use the /migrations pages.
> For live dashboard data (paywalls, workflows, metrics) connect the Helium MCP server at https://app.tryhelium.com/api/mcp (see /ai-tools/mcp). For SQL over events, revenue, subscriptions and users use the Data Access API (/data-access/overview) and the helium-data-access skill (/data-access/agent-skill). This documentation site also exposes a docs-search MCP server at https://docs.tryhelium.com/mcp.
> Web checkout (App2Web) with Stripe or Paddle is a separate flow from in-app purchases; start at /web-checkout/overview.
> Every page is available as Markdown by appending .md to its URL. The full index is at https://docs.tryhelium.com/llms.txt.

# Helium MCP Server

> Connect Claude, ChatGPT, Cursor and other AI tools to your Helium dashboard data.

The [Model Context Protocol](https://modelcontextprotocol.io) (MCP) is a standard for connecting AI tools to external systems. The Helium MCP server gives your AI tool a read-only view of your Helium organization: paywalls, workflows, triggers, targeting, experiments, metrics, and these docs. Ask questions like "which paywall is live on my onboarding trigger?" or "how did trial starts move last week?" and the tool answers from your real dashboard data.

> [!NOTE]
>
> The Helium MCP server is read-only. It cannot edit, publish, or delete anything in your organization.

## Connect

The server URL is the same for every client:

```text theme={null}
https://app.tryhelium.com/api/mcp
```

There are no API keys to copy. When your client connects for the first time it opens the Helium login page in your browser. Sign in, choose the organization you want to connect, approve the permissions, and you are done. Pick your client:

Client

Any other client that supports remote MCP servers with OAuth works the same way: give it the URL above and sign in when prompted.

## Permissions

During sign-in your client asks for these permissions. Each one unlocks the tools listed in [Available tools](#available-tools) below; a tool you have not granted returns a message telling you which permission to add.

| Permission | What it unlocks |
| - | - |
| `org:read` | Who you are and which organization is connected |
| `paywalls:read` | Paywalls, their versions, source code, previews and publish history |
| `workflows:read` | Workflows, triggers and targeting |
| `experiments:read` | Experiments and their variants |

Metrics and documentation tools are available to every connection. Everything is scoped to the organization you picked at sign-in. To switch organizations, disconnect the server in your client and connect again.

## Available tools

### Paywalls

| Tool | What it returns |
| - | - |
| `list_paywalls` | Your paywalls, newest first, with optional name search |
| `get_paywall` | One paywall with the products, product buckets and live version it serves, plus its web paywall link |
| `get_paywall_preview` | The preview image of a paywall |
| `list_paywall_versions` | The saved versions of a paywall |
| `list_paywall_publish_history` | Publish and rollback history of a paywall |
| `get_paywall_version_code` | The source of one file in a paywall version |
| `diff_paywall_versions` | A diff of one file between two versions |
| `find_paywall_usage` | Every workflow, trigger and experiment a paywall appears in |

### Workflows, triggers and targeting

| Tool | What it returns |
| - | - |
| `list_workflows` | Your workflows with their triggers and targeting rules |
| `get_workflow` | One workflow with each rule's audience, paywall or experiment |
| `list_triggers` | Your triggers and the workflow each one belongs to |
| `list_targeting` | Your saved targeting definitions |
| `get_targeting` | One targeting definition and its rule |

### Experiments

| Tool | What it returns |
| - | - |
| `list_experiments` | Your experiments with their variants and traffic split |
| `get_experiment` | One experiment and the workflows and triggers it is wired into |
| `get_experiment_metrics` | Per-variant time series for one experiment page metric, with the All Sources / Paywall Variant toggle and filters |
| `check_experiment_health` | Whether an experiment can declare a winner: verdict, significance per decision metric, users needed per arm and days remaining |

### Metrics

| Tool | What it returns |
| - | - |
| `list_metrics` | Every dashboard metric with a one-line description |
| `explain_metric` | The full definition of one metric and the filters it accepts |
| `get_metrics` | Time series for up to a few metrics with the dashboard's defaults |

### Docs and account

| Tool | What it returns |
| - | - |
| `search_docs` | Search results from docs.tryhelium.com |
| `get_doc` | A full documentation page |
| `whoami` | The signed-in user and connected organization |

## Good to know

A few things the tools report exactly as the SDK sees them, which can differ from what a paywall's edit view shows:

* A paywall's products, product buckets and content come from its **published version**. A paywall that has never been published is not served anywhere.
* A trigger with no workflow attached shows no paywall.
* Targeting rules are evaluated top to bottom and the first matching rule wins. A rule can point at a paywall, at an experiment, or at "show no paywall".
* An experiment serves only while a workflow rule points at it and it is not stopped. Its start and end dates are labels, not a schedule.
* Variant percentages that do not add up to 100 are scaled so that they do.

## Security

* The server is read-only and can only see the organization you connected. There are no tools that change anything.
* Your client stores a token for the connection; Helium does not store it. Remove the connection from your client to stop access.
* Treat tool output like any other data you paste into a chat: paywall names and descriptions are your own content, but review before sharing a transcript outside your team.

## Troubleshooting

* **"This tool needs the paywalls:read permission"**: reconnect the server and approve all permissions on the consent screen.
* **Sign-in loops or 401 errors**: remove the server from your client and add it again; the stored token may belong to an organization you no longer have access to.
* **Tool results are cut off**: list tools are paged. Ask for the next page or narrow with a name search.
* **Your client does not show the newest tools**: claude.ai and Claude Code cache the tool list. Refresh the Helium server in your client's connector settings, then start a new chat.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.