@sonarapp/mcp
Official@sonarapp/mcp is a Model Context Protocol server that provides App Store Optimization (ASO) tools for AI agents, connecting them to the Sonar platform for app research, keyword tracking, workspace management, and screenshot creation across iOS and Android stores.
Stateless Research Tools (any plan with credits):
App Lookup — Fetch metadata (name, developer, category, rating, price, installs) for any app by store ID
App Search — Search the App Store or Google Play by keyword
ASO Audit — Get a 0–100 optimization score with itemized checks (title length, keyword usage, screenshots, ratings, etc.)
Keyword Extraction — Extract target keywords from any app's listing, ranked by relevance
Review Mining — Fetch up to 200 reviews with star-rating filters and sort options
Revenue Estimation — Estimate monthly revenue with confidence grade and methodology
Keyword Research — Get difficulty, popularity, result counts, and related terms for any keyword
Keyword Metrics — Bulk-fetch difficulty + popularity for up to 25 specific keywords
Keyword Suggestions — Get autocomplete suggestions from the store for a seed keyword
Workspace Read Tools (Full plan required):
List tracked apps with latest snapshots and up to 90 days of daily snapshot history
List tracked keywords with difficulty, popularity, notes, and starred status
Daily keyword rank history (up to 365 days) and SERP history for tracked keywords
Detected app changes (releases, metadata edits, screenshot swaps, price/category changes)
Competitor keyword gap analysis vs. your own app
List products, alert subscriptions, and screenshot sets
Workspace Write Tools (Full plan + write-scope API key):
Create products and start tracking iOS/Android apps; link second-store versions
Add competitor apps; run full keyword discovery scans on competitors
Start daily rank tracking for up to 200 keywords (idempotent); update notes; star/unstar keywords
Untrack keywords (single or bulk), apps, competitors, and delete products
Create, update, and delete alert subscriptions (rank drops, review spikes, competitor changes, etc.)
Screenshot Studio Tools (Full plan + write-scope API key):
Fetch layout guide (JSON schema) and supported device canvas dimensions
List, create, get, update, and delete screenshot sets per product and store
Add, update, and delete individual screens within a set
Set locale-specific text and image translation overrides for screenshot localization
Supports querying app metadata, reviews, rankings, and keyword performance specifically for the iOS App Store.
Supports querying app metadata, reviews, rankings, and keyword performance specifically for Google Play.
Provides tools for App Store Optimization including app lookup, keyword research, ASO audit, review mining, and revenue estimation, powered by the Sonar API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@sonarapp/mcpSearch for 'meditation' apps on iOS and list top 3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@sonarapp/mcp
The official Sonar MCP server — App Store Optimization tools for AI agents.
Lets Claude Desktop, Claude Code, Cursor, Cline, and any Model Context Protocol-compatible client look up apps, research keywords, audit ASO, mine reviews, and estimate revenue across the iOS App Store and Google Play. Powered by Sonar.
Tools
Read tools — stateless
Tool | What it does |
| Look up app metadata by store ID |
| Search apps by keyword (returns store ranking order) |
| ASO audit score (0-100) with itemized checks |
| Extract target keywords from an app's listing |
| Fetch reviews with rating filters and sort options |
| Estimate monthly revenue with methodology |
| Keyword research (difficulty, popularity, related terms) |
| Difficulty + popularity for specific keywords (single or bulk) |
| Autocomplete suggestions from the store |
Stateless tools work on any plan with credits, with both iOS and Android.
Read tools — your workspace (Full plan)
Tool | What it does |
| List your tracked apps with latest snapshots (rating, reviews, installs) |
| App detail + up to 90 days of snapshot history |
| Keywords tracked for an app, with difficulty + popularity |
| Daily rank history for an app's tracked keywords |
| Detected releases, metadata edits, screenshot/price/category changes |
| SERP history for a tracked keyword (who ranked, when) |
| Keywords a competitor ranks for + gap analysis vs your app |
Workspace reads require a Full plan (an active trial counts); the default read-scope key is enough.
Write tools (Full plan + write scope)
Tool | What it does |
| Create a product in your Sonar workspace and start tracking its app(s) |
| Link the second-store version (iOS ↔ Android) of an existing product |
| Add a competitor app under a product |
| Start daily rank tracking for keywords on an app (bulk, idempotent) |
| Set or clear the note on a tracked keyword |
| Run a keyword discovery scan on a competitor (read results with |
Write tools mutate your workspace and require a Full plan (an active trial counts) plus an API key created with the write scope. The server enforces both — without them, calls return a 403 explaining what to fix.
Together these close the loop for agents: set up tracking with the write tools, then read back rankings, changes, and gap analyses with the workspace tools.
Related MCP server: Store Scraper MCP
Get an API key
You'll need a Sonar API key — get one at trysonar.app/developers.
The cheapest path is prepaid API credits — packs from $10 (1,000 credits), with 50 free credits on signup and no subscription. Built specifically for this use case. See pricing.
Install
Claude Desktop
Add to your config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"sonar": {
"command": "npx",
"args": ["-y", "@sonarapp/mcp"],
"env": {
"SONAR_API_KEY": "aso_your_key_here"
}
}
}
}Restart Claude Desktop. The sonar_* tools will appear in the tool picker.
Claude Code
claude mcp add sonar -e SONAR_API_KEY=aso_your_key_here -- npx -y @sonarapp/mcpCursor
Add to ~/.cursor/mcp.json (or your project's .cursor/mcp.json):
{
"mcpServers": {
"sonar": {
"command": "npx",
"args": ["-y", "@sonarapp/mcp"],
"env": {
"SONAR_API_KEY": "aso_your_key_here"
}
}
}
}Cline / other MCP clients
Most clients use the same command + args + env shape as above. Point the command at npx -y @sonarapp/mcp and pass SONAR_API_KEY in the env.
Configuration
Variable | Required | Default | Description |
| yes | — | Your Sonar API key ( |
| no |
| Override the API base URL (only used for self-hosting / staging) |
Example prompts
"Use Sonar to look up Spotify on iOS in the US store and report its rating, review count, and category."
"Run an ASO audit on
com.duolingoon Android and tell me what to fix."
"Research the keyword 'habit tracker' on iOS — give me difficulty, popularity, and 5 related terms with lower difficulty I should consider."
"Pull the 50 most recent 1- and 2-star reviews of
1517783697on iOS US and group complaints by theme."
"Search 'meditation' on the App Store and estimate monthly revenue for the top 5 results."
Privacy & data flow
The MCP server is a thin client around Sonar's REST API. Your API key is sent as a Bearer token over HTTPS. Tool inputs and the resulting JSON are passed to your AI client; no data is logged by this package itself.
Troubleshooting
"SONAR_API_KEY is not set" — The MCP client did not pass the env var through. Check the env section of your client's config file. Some clients require an absolute path to npx — try which npx and use that.
"Authentication failed" — Your key is invalid, expired, or your subscription lapsed. Visit trysonar.app/developers to check.
"Access denied. Endpoint may require Full plan" — The 9 stateless read tools work on any plan with credits. The workspace read tools and write tools require a Full plan (an active trial counts); write tools additionally need an API key created with the write scope. If you're on a setup or trial-expired plan, reactivate first.
Companion: CLI
Prefer the terminal? Use @sonarapp/cli (sonar binary) — same data, same API key.
License
MIT © Peter Sutarik
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trysonar/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server