How to Use Stock Analysis screener categories in opencode
Returns the category labels used by Stock Analysis screener filters. Use it to choose recognized industry, sector, or exchange labels before assembling a stock comparison.
Prompts to try with Stock Analysis screener categories in opencode
Copy an example into opencode, or ask in your own words.
Use Stock Analysis screener categories to retrieve industry labels for organizing NVIDIA, AMD, and Broadcom in this project's peer comparison.
Use Stock Analysis screener categories to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Stock Analysis screener categories and tell me what changed since last week.
Check Stock Analysis screener categories and summarize what you find in three bullet points.
Pull the newest data from Stock Analysis screener categories and give me the result as a table.
How to set up Stock Analysis screener categories in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 Stock Analysis screener categories
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": "stockanalysis-com/securities/screener_filter_options", "input": { "type": "etf", "column": "<column>" } }'
Then paste one of the prompts above: opencode finds Stock Analysis screener categories on Spiral, shows the price and runs it.
Stock Analysis screener categories providers and prices
Spiral runs Stock Analysis screener categories through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Type | etf or stock | Screener: |
Every API field of Stock Analysis · Screener filter options is on its tool page: open its card above.
What can you do with Stock Analysis screener categories in opencode?
Build a company research view with ticker matches, stock comparison rows, and detailed financial ratios from Stock Analysis. Use its classifications to organize peers and its overview figures to populate company summaries.
Compare semiconductor companies
Resolve NVIDIA, AMD, and Broadcom to tickers, check the screener's industry labels, and assemble a peer table. Add company overviews and detailed valuation and margin statistics to explain the differences.
Build a sector research shortlist
Use recognized sector labels to organize a stock table, then resolve shortlisted company names. Combine overview figures with detailed ratios to produce a research brief for each candidate.
Review retail competitors
Resolve Walmart, Costco, and Target, confirm their screener classifications, and compare their stock rows. Use overviews for company scale and statistics for valuation, margins, and debt measures.
Prepare a software watchlist review
Resolve Microsoft, Oracle, and Salesforce and organize them using Stock Analysis industry labels. Refresh their comparison table, summarize headline financials, and examine detailed ratios for the companies that need closer review.
Organize a stock comparison by industry
Retrieve the screener's recognized classifications and use them to label a comparison table. Keep company rows organized by the source's industry names.
More on Stock Analysis screener categories and opencode
Overview
Stock Analysis screener categories in other agents
Questions about Stock Analysis screener categories in opencode
Can opencode use Stock Analysis screener categories?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Stock Analysis screener categories like any built-in tool.
How much does Stock Analysis screener categories cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Stock Analysis screener categories in opencode?
No. Spiral runs Stock Analysis screener categories on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Stock Analysis screener categories in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Stock Analysis screener categories runs?
Stock Analysis screener categories runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
How broad is Stock Analysis coverage?
Stock Analysis reports more than 130,000 tradable stock and ETF symbols worldwide. That describes the website's coverage, not the number of records a particular endpoint returns.
Is international stock data as complete as US data?
Stock Analysis explicitly warns that stocks listed outside the US have fewer available data points. A cross-country comparison may therefore have less detail than a comparison of US listings.
Does Stock Analysis distinguish trailing and forward valuation?
Yes. Its statistics pages list trailing PE, forward PE, and PEG separately, so a comparison should identify which measure it uses.
Where do Stock Analysis financial statistics come from?
Stock Analysis attributes its financial statistics to S&P Global Market Intelligence. That attribution appears directly on its company statistics pages.
Can I look up funds as well as companies?
Stock Analysis symbol lookup covers ticker symbols, company names, ETFs, and funds. Finding a fund in search does not establish that stock-specific data is available for it.
Start using Stock Analysis screener categories in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


