sonar
MCP server by trysonar Verified · trysonar.app
Gives AI assistants App Store Optimization tools for the iOS App Store and Google Play. It supports keyword research, rank tracking, app audits and competitor analysis, for app makers and marketers.
Install sonar
Built from the published package, never by AI.
claude mcp add sonar -e SONAR_API_KEY=YOUR_SONAR_API_KEY -- npx -y @sonarapp/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sonar": {
"env": {
"SONAR_API_KEY": "YOUR_SONAR_API_KEY"
},
"args": [
"-y",
"@sonarapp/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sonar": {
"env": {
"SONAR_API_KEY": "YOUR_SONAR_API_KEY"
},
"args": [
"-y",
"@sonarapp/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sonar": {
"env": {
"SONAR_API_KEY": "YOUR_SONAR_API_KEY"
},
"args": [
"-y",
"@sonarapp/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sonar --env SONAR_API_KEY=YOUR_SONAR_API_KEY -- npx -y @sonarapp/mcp{
"mcpServers": {
"sonar": {
"env": {
"SONAR_API_KEY": "YOUR_SONAR_API_KEY"
},
"args": [
"-y",
"@sonarapp/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sonar npx -y @sonarapp/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sonar block.
About
Sonar is an MCP server that exposes App Store Optimization (ASO) tools from the Sonar REST API to MCP-compatible AI clients such as Claude Desktop, Claude Code, Cursor and Cline. It covers 55 tools that look up apps, search and research keywords, run ASO audits, fetch and analyze reviews, estimate revenue and read top charts across the iOS App Store and Google Play.
Some tools work in a free mode without an API key, with daily limits per IP and per keyword. Workspace tools need a Sonar Indie or Agency plan and let an agent set up product tracking, read rankings and competitor changes, and manage alerts. The project is aimed at app developers and ASO teams who want an assistant to run this work.
Written from the project's README and checked against it.
Tools it gives your assistant
sonar_app_lookupLook up app metadata by store ID.sonar_app_aso_scoreReturn an ASO audit score from 0 to 100 with itemized checks.sonar_keyword_searchKeyword research with difficulty, popularity and related terms.sonar_keyword_metricsDifficulty and popularity for specific keywords, up to 25 per call.sonar_top_chartsTop free, paid or grossing chart with day-over-day movement.sonar_app_reviewsFetch reviews with rating filters and sort options.sonar_app_revenueEstimate monthly revenue with a confidence grade.sonar_app_rankingsDaily rank history for an app's tracked keywords.sonar_competitor_keywordsKeywords a competitor ranks for, with gap analysis against your app.sonar_portfolioPortfolio rollup with KPIs, biggest movers and top opportunities.
What you need
- Sonar API key (aso_...) for tracking, rankings and higher limits
- Sonar Indie plan or higher for workspace and write tools
- Sonar Agency plan for portfolio, sales and engagement tools
- App Store Connect connection for the iOS sales and engagement tools
| Setting | Needed | What it is |
|---|---|---|
SONAR_Environment variable, secret | Required | Your Sonar API key (aso_...). Create one at https://trysonar.app |
AuthorizationHeader, secret | Required | Bearer <Sonar API key (aso_...)>. Create one at https://trysonar.app/developers |
SONAR_Environment variable | Optional | API base URL. Defaults to https://trysonar.app. Default: https://trysonar.app |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use Sonar to look up Spotify on iOS in the US store and report its rating.
- Run an ASO audit on com.duolingo on Android and tell me what to fix.
- Research the keyword 'habit tracker' on iOS and suggest lower-difficulty terms.
Good to know
- Free mode allows 30 requests per day per IP for six tools and 5 keywords per day for keyword metrics.
- Workspace tools require a paid Sonar plan, and the Agency tools return 403 on other plans.
- sonar_export_screenshots writes files locally, so it runs over stdio only and is not on the hosted endpoint.
- The AI generation tools are not available during the trial.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sonar
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
sonar: common questions
Does Sonar MCP work without an API key?
Yes. The server runs in free mode without a key, and six search and lookup tools share a free daily allowance per IP. Tracking and higher limits need a Sonar API key.
Which app stores does Sonar MCP cover?
The source says it covers the iOS App Store and Google Play. Some tools, including sonar_app_sales and sonar_app_engagement, are iOS-only.
Can the agent change data in my Sonar workspace?
Yes, but only with an Indie plan or higher and either an OAuth sign-in on the hosted endpoint or an API key with the write scope. Write tools include creating products and tracking keywords.
How do I install sonar?
In Claude Code run claude mcp add sonar -e SONAR_API_KEY=YOUR_SONAR_API_KEY -- npx -y @sonarapp/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is sonar the official server?
sonar is published by trysonar.app from its verified domain in the official MCP Registry.
Is sonar free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sonar safe to use?
It scores 76 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sonar?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does sonar work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
