Set up Sonar in Claude Code

One shell command, then sign in — no API key. Once connected, Claude Code can look up apps, research keywords, audit ASO, mine reviews, and estimate revenue — live from the App Store and Google Play.

Add Sonar and sign in — no API key

Claude Code connects to the hosted Sonar server. The first time a tool needs your account, your browser asks you to sign in to Sonar — nothing to install, no key to copy. No account yet? Start a free trial. One command from your shell:

Hosted — sign in, no API key

The first time a tool needs your account, your browser asks you to sign in to Sonar. Nothing to install, no key to paste.

claude mcp add --transport http sonar https://trysonar.app/mcp

Verify it works

End your current Claude Code session and start a new one — the sonar_* tools load automatically. Ask “What Sonar tools do you have?” to confirm; the first call that needs your account opens the sign-in.

Try this first prompt

Use Sonar to run an ASO audit on Duolingo on iOS in the US store. Summarize the score and the top 3 fixes you'd make first.

What you get back: a 0–100 ASO score with itemized checks, turned into a prioritized fix list by your AI.

Prefer an API key?

For scripts, CI, the sonar CLI or the local @sonarapp/mcp server (runs via npx, no global install). Create a key in Settings → Developers — keys start with aso_, and new accounts get 50 free credits on signup. Then replace aso_your_key_here below.

With an API key (scripts, CI, local)

Runs the server locally via npx with your key.

claude mcp add sonar -e SONAR_API_KEY=aso_your_key_here -- npx -y @sonarapp/mcp

Connected? Raid the prompt library.

Copy-paste prompts for keyword gaps, review mining, ASO audits, localization, and launch tracking — they work as-is in Claude Code. On the Indie plan, AI can even set up your workspace — add your app, link competitors, track keywords.