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

@alvaromurillo/appstore-reviews

v1.0.6

Published

CLI tool to fetch App Store reviews

Downloads

39

Readme

App Store Reviews CLI

npm version License: MIT

Command-line tool and MCP server to fetch App Store reviews for any iOS application. Works both as a standalone CLI tool and as a Model Context Protocol server for AI assistants.

Installation

Global Installation (CLI)

npm install -g @alvaromurillo/appstore-reviews

Local Installation (Library)

npm install @alvaromurillo/appstore-reviews

Development

git clone https://github.com/your-username/app-store-reviews
cd app-store-reviews
npm install
npm run build

Usage

CLI Usage (Global Installation)

# Basic usage
app-store-reviews <APP_ID>                           # Reviews to console (US store)
app-store-reviews <APP_ID> -c es                     # Reviews from Spain
app-store-reviews <APP_ID> -c mx -o reviews.json     # Save to JSON file
app-store-reviews <APP_ID> -l 50                     # Limit to 50 reviews

CLI Usage (npx)

# Run without installing globally
npx appstore-reviews <APP_ID>
npx appstore-reviews <APP_ID> -c es -l 25

CLI Usage (Development)

# After cloning and building
npm start <APP_ID>                                   # Reviews to console
npm start <APP_ID> -- -c es                          # Reviews from Spain
node dist/index.js <APP_ID> -c mx -o reviews.json    # Direct usage

Parameters

  • <APP_ID>: Numeric App Store app ID (required)
  • -c, --country <country>: Country code (e.g., us, es, mx, gb). Default: us
  • -o, --output <file>: Save results to JSON file
  • -l, --limit <number>: Maximum number of reviews. Default: 100
  • -s, --sort <order>: Sort order: mostrecent, mosthelpful. Default: mostrecent

Examples

# WhatsApp reviews from Spain
app-store-reviews 310633997 -c es

# Instagram reviews saved to file
app-store-reviews 389801252 -o instagram_reviews.json

# 25 most recent TikTok reviews from Mexico
app-store-reviews 835599320 -c mx -l 25

# Most helpful Instagram reviews
app-store-reviews 389801252 -s mosthelpful

# Most helpful WhatsApp reviews from Spain, save to file
app-store-reviews 310633997 -c es -s mosthelpful -o helpful_reviews.json

# Using npx (no global installation needed)
npx appstore-reviews 544007664 -c us -l 100

JSON Output Structure

{
  "appId": "310633997",
  "country": "es",
  "sortBy": "mostrecent",
  "totalReviews": 50,
  "pagesChecked": 1,
  "reviews": [
    {
      "id": "...",
      "title": "Review title",
      "content": "Review content",
      "rating": 5,
      "author": "Username",
      "version": "2.23.24",
      "date": "2024-01-15T10:30:00Z",
      "country": "es"
    }
  ]
}

Features

  • Pagination Support: Automatically fetches multiple pages (up to 500 reviews)
  • Country Support: Reviews from any App Store country
  • Sorting Options: Most recent or most helpful reviews
  • Output Formats: Console output or JSON file
  • Rate Limiting: Respectful API usage with delays between requests

App ID Examples

  • WhatsApp: 310633997
  • Instagram: 389801252
  • TikTok: 835599320
  • YouTube: 544007664

Find any App Store app ID by looking at the URL on the App Store website.

MCP Server

This tool can also be used as an MCP (Model Context Protocol) server, allowing AI assistants like Claude to fetch and analyze App Store reviews directly.

MCP Setup

Option 1: Using Published Package (Recommended)

  1. Install globally:

    npm install -g @alvaromurillo/appstore-reviews
  2. Add to Claude Desktop config: Add this to your Claude Desktop claude_desktop_config.json:

    {
      "mcpServers": {
        "app-store-reviews": {
          "command": "appstore-reviews",
          "args": ["mcp"]
        }
      }
    }

Option 2: Development Setup

  1. Start the MCP server:

    npm run mcp
    # or directly
    node dist/index.js mcp
  2. Add to Claude Desktop config:

    {
      "mcpServers": {
        "app-store-reviews": {
          "command": "node",
          "args": ["/absolute/path/to/app-store-reviews/dist/index.js", "mcp"]
        }
      }
    }

MCP Features

  • Tool: fetchAppStoreReviews - Fetch reviews with parameters (appId, country, limit, sort)
  • Resource: app-reviews://{appId}/{country} - Access reviews as structured data
  • Prompts: Pre-built prompts for review analysis, summaries, and comparisons

MCP Usage Examples

Once configured, you can ask Claude:

  • "Analyze the reviews for WhatsApp (310633997) from Spain"
  • "Compare Instagram reviews between US and Mexico"
  • "Summarize the latest TikTok reviews and identify common complaints"

The MCP server provides structured access to App Store review data for AI-powered analysis and insights.

Package Information

  • Package: @alvaromurillo/appstore-reviews
  • Version: 1.0.6
  • License: MIT
  • TypeScript: Full TypeScript support with declaration files
  • Node.js: Requires Node.js 16+ (ES modules)

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes and add tests
  4. Build the project: npm run build
  5. Submit a pull request

License

MIT License - see LICENSE file for details.