Skip to main content

RevenueCat AI Toolkit

Set up RevenueCat, integrate the Purchases SDK, and access your revenue data from your AI coding assistant

AIAsk AIChatGPTClaude

The RevenueCat AI Toolkit is a plugin for AI coding assistants. It gives your agent both access and knowledge: the RevenueCat MCP Server connects your agent to your RevenueCat projects, and a set of skills guides it through common RevenueCat workflows in the right order.

With the toolkit installed, you can ask your agent to:

  • Set up subscriptions — create projects, apps, Products, Entitlements, Offerings, and Packages
  • Integrate the Purchases SDK on iOS, Android, Kotlin Multiplatform, Flutter, or React Native
  • Build and customize Paywalls
  • Analyze subscription metrics, conversion funnels, and experiment results
  • Diagnose setup issues like empty Offerings or failed sandbox purchases

The plugin authenticates with OAuth, so it grants access based on your RevenueCat account permissions across all your projects. To disconnect the toolkit later, revoke the token from Account → Security. See OAuth for how these connections work.

Installation

Install the toolkit from your AI coding assistant's plugin marketplace.

Claude Code

claude plugins marketplace add RevenueCat/ai-toolkit
claude plugins install RevenueCat

Cursor

Install from the Cursor Marketplace:

Add RevenueCat AI Toolkit to Cursor

Or run:

/add-plugin revenuecat

OpenAI Codex

Install and authenticate the RevenueCat plugin from a terminal:

# Add the RevenueCat marketplace
codex plugin marketplace add RevenueCat/ai-toolkit

# Install the RevenueCat plugin
codex plugin add revenuecat@RevenueCat

# Authenticate with RevenueCat
codex mcp login RevenueCat

Adding the marketplace does not install the plugin. The second command installs the revenuecat plugin from the registered RevenueCat marketplace.

Start a new Codex task after installation so the plugin's skills and MCP tools are loaded.

Verify the installation with:

codex plugin list

The output should show revenuecat@RevenueCat as installed, enabled.

Optional Google Play billing plugin

For detailed Google Play subscription lifecycle guidance, also install:

codex plugin add revenuecat-play-billing@RevenueCat

Troubleshooting

If the skills load but RevenueCat tools are unavailable—or the tools disappear after restarting Codex—register the MCP server globally:

codex mcp add RevenueCat --url https://mcp.revenuecat.ai/mcp
codex mcp login RevenueCat

Gemini CLI

gemini extensions install https://github.com/RevenueCat/ai-toolkit

Visual Studio Code

Plugin marketplace support is currently experimental. Add this repository as a plugin marketplace, then install the plugin. See the VS Code agent plugins instructions.

Other environments

npx skills add RevenueCat/ai-toolkit

This installs the skills only. Then set up the MCP server manually.

For full installation and authentication instructions, see the RevenueCat AI Toolkit on GitHub.

If you ship on Android, the marketplace includes a second plugin, revenuecat-play-billing, with in-depth Google Play subscription lifecycle skills — purchases, plan and price changes, payment recovery, webhooks, and security.

What's in the plugin

RevenueCat MCP Server

The RevenueCat MCP Server gives your agent access to your RevenueCat projects. It provides tools to configure apps, Products, Entitlements, Offerings, and Paywalls, and to query charts and experiment results.

The toolkit configures the MCP server for you. To use the MCP server without the toolkit, see the MCP Server Setup guide.

Skills

Skills are focused playbooks that tell your agent which steps to take for a given workflow, so it follows the right order of operations instead of guessing from generic docs.

SkillWhat it does
integrate-revenuecatSets up RevenueCat end-to-end: dashboard configuration via MCP, SDK installation, and configuration at launch.
create-revenuecat-projectCreates a project from scratch — apps, Products, Entitlements, Offerings, and Packages in the correct order.
revenuecat-paywallDisplays a Paywall in your app using the RevenueCatUI SDK.
revenuecat-purchase-flowImplements the purchase and restore flow, including error and cancellation handling.
revenuecat-entitlements-gateGates paid features behind Entitlement checks.
revenuecat-identify-userTies RevenueCat identity to your app's authentication system.
revenuecat-testing-setupSets up purchase testing without charging real money.
revenuecat-troubleshootDiagnoses integration issues like empty Offerings, missing Products, or inactive Entitlements.
revenuecat-statusSummarizes your project configuration and flags problems.
revenuecat-chartsQueries chart data and interprets subscription metrics.
revenuecat-experiment-analysisAnalyzes experiment results.
revenuecat-sdk-compatibilityChecks whether an SDK version supports a feature and assesses upgrade impact.
revenuecat-store-stateInspects and changes product state in App Store Connect and Google Play Console.
revenuecat-customer-centerAdds the Customer Center self-service subscription management UI.
revenuecat-migrateMigrates from raw StoreKit or Google Play Billing, or upgrades the SDK across major versions.
revenuecatHandles RevenueCat tasks not covered by a more specific skill.

Example prompts

Set up RevenueCat for my fitness app. I'm building for iOS and Android. I want monthly and annual subscriptions.
Integrate RevenueCat in this React Native app and configure the SDK with the correct public API key.
My offerings are empty on iOS sandbox. Diagnose the RevenueCat setup and tell me what to fix.
Looking for Rico?

Rico is RevenueCat's AI-powered app growth advisor in the dashboard and Slack. It's a separate product from the AI Toolkit — use Rico to ask questions about your data, and the toolkit to work on your app and configuration from your coding assistant.

Was this page helpful?