Back to Browse

Indie Metrics MCP Server

Developer ToolsModerate5.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

Read-only: your App Store Connect, RevenueCat and PostHog numbers in Claude, week on week.

About

Read-only: your App Store Connect, RevenueCat and PostHog numbers in Claude, week on week.

Security Report

5.6
Moderate5.6Moderate Risk

This is a read-only MCP server that calls only Apple App Store Connect, RevenueCat and PostHog over HTTPS, and its permissions match its stated purpose. Keys come from environment variables or the macOS Keychain, redirects are blocked so the auth header cannot leak to another host, and project ids and event names are validated before use. The remaining findings are low-severity hardening suggestions, not security defects. Supply chain analysis found 10 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

7 files analyzed · 17 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

env_vars

Check that this permission is expected for this type of plugin.

process_spawn

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

App Store Connect key idOptional

Environment variable: ASC_KEY_ID

App Store Connect issuer idOptional

Environment variable: ASC_ISSUER_ID

Path to the .p8 key fileOptional

Environment variable: ASC_KEY_PATH

App Store Connect vendor numberOptional

Environment variable: ASC_VENDOR_NUMBER

RevenueCat v2 secret key, read-onlyRequired

Environment variable: REVENUECAT_API_KEY

PostHog personal API key, read access to queryRequired

Environment variable: POSTHOG_API_KEY

Optional. Default https://us.posthog.com; https://eu.posthog.com for the EU cloudOptional

Environment variable: POSTHOG_HOST

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "command": "uvx",
      "args": [
        "indie-metrics-mcp==0.1.0"
      ],
      "env": {
        "ASC_KEY_ID": "your-asc-key-id-here",
        "ASC_KEY_PATH": "your-asc-key-path-here",
        "POSTHOG_HOST": "your-posthog-host-here",
        "ASC_ISSUER_ID": "your-asc-issuer-id-here",
        "POSTHOG_API_KEY": "your-posthog-api-key-here",
        "ASC_VENDOR_NUMBER": "your-asc-vendor-number-here",
        "REVENUECAT_API_KEY": "your-revenuecat-api-key-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

indie-metrics-mcp

Ask Claude how your apps are doing. This is a small MCP server that reads your own App Store Connect sales, RevenueCat subscribers and PostHog events, and answers with this week against last week. It runs on your machine with your keys.

Shipping an app and want the checklist? The App Store launch kit.

Tools

ToolAnswers
downloads(app?, days)First-time downloads, last days against the days before (App Store Connect Sales and Trends)
proceeds(app?, days)Developer proceeds by currency, same two windows
revenuecat_projects()Your RevenueCat project ids
subscribers(project, days)Active subscriptions, trials, MRR and 28-day revenue now; active subscriptions at the end of each window
events(project, names?, days)PostHog event counts, same two windows (HogQL)

days is 1 to 30. Windows are whole days ending yesterday. Apple's report days are Pacific time; PostHog days are UTC. Apple posts a day's report the next day, so a missing day is listed under days_without_report.

Install

One line, no clone. The package is on PyPI and in the MCP Registry as io.github.inzention-team/indie-metrics-mcp:

claude mcp add indie-metrics -- uvx indie-metrics-mcp

This needs uv. Get your keys as in steps 4 to 6 below. Pass them with -e NAME=value on claude mcp add, or use the Keychain items from step 7. The clone steps below are the second route.

Set up (from a clone)

  1. Install Python 3.10 or newer.
  2. git clone this repository and cd into it.
  3. python3 -m venv .venv && .venv/bin/pip install .
  4. App Store Connect: in Users and Access, Integrations, create a key with the Sales role. Download the .p8 file and note the key id, the issuer id and your vendor number (Payments and Financial Reports).
  5. RevenueCat: create a v2 secret API key with read-only access to projects, customers and charts.
  6. PostHog: create a personal API key with read access to query. Note your numeric project id.
  7. Give the server your keys as environment variables or as macOS Keychain items (service indie-metrics.<NAME>; security add-generic-password -s indie-metrics.<NAME> -a "$USER" -w prompts for the value). Names: ASC_KEY_ID, ASC_ISSUER_ID, ASC_KEY_PATH (path to the .p8), ASC_VENDOR_NUMBER, REVENUECAT_API_KEY, POSTHOG_API_KEY, and optionally POSTHOG_HOST (default https://us.posthog.com; use https://eu.posthog.com for the EU cloud).
  8. Add it to Claude Code: claude mcp add indie-metrics -- /full/path/to/.venv/bin/indie-metrics-mcp. Any MCP client that starts a stdio server works the same way.
  9. Ask: "How many downloads did I get this week against last week?"

You only need the keys for the sources you use. A tool without its key says which setting is missing.

What this will not do

  • No writes. It only reads; it never changes an app, a price, a product or an event.
  • No hosted service, no account, no telemetry. It talks to Apple, RevenueCat and your PostHog host and nothing else.
  • No Google Play in this version.
  • No keys in this repository, and none printed in output or errors.
  • No guesses. When an API answers with an error the tool says so; it does not fill the gap.

Tests

pip install ".[test]" && pytest. The tests use recorded response shapes with invented ids and a throwaway signing key made at test time.

Licence

MIT. Dependency licences: LICENCES.md.

Reviews

No reviews yet

Be the first to review this server!