sensortower-mcp
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., "@sensortower-mcp estimate last month's downloads and revenue for Duolingo on iOS"
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.
sensortower-mcp
An MCP server for the SensorTower APIs: app download and revenue estimates, store leaderboards, App Store featuring and ASO, reviews, Apple Search Ads, and audience insights. 29 tools over ~76 endpoints, with the API's unit, shape and error quirks already handled.
You need a SensorTower API key. What each tool can return depends on what your organisation's subscription covers.
Quick start
Requires Node.js 22 or newer.
npx -y sensortower-mcp --helpThen register it with your MCP client, passing the key through the client's
env block.
Claude Code
claude mcp add sensortower -e SENSORTOWER_API_KEY=your-key -- npx -y sensortower-mcpOr check a project-scoped .mcp.json into your repo and keep the key in your
shell environment. Claude Code expands ${VAR} in this file:
{
"mcpServers": {
"sensortower": {
"command": "npx",
"args": ["-y", "sensortower-mcp"],
"env": { "SENSORTOWER_API_KEY": "${SENSORTOWER_API_KEY}" }
}
}
}Claude Desktop
In claude_desktop_config.json:
{
"mcpServers": {
"sensortower": {
"command": "npx",
"args": ["-y", "sensortower-mcp"],
"env": { "SENSORTOWER_API_KEY": "your-key" }
}
}
}Cursor
In ~/.cursor/mcp.json (global) or .cursor/mcp.json (project), using the
same mcpServers block as Claude Desktop.
VS Code
In .vscode/mcp.json. VS Code asks for the key once and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "sensortower-key", "description": "SensorTower API key", "password": true }
],
"servers": {
"sensortower": {
"type": "stdio",
"command": "npx",
"args": ["-y", "sensortower-mcp"],
"env": { "SENSORTOWER_API_KEY": "${input:sensortower-key}" }
}
}
}Related MCP server: @sonarapp/mcp
The API key
Read from, in order:
SENSORTOWER_API_KEYin the environment. This is how an MCP client should supply it (see Quick start).--env-file <path>: a dotenv-style file that definesSENSORTOWER_API_KEY, e.g."args": ["-y", "sensortower-mcp", "--env-file", "/abs/path/.env"]. The file must exist: Node.js itself intercepts--env-fileand exits withnode: <path>: not foundwhen it does not.A
.envfile found by walking up from the working directory, stopping at the first directory that contains.git. The working directory is whatever the MCP client launches the server in, which is often not your project, so prefer option 1.
There is deliberately no flag or tool argument that takes the key.
SensorTower sends it as a URL query parameter, so anything in argv would
leak into ps output and shell history. Every URL this server emits — including
inside error messages — has the token replaced with <TOKEN>.
If the key is missing the server still starts and still lists its tools; the error surfaces on the first call, where it is readable.
Two things worth knowing before you spend anything
Quota is charged per HTTP request, not per row, against a shared monthly
organisation limit. One request covering three months costs exactly what one
covering a single day costs. Widen date ranges, batch app_ids (100 per
request), and do not loop.
sensortower_api_usage is free, and is the only endpoint that genuinely
validates the key — /v1/{os}/apps returns 200 with full metadata even for a
garbage token, so a revoked key looks healthy there and fails everywhere else.
Every tool accepts dry_run: true, which prints the exact URL it would call and
charges nothing.
Tools
Tool | What it answers |
| How much quota is left (free) |
| Valid category ids, chart types, networks, review tags, segment formats (offline) |
| Any endpoint without a dedicated tool |
| Name, publisher, rating, and the unified_app_id other tools need |
| Downloads and revenue over time |
| DAU / WAU / MAU |
| Current category ranks, or a rank history |
| Releases, or store-listing changes |
| Age and gender of an app's users |
| Top IAP SKUs (iOS) |
| What else this app's users use |
| Retention curves |
| The store top chart for a category |
| Leaderboard by downloads, revenue or active users |
| Leaderboard by publisher |
| Category-wide totals (or game genres) |
| Market totals sliced by any dimension |
| Ad share of voice, or one app's ad rank |
| The most-seen ad creatives |
| Apple "Today" stories, or a category's featured apps |
| One app's featuring history and download impact |
| Who ranks for a term, or what terms an app ranks for |
| Keyword rank and traffic over time |
| Individual reviews with sentiment and tags |
| Star ratings over time |
| Review counts by rating, sentiment or tag |
| Apple Search Ads share of voice |
| Age and gender of an audience segment |
| What a segment is into: personas, channels, brands, apps |
What the server normalises for you
The raw API is inconsistent in ways that are easy to get wrong and expensive to get wrong twice:
Revenue is in cents everywhere. Converted, and renamed
*_usd.sales_report_estimatesreturns three different key sets depending onos(iOSiu/ir/au/arwith country incc; Androidu/rwith country inc; unified spelled out). All three collapse toapp_id / country / date / downloads / revenue_usd.custom_tagsis 213 keys and ~94% of every leaderboard row. Dropped unlesskeep_custom_tags: true.Artwork URLs are 75–85% of a featured payload (~1 MB per category-week). Dropped unless
keep_artwork: true.Leaderboards arrive ordered but unnumbered, and carry only ids. Rank numbers and app names are added.
featured/impacts*_seriesarrays carry no dates — index 0 isstart_date, one element per day.series: truezips them onto real dates.version_historyreturns a dict keyed by"YYYY-MM-DD HH:MM:SS UTC", andapp_update_historyreturns[date, {mostly nulls}]pairs. Both flattened.Results are capped at 60 KB with a note telling the caller to narrow the query, because tool output lands directly in a model's context window.
Errors are made actionable, not swallowed
A failing call returns isError with the redacted URL and, where the failure
mode is a known trap, a hint:
422 Bundle unsupported bundle: retention→ the OpenAPI contract's/v1/facets/metrics?suffixpath keys are not bundle values; useretention_monthly.401 ... is not authorized for the user→ a subscription limit, not a bad key. Do not retry.404with an HTML body → the path is wrong; several endpoints are iOS-only.422 App not found.→ likely a store id sent to a unified endpoint.
A 422 body enumerates the valid values for whatever you got wrong, and is more authoritative than the OpenAPI contract. It is passed through verbatim.
Development
git clone https://github.com/mike-computer/sensortower_mcp.git
cd sensortower_mcp
npm install # also builds dist/ via `prepare`
npm test # build + unit, integration and stdio tests
npm run test:coverage # same, with an 80% line-coverage floor
npm run inspector # poke at the tools in the MCP InspectorThe test suite needs no API key and spends no quota: fetch is mocked, and the
stdio tests run with no key at all. It covers every tool's exact request URL
(a dry-run table that fails if a tool has no case), normalisation against
API-shaped fixtures, retry and error-hint behaviour, key lookup order, and a
check that the key never appears in any tool output.
test/live.mjs is an opt-in check against the real API. It calls only
sensortower_api_usage, which is free:
ST_LIVE=1 SENSORTOWER_API_KEY=your-key node test/live.mjsReleasing
npm version patch # or minor / major; also syncs server.json
git push --follow-tagsPushing the v* tag runs .github/workflows/release.yml. It publishes to npm
through Trusted Publishing, with provenance, and then publishes server.json
to the MCP Registry.
License
MIT. This is an unofficial project. It is not affiliated with or endorsed by Sensor Tower Inc. "SensorTower" is used only to describe the API this server talks to.
Available Tools
29 toolssensortower_api_usageSensorTower API quotaARead-only
Monthly request quota for your user and organisation. This call is FREE and is the only endpoint that genuinely validates the API key -- /v1/{os}/apps returns 200 with full metadata even for a garbage token, so a revoked key looks healthy there and fails everywhere else. Call this first when anything returns 401.
Inputs: format, dry_run.
sensortower_app_active_usersDAU / WAU / MAUBRead-only
Active-user estimates for one or more apps over a date range.
Inputs: app_ids (required), end_date (required), start_date (required), os, +6 more.
sensortower_app_demographicsApp audience age and genderARead-only
Age and gender split of an app's users, with a category baseline for comparison. This is the App Analysis version and is generally licensed; the Audience Insights equivalent is a separate subscription.
Inputs: app_ids (required), start_date (required), os, limit, +7 more.
sensortower_app_estimatesDownloads and revenue estimatesARead-only
Download and revenue estimates per app, country and period. The three per-OS key sets (iOS iu/ir/au/ar, Android u/r, unified spelled out) are collapsed into app_id/country/date/downloads/revenue_usd, and revenue is converted from CENTS to USD. Widen the date range rather than looping: one request covering three months costs exactly what one covering a day costs.
Inputs: app_ids (required), end_date (required), start_date (required), os, +7 more.
sensortower_app_in_app_purchasesTop in-app purchases (iOS only)ARead-only
The top IAP SKUs for an app, with price and duration. iOS only -- there is no Android path for this endpoint.
Inputs: app_ids (required), limit, fields, format, +2 more.
sensortower_app_metadataApp metadataARead-only
Name, publisher, categories, rating, version and -- critically -- the 24-hex unified_app_id that every unified endpoint (overlap, audience insights) requires. Batches up to 100 ids per request. Two traps: this endpoint does NOT validate the API key (a garbage token still returns 200), and an unknown id returns an empty list rather than an error.
Inputs: app_ids (required), os, full, limit, +4 more.
sensortower_app_overlapCross-app audience overlapARead-only
Which other apps this app's users also use. Takes a 24-hex unified_app_id ONLY -- a store id returns an empty 200 and still costs a request. Get the unified id from sensortower_app_metadata. The API returns opaque ids; names are resolved for you (one extra request per 100 results).
Inputs: app_id (required), end_date (required), start_date (required), limit, +6 more.
sensortower_app_rankStore category rankARead-only
mode=current gives every category rank an app holds right now (one app id). mode=history gives the daily rank series for a specific category and chart type (needs category + chart_type_ids; get valid values from sensortower_reference). An unknown app id returns 422 'App not found.' here, unlike sensortower_app_metadata.
Inputs: app_ids (required), os, mode, limit, +8 more.
sensortower_app_retentionRetention curvesARead-only
Cohort retention over daily, weekly or monthly buckets, via /v1/facets/metrics. Note that plain retention is not a valid bundle -- it must be retention_daily, retention_weekly or retention_monthly.
Inputs: app_ids (required), end_date (required), start_date (required), limit, +7 more.
sensortower_app_version_historyVersion and store-listing historyARead-only
mode=versions lists app version releases (the API returns a dict keyed by "YYYY-MM-DD HH:MM:SS UTC"; it is flattened here into dated rows, newest first). mode=store_listing lists which store-listing fields changed on which date (the API returns [date, {mostly nulls}] pairs; only the non-null fields are kept).
Inputs: app_id (required), os, full, mode, +6 more.
sensortower_audience_affinityWhat an audience is intoARead-only
Affinity of one audience segment for personas, social ad channels, ad categories, advertisers (brands), app categories or other apps. Pick the dimension and this maps it to a valid metric/breakdown pair. MOST OF THESE ARE LICENSED SEPARATELY: a 401 saying 'not authorized for the user' means your subscription does not cover that metric, not that the key is bad -- do not retry, pick another dimension. Note also that breakdown validation runs BEFORE the authorization check, so a 422 tells you nothing about entitlement.
Inputs: end_date (required), dimension (required), segment_id (required), start_date (required), +9 more.
sensortower_audience_demographicsAudience age and genderARead-only
The age/gender grid for an audience segment (metric=est_audience_demographic_share, breakdown=age,gender). Shares over the whole segment sum to 1.0. The optional age and gender filters SUBSET WITHOUT RENORMALISING -- filtered rows keep the same values they had in the full grid, so they will not sum to 1. Age values in the response are bucket starts: 18=18-24, 25=25-34, 35=35-44, 45=45-54, 55=55+.
Inputs: end_date (required), segment_id (required), start_date (required), age, +7 more.
sensortower_featuredApple App Store featuringARead-only
scope=today returns the Apple "Today" tab stories (newest first). scope=category returns the apps featured in one category's sections. Both are iOS only -- there is no /v1/android/featured/... path, it returns an HTML 404. A category-week is roughly 1 MB before artwork URLs are stripped, so keep the date range short.
Inputs: limit, scope, fields, format, +6 more.
sensortower_featured_historyOne app's featuring history and impactARead-only
mode=creatives lists every featuring the app received, with position and download attribution. mode=impacts aggregates occurrences and downloads by country or type; its *_series arrays carry NO dates (index 0 is start_date, one element per day), so set series=true to have them zipped back onto real dates. Invalid filters here return a 200 with empty arrays rather than a 422, so an empty result may just mean a bad filter.
Inputs: app_id (required), os, mode, limit, +10 more.
sensortower_keyword_historyKeyword rank and traffic over timeCRead-only
mode=timeseries gives one metric per keyword per day (this path takes metric=, NOT bundle=). mode=rank_overview gives how many of an app's keywords sit in each rank bin (1, 2-3, 4-5, 6-10, ...).
Inputs: app_ids (required), end_date (required), keywords (required), start_date (required), +9 more.
sensortower_keywordsASO keyword researchARead-only
by=keyword answers 'which apps rank for this term' (bundle=aso_keyword_research). by=app answers 'which terms does this app rank for' (bundle=aso_top_keywords) -- that bundle defaults to ALPHABETICAL order, so this tool always sends order_by=est_keyword_downloads:desc unless you override it.
Inputs: by, os, limit, fields, +10 more.
sensortower_market_sizeMarket size by dimensionARead-only
Market-wide totals sliced by a dimension -- category, region, device, game genre, art style, and so on. metric=store gives downloads and revenue (bundle=mobile_store_estimates), metric=usage gives active users and time spent (bundle=mobile_usage_estimates). Any breakdown ending in ,date needs date_granularity.
Inputs: end_date (required), start_date (required), os, limit, +10 more.
sensortower_ratingsStar ratings over timeCRead-only
Rating counts and averages. bundle=ratings_incremental gives per-period new ratings; ratings_cumulative gives the running total. Plain ratings is NOT a valid bundle.
Inputs: app_ids (required), end_date (required), start_date (required), limit, +7 more.
sensortower_raw_getRaw SensorTower GETARead-only
Escape hatch: any SensorTower path with arbitrary query parameters, raw JSON back. Handles auth, token redaction, gzip and retries. Use this for the ~50 endpoints without a dedicated tool -- ad creatives, network analysis, churn, cohort retention, session metrics, SDK data, webstore revenue, downloads-by-source. Do NOT pass auth_token. Deliberately sending a bogus enum value is the cheapest way to discover the valid ones: the 422 body enumerates them.
Inputs: path (required), params, dry_run, keep_artwork.
sensortower_referenceSensorTower vocabularies (offline)ARead-onlyIdempotent
Valid category ids, chart types, ad networks, review tags, sentiments, keyword types, audience segment formats and the metric-to-breakdown table -- plus the mapping from the OpenAPI contract's /v1/facets/metrics?suffix path keys to the real bundle= or metric= parameter. Entirely offline: 0 requests. Read this before guessing an enum; every /api/docs/static/*.json file the contract links to is dead.
Inputs: section.
sensortower_review_breakdownReview counts by rating, sentiment or tagARead-only
Aggregate review counts. by=rating answers 'how do the stars break down', by=sentiment 'how happy are they', by=tag 'what are they complaining about'. Each accepts a plain breakdown or one prefixed with date, region, language or app_version.
Inputs: app_ids (required), end_date (required), start_date (required), by, +8 more.
sensortower_reviewsIndividual user reviewsARead-only
Reviews with rating, sentiment, tags, version and language. The API also returns a parsed_content token dump per review, which is dropped here because it is large and of no use to a reader. Filter with tags/sentiments/rating_filters -- see sensortower_reference for the vocabularies, which the contract does not enumerate.
Inputs: app_id (required), os, page, tags, +11 more.
sensortower_search_adsApple Search Ads share of voiceARead-only
by=term: who is buying ads on a search term. by=app: which terms an app buys, with traffic and share of voice. by=history: one app's daily share of voice on one term (the API returns a dict keyed by app-id string; it is flattened here). iOS only -- Apple Search Ads has no Android equivalent.
Inputs: by, term, limit, app_id, +6 more.
sensortower_store_summaryCategory totalsARead-only
Category-level download and revenue totals over time -- the whole category, not per-app. games=true switches to the games_breakdown endpoint (same shape, game genres instead of store categories). Revenue converted from cents.
Inputs: end_date (required), categories (required), start_date (required), os, +7 more.
sensortower_top_advertisersTop advertisers and ad publishersARead-only
Share-of-voice leaderboard for a network and category. role=advertiser lists who is buying; role=publisher lists who is showing. Supply app_id to look up one app's position instead of the whole board (returns page, rank and sov). Note the network vocabulary is per-endpoint: 'Facebook' is rejected here but valid on network_analysis.
Inputs: date (required), network (required), category (required), os, +10 more.
sensortower_top_appsTop apps by downloads, revenue or active usersARead-only
The estimate-based leaderboard. measure=downloads|revenue queries the sales-estimate leaderboard; measure=dau|wau|mau queries the active-user one. Revenue comes back in CENTS and is converted to *_usd here. The 213-key custom_tags blob -- 94% of each row -- is dropped unless you ask for it. On iOS device_type is de-facto required, so it defaults to iphone.
Inputs: date (required), os, limit, fields, +12 more.
sensortower_top_chartsStore top chartARead-only
The App Store / Google Play top chart for one category, country and date. The API returns bare app ids in rank order with no names and no rank numbers -- both are added here. Get valid category and chart_type values from sensortower_reference; a bad value returns a 422 whose body is PLAIN TEXT listing the valid ones.
Inputs: date (required), category (required), os, limit, +6 more.
sensortower_top_creativesTop ad creativesBRead-only
The most-seen ad creatives for a network and category. Payloads are large and full of asset URLs -- use fields/limit aggressively.
Inputs: date (required), network (required), category (required), os, +8 more.
sensortower_top_publishersTop publishersBRead-only
Publisher-level leaderboard by downloads or revenue. Each row nests an apps[] array, and custom_tags hides inside those nested app records too -- both levels are stripped unless keep_custom_tags is set.
Inputs: date (required), category (required), os, limit, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Each tool maps to a distinct resource+action, and the descriptions explicitly pre-empt the trickiest overlaps (app_demographics vs audience_demographics licensing split, reviews vs ratings vs review_breakdown, app_active_users vs top_apps leaderboards). A few boundaries remain thin (app_retention vs app_active_users, featured vs featured_history) but descriptions make them selectable.
Every tool uses a uniform sensortower_ snake_case prefix followed by a readable noun phrase, with grouping prefixes (app_*, top_*, audience_*, keyword*) that telegraph the resource family. No mixed conventions or ambiguous verbs anywhere.
29 tools is on the heavy side, but the descriptions justify most of them as distinct curated endpoints over a very large analytics API, with sensortower_raw_get explicitly serving the ~50 uncovered endpoints. Still, at nearly 30 dedicated tools it sits above the comfortable range and invites selection errors.
The surface covers apps, estimates, ranks, demographics, retention, IAP, overlap, charts, leaderboards, publishers, store/market aggregates, advertisers/creatives, featured, keywords, reviews/ratings, search ads and audience segments. The raw_get escape hatch plus the offline reference tool close any residual gaps.
Maintenance
Related MCP Connectors
App Store Optimization data for AI agents: keyword ranks, scores, competitors, charts
App Store keyword rankings, competitors, markets, reviews and analytics for iOS apps, from your AI.
Live App Store and Google Play data for AI agents: revenue and download estimates for 3.6M+ apps, app search and filters, ASO keyword research, reviews and listing change history. Read-only tools; API key from GetAppNiche (https://getappniche.com/mcp).
App Store data for agents: app metadata, reviews, chart rankings, prices, in-app purchases.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides live App Store rankings, charts, app details, reviews, and search across 55 countries, enabling AI assistants to query app store data.25 npm1MIT

@sonarapp/mcpofficial
AlicenseAqualityCmaintenanceProvides App Store Optimization tools for AI agents, enabling app lookup, keyword research, ASO audit, review mining, and revenue estimation across iOS and Google Play.4399 npmMIT- AlicenseNot gradedqualityBmaintenanceWraps the 42matters App Market Data API to let AI agents look up app details, search app stores, fetch ranked top charts, and find apps integrating specific SDKs across Android and iOS.288 npmMIT

AppmanAi MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query live App Store and Google Play data — keyword demand, rank history, top charts, competitor sets, reviews and ratings — across 100+ countries, directly inside a chat instead of a dashboard. Exposes 35 read-only tools covering app search, ASO keyword profiling, ranking trajectories, and worldwide market comparisons through a remote OAuth-authenticated endpoint.3MIT