Skip to content
MCP server

Indie Metrics MCP

Read-only MCP server that pulls App Store, RevenueCat and PostHog numbers into Claude

Runs locally

Indie Metrics MCP is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Self-hosted
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add indie-metrics-mcp --env REVENUECAT_API_KEY='<REVENUECAT_API_KEY>' --env POSTHOG_API_KEY='<POSTHOG_API_KEY>' -- uvx indie-metrics-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "command": "uvx",
      "args": [
        "indie-metrics-mcp"
      ],
      "env": {
        "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
        "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "command": "uvx",
      "args": [
        "indie-metrics-mcp"
      ],
      "env": {
        "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
        "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "command": "uvx",
      "args": [
        "indie-metrics-mcp"
      ],
      "env": {
        "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
        "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "indie-metrics-mcp"
      ],
      "env": {
        "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
        "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add indie-metrics-mcp --env REVENUECAT_API_KEY='<REVENUECAT_API_KEY>' --env POSTHOG_API_KEY='<POSTHOG_API_KEY>' -- uvx indie-metrics-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.indie-metrics-mcp]
command = "uvx"
args = ["indie-metrics-mcp"]
env = { REVENUECAT_API_KEY = "<REVENUECAT_API_KEY>", POSTHOG_API_KEY = "<POSTHOG_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "indie-metrics-mcp": {
      "command": "uvx",
      "args": [
        "indie-metrics-mcp"
      ],
      "env": {
        "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
        "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e REVENUECAT_API_KEY='<REVENUECAT_API_KEY>' -e POSTHOG_API_KEY='<POSTHOG_API_KEY>' indie-metrics-mcp uvx -- indie-metrics-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "indie-metrics-mcp": {
          "command": "uvx",
          "args": [
            "indie-metrics-mcp"
          ],
          "env": {
            "REVENUECAT_API_KEY": "<REVENUECAT_API_KEY>",
            "POSTHOG_API_KEY": "<POSTHOG_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ASC_KEY_IDApp Store Connect key id
  • ASC_ISSUER_IDApp Store Connect issuer id
  • ASC_KEY_PATHPath to the .p8 key file
  • ASC_VENDOR_NUMBERApp Store Connect vendor number
  • REVENUECAT_API_KEYRevenueCat v2 secret key, read-only
  • POSTHOG_API_KEYPostHog personal API key, read access to query
  • POSTHOG_HOSTOptional. Default https://us.posthog.com; https://eu.posthog.com for the EU cloud

About Indie Metrics MCP

Indie Metrics runs on your own machine and lets an AI assistant query your app sales, subscription and product analytics data. Instead of opening three dashboards, you ask Claude for downloads, proceeds, subscribers or PostHog event counts and get the current window compared with the one before it.

The server connects directly to Apple App Store Connect, RevenueCat and your PostHog host using keys you supply as environment variables or macOS Keychain items. Each source is optional, so you only configure the ones you use, and a tool without its key reports which setting is missing. Windows are whole days ending yesterday, with Apple's Pacific-time reporting days and PostHog's UTC days handled separately.

It is aimed at solo developers and small teams who ship iOS apps with subscriptions and want a weekly read on how they are doing. It makes no writes to any account and sends data only to the services you already use.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 5 names don't say.

From the server's own tool labels and tool names; not verified by us.

downloads
First-time downloads for the last N days against the N days before, from App Store Connect.
proceeds
Developer proceeds by currency over the same two windows.
revenuecat_projects
Lists RevenueCat project ids.
subscribers
Active subscriptions, trials, MRR and 28-day revenue for a RevenueCat project.
events
PostHog event counts over the same two windows, queried with HogQL.

What it does

Week-on-week comparisons
Each query returns the chosen number of days alongside the same number of days before them.
App Store downloads and proceeds
Pulls first-time downloads and developer proceeds by currency from App Store Connect sales reports.
RevenueCat subscriber metrics
Reports active subscriptions, trials, MRR and 28-day revenue from your RevenueCat projects.
PostHog event counts
Counts named PostHog events over the same two windows using HogQL queries.
Read-only access
The server never changes apps, prices, products or events in any connected service.
Local keys and no telemetry
Credentials stay on your machine and the server talks only to Apple, RevenueCat and your PostHog host.

Good for

  • Check whether download numbers rose or fell this week compared with last week
  • Review subscription trials, MRR and active subscriptions for a RevenueCat project
  • Track custom PostHog events against the previous period without opening the dashboard
  • Ask an AI assistant for a weekly summary of sales and product usage across apps

Pricing

Open source

MIT licensed, free to run on your own machine.

Indie Metrics MCP FAQ

Does Indie Metrics MCP change anything in my App Store Connect, RevenueCat or PostHog accounts?

No. The server only reads data and never changes an app, price, product or event.

Do I need all three services to use Indie Metrics MCP?

No. You only need the keys for the sources you use, and a tool without its key says which setting is missing.

How do I install Indie Metrics MCP?

Run claude mcp add indie-metrics -- uvx indie-metrics-mcp, which needs uv installed, or clone the repository and install it with pip into a virtual environment.

Does Indie Metrics MCP support the EU PostHog cloud?

Yes. Set the optional POSTHOG_HOST variable to https://eu.posthog.com.

Is Google Play supported?

Not in this version.

Is Indie Metrics MCP free?

Yes. Indie Metrics MCP is open source, so you can use and self-host it for free.

How do I add Indie Metrics MCP to Claude Code?

Run this command in your terminal: claude mcp add indie-metrics-mcp --env REVENUECAT_API_KEY='<REVENUECAT_API_KEY>' --env POSTHOG_API_KEY='<POSTHOG_API_KEY>' -- uvx indie-metrics-mcp

What are the best alternatives to Indie Metrics MCP?

The closest alternatives to Indie Metrics MCP are GetAppNiche, Social Media Analytics, Posthog MCP Server, PostHog MCP Server and Apparent.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers