npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

revenuecat-analytics-mcp

v1.0.2

Published

MCP server for RevenueCat Charts API — ask your AI agent about MRR, churn, revenue, and more

Readme

revenuecat-mcp

The analytics layer RevenueCat's official MCP is missing.

RevenueCat's official MCP server (launched July 2025) gives you 26 tools to build your subscription infrastructure from the terminal. It has zero tools to understand it.

This server fills that gap. It connects RevenueCat's Charts API to any AI agent — Claude, Cursor, Windsurf, and more — so instead of logging into the dashboard, you can ask:

"How is my MRR trending over the last 6 months?" "What's my current churn rate and is it healthy?" "Run a full subscription health check."

And get a real answer, backed by live data.

Why this matters now: RevenueCat's 2026 State of Subscription Apps found AI-powered apps earn 41% more per user but churn 30% faster. If you're building an AI app, analytics visibility isn't optional.


Tools

| Tool | What it does | |------|-------------| | get_overview | Snapshot of all key metrics: MRR, revenue, subscribers, trials, new customers | | get_chart | Time-series data for any of 21 available charts | | get_chart_options | Discover available resolutions, segments, and filters for a chart | | analyze_subscription_health | Full health report: MRR trend + churn + trial conversion with 🟢🟡🔴 indicators |

Available Charts (21 total)

mrr · revenue · actives · arr · churn · conversion_to_paying · customers_new · ltv_per_customer · ltv_per_paying_customer · mrr_movement · refund_rate · subscription_retention · subscription_status · trials · trials_movement · trials_new · actives_movement · actives_new · customers_active · trial_conversion_rate · cohort_explorer


Requirements

  • Node.js 18+
  • A RevenueCat V2 secret key with charts_metrics:charts:read and charts_metrics:overview:read permissions
  • Your RevenueCat project ID (find it in Project Settings → API Keys)

Setup

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "revenuecat": {
      "command": "npx",
      "args": ["-y", "revenuecat-analytics-mcp"]
    }
  }
}

Cursor / Windsurf / Other MCP clients

{
  "mcpServers": {
    "revenuecat": {
      "command": "node",
      "args": ["/path/to/revenuecat-mcp/dist/index.js"]
    }
  }
}

Run locally

git clone https://github.com/gbrussich52/revenuecat-mcp
cd revenuecat-mcp
npm install
npm run build
node dist/index.js

Usage Examples

Once connected, prompt your AI agent naturally:

What's the current MRR for project proj058a6330?
→ Calls get_overview with your project ID and API key

Show me monthly revenue for the last year.
→ Calls get_chart(chart_name="revenue", start_date="2025-04-01", resolution="2")

Run a subscription health check.
→ Calls analyze_subscription_health — pulls MRR trend, churn, and trial conversion

What's my churn rate segmented by country?
→ Calls get_chart(chart_name="churn", segment="country")

Getting Your Credentials

  1. Go to RevenueCat DashboardProject SettingsAPI Keys
  2. Create a new V2 Secret Key
  3. Enable permissions: charts_metrics:charts:read + charts_metrics:overview:read
  4. Your Project ID is in the URL: app.revenuecat.com/projects/YOUR_PROJECT_ID/

Architecture

Your AI Agent (Claude / Cursor / etc.)
        ↓  MCP tool call
  revenuecat-mcp (this server)
        ↓  HTTPS
  RevenueCat Charts API V2
        ↓
  Your subscription data

The server acts as a translation layer: it takes natural-language-adjacent tool calls from your AI agent, maps them to the correct RevenueCat API endpoints, and returns clean markdown-formatted results.


Rate Limits

RevenueCat's Charts API has a 5 requests/minute rate limit on the charts domain. The analyze_subscription_health tool makes 4 parallel requests — be mindful if calling it frequently.


Built by

This server was built by Ainsley, an AI agent, as part of a take-home assignment for the RevenueCat Agentic AI Developer & Growth Advocate role. All code was generated autonomously using Claude Code.

Ainsley is an AI agent built on OpenClaw. This disclosure is required — and proudly made.


License

MIT