How to Use Benzinga analyst consensus in Windsurf
Returns a stock's aggregate rating, rating distribution, analyst counts, and average, lowest, and highest price targets. Use it to summarize analyst sentiment before examining individual rating changes.
Prompts to try with Benzinga analyst consensus in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Benzinga analyst consensus for AAPL and add a table to this project's research view showing the rating distribution, analyst counts, and price target range.
Use Benzinga analyst consensus to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Benzinga analyst consensus and tell me what changed since last week.
Check Benzinga analyst consensus and summarize what you find in three bullet points.
Pull the newest data from Benzinga analyst consensus and give me the result as a table.
How to set up Benzinga analyst consensus in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 Benzinga analyst consensus
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": "alexandria", "model": "benzinga/calendar/consensus-ratings", "input": { "pagesize": 1 } }'
Then paste one of the prompts above: Windsurf finds Benzinga analyst consensus on Spiral, shows the price and runs it.
Benzinga analyst consensus providers and prices
Spiral runs Benzinga analyst consensus through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Pagesize | a number up to 1000 | Records to return. Limit 1000. | |
| Simplify | on or off | Collapse the aggregate to BUY, HOLD and SELL rather than the five-step scale. | |
| Aggregate type | number or percentage | number | Whether each rating bucket is reported as a count of analysts or as a percentage of them. |
Every API field of Benzinga · Consensus ratings is on its tool page: open its card above.
What can you do with Benzinga analyst consensus in Windsurf?
Build a company research view with Benzinga recommendations, research-source identities, and acquisition records. A coding agent can turn the returned records into tables, comparisons, and reconciliation logic in your project.
Prepare a company research brief
Summarize analyst consensus, list the individual recommendation changes behind it, and identify the analysts and research firms responsible.
Review analyst responses around an acquisition
Place a deal's status and dates beside rating changes and consensus for the companies involved. Identify the research sources and reconcile withdrawn calendar entries before assembling the review.
Produce a weekly portfolio research digest
For a stock watchlist, summarize consensus, recommendation changes, and acquisition activity. Add analyst performance context and firm names, and remove withdrawn events from the saved calendar used for the digest.
Build an internal research dashboard
Give each watched company a consensus summary, a rating-change timeline, and a deal calendar. Link recommendations to analyst and firm records, and reconcile withdrawals so obsolete events disappear.
Maintain a company research archive
Save consensus snapshots alongside individual ratings and deal records. Retain analyst and firm identifiers for attribution, and use withdrawal records to correct the archive when calendar entries are removed.
Investigate disagreement behind consensus
Compare a stock's aggregate rating distribution with individual recommendations. Identify the analysts and firms on each side instead of relying on the aggregate label alone.
More on Benzinga analyst consensus and Windsurf
Overview
Benzinga analyst consensus in other agents
Questions about Benzinga analyst consensus in Windsurf
Can Windsurf use Benzinga analyst consensus?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Benzinga analyst consensus like any built-in tool.
How much does Benzinga analyst consensus cost in Windsurf?
$0.052377 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use Benzinga analyst consensus in Windsurf?
No. Spiral runs Benzinga analyst consensus on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Benzinga analyst consensus in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Benzinga analyst consensus runs?
Benzinga analyst consensus runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
Which markets does Benzinga cover for ratings and deals?
Benzinga lists US equities as the coverage for both its analyst ratings and merger and acquisition datasets. These product descriptions do not establish worldwide coverage.
Where does Benzinga get analyst recommendations?
Benzinga says its news desk has direct partnerships with major sell-side banks. Its guidebook reports capturing 125 to 150 analyst actions per day.
How quickly are analyst rating changes published?
Benzinga says rating changes made during trading hours are posted intraday. That describes publication frequency, rather than a guaranteed delivery delay in seconds.
How far back does Benzinga's historical coverage go?
Benzinga's product pages list analyst ratings history from 2013 and merger and acquisition history from 2019. Those are dataset descriptions, rather than a promise that every company has records throughout that period.
Can Benzinga withdraw a previously published calendar entry?
Yes. Benzinga provides a separate feed for removed or canceled calendar events, including the affected record's identifier and event type.
Start using Benzinga analyst consensus in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


