Apple App Store Revenue MCP Server

Apple App Store Revenue MCP Server

Fetches revenue and download data for Apple App Store apps using the Sensor Tower API.

Category
Visit Server

README

Apple App Store Revenue MCP Server

An MCP (Model Context Protocol) server that fetches revenue and download data for Apple App Store apps using the Sensor Tower API.

Features

  • šŸ“Š Fetch last month's revenue and download estimates for iOS apps
  • šŸ’¾ Persistent file-based cache with 30-day expiration
  • ⚔ Batch requests for multiple app IDs
  • šŸ›”ļø Graceful handling of rate limits (429 errors)
  • šŸ“ˆ Returns app metadata including ratings, version, and bundle ID

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/sensortower-mcp.git
cd sensortower-mcp
  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build

Usage

Running the Server

Start the MCP server:

npm start

For development with auto-rebuild:

npm run dev

Available Tools

fetch-app-revenue

Fetches revenue data for one or more Apple App Store apps.

Input:

  • app_ids: Array of iOS app IDs (strings)

Output: Returns a JSON object containing:

  • Revenue and download data for each app
  • Cache statistics
  • Timestamp of the request

Example Request:

{
  "app_ids": ["1514586439", "1570844427"]
}

Example Response:

{
  "results": {
    "1514586439": {
      "source": "api",
      "app_name": "SmoothSwing",
      "publisher": "Thomas Turnbull",
      "last_month_revenue": "$20k",
      "last_month_downloads": "60k",
      "bundle_id": "com.Smooth-Swing.Golf-GPS-Smooth-Swing",
      "version": "3.1.0",
      "rating": 4.85152,
      "last_updated": "2023-05-08T00:00:00Z"
    },
    "1570844427": {
      "source": "cache",
      "app_name": "Ace Trace - Shot Tracker",
      "publisher": "Ivkin LLC",
      "last_month_revenue": "$20k",
      "last_month_downloads": "10k",
      "bundle_id": "org.acetrace",
      "version": "8.10",
      "rating": 4.41791,
      "last_updated": "2025-07-08T00:00:00Z"
    }
  },
  "cache_stats": {
    "totalEntries": 2,
    "validEntries": 2
  },
  "timestamp": "2025-07-09T12:00:00.000Z"
}

Integration with Claude Desktop

To use this MCP server with Claude Desktop, add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "appstore-revenue": {
      "command": "node",
      "args": ["/path/to/sensortower-mcp/dist/index.js"],
      "description": "Fetch Apple App Store revenue data"
    }
  }
}

Cache Management

The server maintains a cache in the .cache directory to minimize API requests:

  • Cache entries expire after 30 days
  • Cache is automatically created on first run
  • Invalid or expired entries are automatically removed

Error Handling

  • Rate Limiting (429): The server will return an error message if rate limited by Sensor Tower
  • Invalid App IDs: Returns an error for each app ID not found
  • Network Errors: Gracefully handles connection issues

Project Structure

sensortower-mcp/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts              # Server entry point
│   ā”œā”€ā”€ appstore-revenue.ts   # Tool registration
│   ā”œā”€ā”€ api-client.ts         # Sensor Tower API client
│   ā”œā”€ā”€ cache.ts              # Cache implementation
│   └── types.ts              # TypeScript interfaces
ā”œā”€ā”€ dist/                     # Compiled JavaScript
ā”œā”€ā”€ .cache/                   # Cache storage
ā”œā”€ā”€ package.json
ā”œā”€ā”€ tsconfig.json
└── README.md

Notes

  • No API key is required for Sensor Tower API access
  • The server fetches data for iOS apps only
  • Revenue and download numbers are estimates provided by Sensor Tower

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured