SuperAPI AI Directory

mcp

App Store Optimization for iOS and Google Play: keyword difficulty and popularity, daily rank tracking, review mining, competitor gaps and revenue estimates.

Open website

About this tool

Purpose

This project is the official Sonar MCP server, providing App Store Optimization (ASO) capabilities to AI agents. It enables Claude Desktop, Claude Code, Cursor, Cline, and any client compatible with the Model Context Protocol to find apps, research keywords, audit ASO, mine reviews, and estimate revenue across the iOS App Store and Google Play, with data powered by Sonar. The repository entry name shows 47 ASO tools, while the repository documentation internally states 55 tools, covering the entire Sonar REST API and grouped by required permissions.

Main Capabilities

The tools are divided into the following categories by permission:

  • Read-only tools (stateless): Available with any plan that includes credits (API Credits, Indie, or Agency), and supports both iOS and Android. Tools marked as "Yes" can run on the free tier without a key.
  • Read-only tools (your workspace, Indie plan): Workspace reads require an Indie or higher plan (an active trial also counts), and can be used with a key that has the default read permission.
  • Read-only tools (Agency plan): Requires an Agency plan (an Agency trial also counts); other plans return 403. Among these, sonar_app_sales and sonar_app_engagement are iOS-only and require connecting App Store Connect at trysonar.app/settings/connections; engagement data requires an App Store Connect key with the Admin role.
  • Write tools (Indie plan + write permission): These modify your workspace, require an Indie or higher plan (an active trial also counts), and require OAuth login on the hosted endpoint (with write permission) or an API key created with write permission. The two AI-generated tools sonar_analyze_competitors and sonar_generate_review_insights require a paid plan and are not available during the trial period. The server enforces these permissions and returns 403 with an explanation of how to fix it when they are not met.
  • Screenshot Studio (Indie plan): Agents write screenshot sets as layout JSON, and humans review and fine-tune the same set of screenshots in Screenshot Studio. Layout guidelines are embedded in the server and require no key. sonar_export_screenshots writes files on the machine running the server, so it is only supported over stdio and not on the hosted endpoint.

Write tools work together with workspace tools to let agents form a closed loop: first set up tracking, then read rankings, changes, and gap analysis.

Usage

Hosted endpoint (no installation, no API key)

MCP clients that support OAuth (Claude Code, claude.ai custom connectors) can skip npm installation and API keys entirely: the first tool call that requires an account opens a browser login, and after approving with a Sonar login, the agent gets full access (read + write) to the workspaces you own. Clients that do not support OAuth can instead pass an API key: --header "Authorization: Bearer aso_...".

ChatGPT submission and hosted behavior

Submitting to OpenAI https://trysonar.app/mcp/chatgpt。该端点返回工具级登录挑战;/mcp Retain the HTTP 401 challenge for MCP clients such as Claude. Both declare OAuth per tool. Anonymous store queries can run without linking an account; workspace tools return a native login challenge when authorization is missing or expired. Just connect an existing Sonar account and approve access to workspaces you own. Existing account permissions and entitlements apply as usual.

The ChatGPT endpoint requires a resource-bound JWT access token for its canonical /mcp/chatgpt audience; the existing /mcp endpoint retains Clerk opaque token support. Provider configuration and end-to-end login must be verified before submitting the ChatGPT endpoint.

The hosted directory does not include sonar_export_screenshots (it writes a ZIP file to the local MCP host), and that tool remains available via stdio. Native directory listing requires separate OpenAI review and publishing; the hosted MCP endpoint itself does not create a listing.

Free trial (no API key required)

The server can run in keyless free mode: sonar_app_search, sonar_app_lookup, sonar_app_aso_score, sonar_app_extract_keywords, sonar_keyword_suggestions, and sonar_top_charts share a free quota of 30 requests per IP per day, and sonar_keyword_metrics (keyword difficulty + popularity) can look up 5 keywords per day. Just install directly without configuring an env block, then ask the agent about ASO. When the limit is reached, the error message will indicate how to sign up.

All other features (tracking, rankings, competitors, higher limits) require a Sonar API key, available at trysonar.app/developers.

The cheapest path is prepaid API credits — plans start at $10 (1,000 credits), sign-up includes 50 free credits, and there is no subscription. Built specifically for this use case. See the pricing page for details.

Add to configuration file

On macOS, add the configuration in ~/Library/Application Support/Claude/claude_desktop_config.json, or on Windows in %APPDATA%\Claude\claude_desktop_config.json, restart Claude Desktop, and the sonar_* tools will appear in the tool selector.

Add the configuration in ~/.cursor/mcp.json (or the project's .cursor/mcp.json).

Cline / other MCP clients: most clients use the same command + args + env structure. Point the command to npx -y @sonarapp/mcp and pass SONAR_API_KEY in env.

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.duolingo on 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 1517783697 on iOS US and group complaints by theme."
  • "Search 'meditation' on the App Store and estimate monthly revenue for the top 5 results."

When to use

Suitable for users who need to complete app store optimization in AI agent workflows, including: app information lookup and side-by-side comparison, keyword difficulty and popularity research, daily ranking tracking, chart viewing, review mining and grouping by theme, competitor gap analysis, revenue estimation, and manually fine-tuning in Screenshot Stud after writing screenshot sets via the agentio.

Limitations and data policy

The full privacy policy is available at https://trysonar.app/privacy。

This MCP server is a thin client for the Sonar REST API—it stores nothing locally, and this package itself logs no data.

  • Data collected: Tool inputs (app IDs, keywords, country codes) are sent to the Sonar API over HTTPS to generate results; authentication requests send the API key as a Bearer token. Sonar logs API requests (endpoint, status, duration) for rate limiting and abuse prevention.
  • Data usage: Inputs are used only to serve the request (keyword metrics, app lookups, etc.); the generated JSON is returned to the AI client.
  • Storage and retention: This package retains no state on disk. Server-side request logs are retained for 90 days; workspace data (tracked apps/keywords) is kept in your Sonar account until you delete it.
  • Third-party sharing: User data is not sold or shared with third parties; queries against public app store data (Apple, Google) contain no personal information.
  • Contact: hello@trysonar.app

Troubleshooting highlights

  • "SONAR_API_KEY is not set — running in free mode": Expected behavior when no key is configured, free tools remain available with a per-IP daily limit. If a key is configured, it means the MCP client is not passing the env variable; check the env section of the client configuration file; some clients require the absolute path to npx, which you can get with which npx.
  • "Authentication failed": The key is invalid, expired, or the subscription is inactive; check at trysonar.app/developers.
  • "Access denied. This endpoint may require an Indie plan subscription": The 10 stateless read-only tools work with any plan that includes credits. Workspace read, write, and Screenshot Studio tools require an Indie or higher plan (an active trial also counts); write tools additionally require an API key created with write permission. sonar_portfolio, sonar_app_sales, and sonar_app_engagement require the Agency plan, and the two AI-generated tools require a paid plan (not a trial). If you are in setup or your trial has expired, reactivate first.

Prefer the terminal? You can use @sonarapp/cli (the sonar binary), same data, same API key.

License: MIT © Peter Sutarik.