@alvaromurillo/appstore-reviews
v1.0.6
Published
CLI tool to fetch App Store reviews
Downloads
39
Maintainers
Readme
App Store Reviews CLI
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-reviewsLocal Installation (Library)
npm install @alvaromurillo/appstore-reviewsDevelopment
git clone https://github.com/your-username/app-store-reviews
cd app-store-reviews
npm install
npm run buildUsage
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 reviewsCLI Usage (npx)
# Run without installing globally
npx appstore-reviews <APP_ID>
npx appstore-reviews <APP_ID> -c es -l 25CLI 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 usageParameters
<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 100JSON 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)
Install globally:
npm install -g @alvaromurillo/appstore-reviewsAdd 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
Start the MCP server:
npm run mcp # or directly node dist/index.js mcpAdd 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
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes and add tests
- Build the project:
npm run build - Submit a pull request
License
MIT License - see LICENSE file for details.
