How to Use Sonar Pro Search in Cline
Sonar Pro Search researches questions that need several web searches and page reading. Unlike Sonar Pro's standard search, it plans and executes a research workflow with multiple steps.
Prompts to try with Sonar Pro Search in Cline
Copy an example into Cline, or ask in your own words.
Read package.json and the lockfile, then use Sonar Pro Search to investigate the official migration guidance for upgrading this project's Next.js version to the next major release. Return a cited checklist of breaking changes relevant to our code in no more than 700 words.
Inspect our database code and README, then use Sonar Pro Search to compare PostgreSQL and SQLite against the requirements you find. Return a five-row decision table with supporting documentation and identify any requirements the sources do not resolve.
Read the failing test output and relevant source files, then use Sonar Pro Search to investigate documented causes for this error in the exact dependency versions installed. Rank three hypotheses, cite the evidence, and propose a local check for each.
Inspect our authentication implementation, then use Sonar Pro Search to research current official migration and deprecation notices for the libraries it uses. Produce a cited maintenance checklist under 600 words and flag version mismatches.
Read our deployment configuration, then use Sonar Pro Search to compare the documented runtime requirements with the versions declared in this repository. Report up to five compatibility concerns with citations and mark anything you cannot verify.
How to set up Sonar Pro Search in Cline
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
- Sign in
Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
Spiral shows as connected on the Configure tab. In the CLI:
cline config mcp
Use the Spiral skill
- Send Cline this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Sonar Pro Search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "perplexity/sonar-pro-search", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Cline finds Sonar Pro Search on Spiral, shows the price and runs it.
Sonar Pro Search providers and prices
Spiral runs Sonar Pro Search through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.103409 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens.
Settings you can ask for
Ask Cline for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 8000 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Perplexity: Sonar Pro Search is on its tool page: open its card above.
What can you do with Sonar Pro Search in Cline?
Sonar Pro Search can give an implementation decision a researched basis through web searches and page reading. Use your coding agent to connect those findings to the project's dependencies, constraints, and upgrade plans.
Plan a dependency upgrade
Use Sonar Pro Search to compare official migration guides and release notes for an upgrade. Request breaking changes, affected versions, and supporting citations in a short checklist.
Compare technical approaches
Ask Sonar Pro Search to investigate several approaches to one engineering problem. Compare documented constraints, compatibility, and operational tradeoffs against explicit requirements.
Check claims before publishing
Give Sonar Pro Search a short list of factual claims to investigate. Request supporting sources, conflicting evidence, and a separate list of claims it could not verify.
Track product announcements
Use Sonar Pro Search to research recent announcements for named products. Ask for announcement dates, documented availability, and citations, with rumors kept out of the confirmed list.
Prepare a company briefing
Research a company's publicly documented products, partnerships, and recent announcements with Sonar Pro Search. Turn the findings into a one-page briefing that separates company statements from outside reporting.
Build an evidence table
Ask Sonar Pro Search to investigate a narrow research question across several sources. Organize findings by claim, supporting evidence, publication date, and unresolved disagreement.
Prepare an interview
Use Sonar Pro Search to research an organization's recent public statements and announcements. Request interview questions tied to specific sources, including follow-ups where statements appear inconsistent.
Monitor software maintenance changes
Research official support notices, deprecations, and release notes for a named software stack with Sonar Pro Search. Request a dated digest of findings and questions that need an engineer's review.
More on Sonar Pro Search and Cline
Overview
Sonar Pro Search in other agents
Questions about Sonar Pro Search in Cline
Can Cline use Sonar Pro Search?
Yes. Add Spiral to Cline as an MCP server, and Cline can find and run Sonar Pro Search like any built-in tool.
How much does Sonar Pro Search cost in Cline?
Up to $0.103409 per run at the default inputs. $3.90 per 1M input tokens, $19.50 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cline plan is separate.
Do I need an OpenRouter account to use Sonar Pro Search in Cline?
No. Spiral runs Sonar Pro Search on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Sonar Pro Search in Cline?
About two minutes: add the server, then sign in, then check it.
Does Cline wait while Sonar Pro Search runs?
Sonar Pro Search runs in the background. Cline starts the run, checks on it and gives you the text, json when it's ready.
How does Sonar Pro Search differ from Sonar Pro?
Sonar Pro Search plans and executes research across multiple steps. It can follow an initial search with more searches and page reading before synthesizing an answer.
Can Sonar Pro Search read pages as well as search the web?
Yes. Pro Search can automatically fetch page content and run additional searches while working through a question.
How long can a Sonar Pro Search answer be?
Sonar Pro Search supports up to 8,000 completion tokens and a 200,000-token context window. For a large research task, request a focused brief and handle additional questions separately.
What should I put in a Sonar Pro Search prompt?
Name the exact subject and the decision you need to make. Include relevant versions, dates, locations, and comparison criteria, then specify a manageable deliverable such as a five-row table.
Can I trust an answer just because it has citations?
Use citations to check the supporting pages before relying on a claim. Perplexity warns that inaccessible information can lead to unsupported answers, so ask Sonar Pro Search to flag missing evidence explicitly.
Start using Sonar Pro Search in Cline
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cline:
set up https://spiral.ai/SKILL.md


