indie-metrics-mcp
Read-only MCP server that answers how your apps are doing by comparing this period against the previous one, across App Store Connect, RevenueCat and PostHog.
downloads(app?, days)— first-time App Store downloads for the lastdaysagainst thedaysbefore;appfilters by title, SKU or Apple id.proceeds(app?, days)— developer proceeds by currency, same two-window comparison.revenuecat_projects()— list the RevenueCat project ids your key can read.subscribers(project, days)— active subscriptions, trials, MRR and 28-day revenue now, plus active subscriptions at the end of each window.events(project, names?, days)— PostHog event counts via HogQL, limited tonamesor otherwise the top 50, same two windows.daysruns 1–30; windows are whole days ending yesterday (Apple days Pacific, PostHog UTC), and missing Apple reports are listed underdays_without_report.Missing keys produce an error naming the setting rather than a guess; nothing is written, and no telemetry or hosted service is involved.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@indie-metrics-mcp How many downloads did I get this week compared to last week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Tool | Answers |
| First-time downloads, last |
| Developer proceeds by currency, same two windows |
| Your RevenueCat project ids |
| Active subscriptions, trials, MRR and 28-day revenue now; active subscriptions at the end of each window |
| 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.
Related MCP server: mcp-marketing-analytics
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-mcpThis 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)
Install Python 3.10 or newer.
git clonethis repository andcdinto it.python3 -m venv .venv && .venv/bin/pip install .App Store Connect: in Users and Access, Integrations, create a key with the Sales role. Download the
.p8file and note the key id, the issuer id and your vendor number (Payments and Financial Reports).RevenueCat: create a v2 secret API key with read-only access to projects, customers and charts.
PostHog: create a personal API key with read access to query. Note your numeric project id.
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" -wprompts 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 optionallyPOSTHOG_HOST(defaulthttps://us.posthog.com; usehttps://eu.posthog.comfor the EU cloud).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.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.
Available Tools
5 toolsdownloadsA
First-time downloads from App Store Connect Sales and Trends: the last days whole days against the days before.
app filters by title, SKU or Apple id (substring); leave it out for all apps. Days run 1 to 30.
Inputs: app, days.
eventsA
PostHog event counts: the last days whole days against the days before. project is the numeric PostHog
project id; names limits it to those event names, otherwise the top 50 events.
Inputs: project (required), days, names.
proceedsA
Developer proceeds from App Store Connect Sales and Trends, by currency: the last days against the days before.
app filters by title, SKU or Apple id (substring); leave it out for all apps. Days run 1 to 30.
Inputs: app, days.
revenuecat_projectsA
The RevenueCat projects this key can read (id and name). Use an id with subscribers.
Inputs: no named parameters.
subscribersB
RevenueCat active subscriptions, trials, MRR and 28-day revenue now, plus active subscriptions at the end of this
window against the end of the previous one. project is a RevenueCat project id.
Inputs: project (required), days.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct metric/data source: App Store downloads, App Store proceeds, RevenueCat subscriptions, RevenueCat project listing, and PostHog events. The only mild overlap is downloads vs proceeds, which share the same parameter shape and source, but the descriptions make the metric difference explicit. revenuecat_projects is clearly a helper for subscribers, which is stated in both descriptions.
All names are lowercase snake_case nouns, which is consistent and readable. The minor deviation is that one tool carries a vendor prefix (revenuecat_projects) while the sibling RevenueCat tool (subscribers) and the other source-specific tools (downloads, proceeds, events) do not, so the source-to-name mapping is slightly uneven.
Five tools is well-scoped for a compact cross-source metrics server: one per metric plus a project-discovery helper. No redundant or trivial tools, and each has a clear job.
Coverage spans three sources but is thin within each: App Store lacks ratings/reviews/refunds, RevenueCat lacks a revenue breakdown or churn detail beyond the summary, and PostHog has only event counts. A notable asymmetry is that RevenueCat has a project-discovery tool (revenuecat_projects) but PostHog's events requires a numeric project id with no tool to list PostHog projects, creating a dead end for agents that don't already know the id.
Maintenance
Related MCP Connectors
GA4, Google Ads and Search Console in Claude. Read-only OAuth, multi-account for agencies.
Run Apple Search Ads from Claude: performance, recommendations, keywords, budgets, launches.
Read-only Google Ads, GA4 and Search Console data for Claude, with no Google Cloud setup.
Connect your ads, shop, analytics, social, CRM and finance platforms once, then let Claude, ChatGPT, Cursor or any MCP client read, join and explain your numbers. Public statistics from the World Bank, IMF, Eurostat, OECD, WHO and SEC filings come as context, searchable and chartable from the same tools. Read-only by design, every number carries its source.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides statistical analysis and usage tracking for Claude Code, enabling users to query daily/monthly stats, compare users, analyze trends, detect anomalies, and generate usage reports through natural language.1-
- FlicenseAqualityDmaintenanceEnables natural language querying of Google Analytics 4, Google Search Console, Meta Ads, and Google Ads data through Claude.23-
- AlicenseNot gradedqualityBmaintenanceEnables querying and analyzing marketing data from Google Analytics 4, Search Console, YouTube, and optionally Google Ads and Meta Ads, stored in a unified DuckDB database, via natural language in Claude.1MIT
- AlicenseAqualityDmaintenanceMCP server for Claude Desktop that exposes App Store Connect and RevenueCat APIs, enabling indie iOS developers to query portfolio metrics, sales reports, subscriptions, and customer reviews directly in chat.17MIT