GPlay Reviews MCP Server
by Kirill812
A Model Context Protocol (MCP) server for accessing and analyzing Google Play Store reviews. It allows querying reviews, managing replies, and generating insights on review sentiment and trends.
Last updated: N/A
โญ๏ธ GPlay Reviews MCP Server
A Model Context Protocol (MCP) server for accessing and analyzing Google Play Store reviews. Developed by Kir Gor (2025).
๐ Features
- Rating Filters: Query reviews by star rating, date ranges, and more
- Advanced Search: Find reviews containing specific keywords or phrases
- Reply Management: Post and track replies to user feedback
- Automated Analytics: Generate insights on review sentiment and trends
- Language Support: Filter reviews by language and region
- Device Analytics: Understand user issues by device type and OS version
- Integration Ready: Works seamlessly with Claude and other MCP clients
- Complete Type Safety: Fully typed TypeScript codebase with interfaces
๐ Requirements
- Node.js 18+
- Google Play Developer API credentials
- An MCP client (like Claude AI)
๐ง Installation
Clone the Repository
git clone https://github.com/Kirill812/GPlay_reviews_MCP_server.git
cd GPlay_reviews_MCP_server
Install Dependencies
npm install
Google Play API Setup
- Create a service account in Google Cloud Console
- Enable the Google Play Developer API
- Generate and download your credentials
- Link your service account to your Google Play Developer account
Configuration
- Create a
.env
file based on the example:
cp .env.example .env
- Set the path to your Google Play API credentials in
.env
:
GOOGLE_PLAY_CREDENTIALS_PATH=/path/to/your/credentials.json
LOG_LEVEL=info
STORAGE_DIR=data
USE_MOCK_DATA=false
๐ Usage
Start the Server
# Build the TypeScript code
npm run build
# Start the server
npm start
For development with automatic reloading:
npm run dev
MCP Integration
Add this configuration to your Claude or other MCP client:
{
"mcpServers": {
"GPlay Reviews": {
"command": "node",
"args": ["/path/to/GPlay_reviews_MCP_server/dist/index.js"],
"env": {
"GOOGLE_PLAY_CREDENTIALS_PATH": "/path/to/credentials.json",
"LOG_LEVEL": "info",
"STORAGE_DIR": "data",
"USE_MOCK_DATA": "false"
},
"disabled": false,
"autoApprove": [
"get_reviews",
"search_reviews",
"post_reply"
]
}
}
}
๐ API Documentation
MCP Tools
get_reviews
Retrieves reviews for a specific app with comprehensive filtering options.
// Example: Get 5-star reviews from the last week
{
"appPackage": "com.example.app",
"filter": {
"minRating": 5,
"maxRating": 5,
"startDate": "2025-03-15T00:00:00Z",
"limit": 20
}
}
// Example: Get all 1-star reviews in English
{
"appPackage": "com.example.app",
"filter": {
"minRating": 1,
"maxRating": 1,
"languages": ["en"],
"limit": 50
}
}
search_reviews
Search for reviews containing specific text across all apps or within a specific app.
// Example: Search for reviews mentioning "crash"
{
"query": "crash",
"appPackage": "com.example.app", // Optional
"limit": 20
}
// Example: Find reviews about battery issues
{
"query": "battery drain",
"filter": {
"minRating": 1,
"maxRating": 3
}
}
post_reply
Post a reply to a specific review.
{
"reviewId": "abc123xyz",
"replyText": "Thank you for your feedback! We're looking into this issue and will have a fix in our next update."
}
MCP Resources
googleplay://apps
- List all accessible appsgoogleplay://reviews/{appPackage}
- Get reviews for a specific appgoogleplay://reviews/{appPackage}/{reviewId}
- Get details of a specific reviewgoogleplay://stats/{appPackage}
- Get review statistics for an app
๐งช Development
Project Structure
/
โโโ src/ # Source code
โ โโโ repositories/ # Data access layer
โ โโโ utils/ # Utility functions
โ โโโ types.ts # TypeScript type definitions
โ โโโ index.ts # Server entry point
โโโ data/ # JSON file storage (created at runtime)
โโโ scripts/ # Helper scripts
โโโ tests/ # Test files
โโโ dist/ # Compiled JavaScript (created at build time)
Testing
npm test
Linting
npm run lint
npm run lint:fix
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Author
Created by Kir Gor (2025)
<p align="center">Made with โค๏ธ for the Model Context Protocol ecosystem</p>