npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@feedmob/sensor-tower-reporting

v0.1.5

Published

MCP server for sensor-tower API

Readme

Sensor Tower Reporting MCP Server

This MCP server provides tools to interact with the Sensor Tower API for mobile app intelligence and market data.

Features

Setup

  1. Install dependencies:

    npm install
  2. Configure environment variables: Create a .env file with the following variables:

    AUTH_TOKEN=your_sensor_tower_auth_token
    SENSOR_TOWER_BASE_URL=https://api.sensortower.com
  3. Build the server:

    npm run build

Running the Server

To run the server directly for testing:

npm start

For development with hot reload:

npm run dev

Usage with Claude Desktop

  1. Make sure you have installed and updated to the latest version of Claude for Desktop.
  2. Open the Claude for Desktop configuration file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the Sensor Tower Reporting MCP server to the configuration:

NPX

{
  "mcpServers": {
    "sensor-tower-reporting": {
      "command": "npx",
      "args": ["-y", "@feedmob/sensor-tower-reporting"],
      "env": {
        "AUTH_TOKEN": "your_sensor_tower_auth_token",
        "SENSOR_TOWER_BASE_URL": "https://api.sensortower.com"
      }
    }
  }
}

Local Development

{
  "mcpServers": {
    "sensor-tower-reporting": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/sensor-tower-reporting",
      "env": {
        "AUTH_TOKEN": "your_sensor_tower_auth_token",
        "SENSOR_TOWER_BASE_URL": "https://api.sensortower.com"
      }
    }
  }
}

API Reference

App Metadata

  • Platform Support: iOS, Android
  • Limits: Maximum 100 app IDs per request
  • Returns: App name, publisher, categories, description, screenshots, ratings

Sales & Revenue Data

  • Compact Sales Report: Download and revenue estimates with flexible filtering
  • Revenue Format: All revenues returned in cents
  • Filtering: By app IDs, publisher IDs, unified IDs, or categories

User Analytics

  • Active Users: DAU/WAU/MAU estimates by country and time period
  • Retention: Day 1 to day 90 retention rates with baseline comparison
  • Limits: Maximum 500 app IDs for active users and retention

Ranking & Category Data

  • Category History: Detailed ranking history by category and chart type
  • Category Summary: Current ranking summary for specific apps
  • Hourly Rankings: Available for iOS apps

Advertising Intelligence

  • Network Analysis: Share of voice (SOV) for advertising networks
  • Network Rankings: Ranking data across countries and networks
  • Downloads by Sources: Organic vs paid download attribution

Market Research

  • Find Apps by Metric Threshold: Discover apps exceeding a download or revenue threshold in a given time range, category, and geography. OS defaults to iOS when not specified.

Error Handling

The server includes comprehensive error handling with specific error types:

Environment Variables

| Variable | Required | Description | Default | |----------|----------|-------------|---------| | AUTH_TOKEN | Yes | Sensor Tower API authentication token | - | | SENSOR_TOWER_BASE_URL | No | Sensor Tower API base URL | https://api.sensortower.com |

Development

Scripts

  • npm run build: Compile TypeScript and make executables
  • npm run watch: Watch mode for development
  • npm run prepare: Prepare package for publishing

Testing

Use the MCP inspector for manual testing:

npm run inspect

License

MIT