How to Use Stock Analysis stock statistics in VS Code
Returns detailed valuation, liquidity, debt, and profitability statistics for a company. Use it to compare financial strength and margins beyond the overview's headline figures.
Prompts to try with Stock Analysis stock statistics in VS Code
Copy an example into VS Code, or ask in your own words.
Use Stock Analysis stock statistics for MSFT and add trailing PE, forward PE, current ratio, debt-to-equity ratio, and profit margin to this project's research view.
Use Stock Analysis stock statistics to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Stock Analysis stock statistics and tell me what changed since last week.
Check Stock Analysis stock statistics and summarize what you find in three bullet points.
Pull the newest data from Stock Analysis stock statistics and give me the result as a table.
How to set up Stock Analysis stock statistics in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 stock statistics
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/stock_statistics", "input": { "symbol": "<symbol>" } }'
Then paste one of the prompts above: VS Code finds Stock Analysis stock statistics on Spiral, shows the price and runs it.
Stock Analysis stock statistics providers and prices
Spiral runs Stock Analysis stock statistics through Alexandria. Open a card for today's price, with every fee included.
What can you do with Stock Analysis stock statistics in VS Code?
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.
Write a company financial brief
Resolve a public company by name, summarize its revenue, earnings, and valuation, and add liquidity and debt ratios. Produce a compact brief with the figures needed for further research.
Compare company scale and debt
Resolve Apple and Microsoft, compare their headline revenue and earnings, and examine current and debt-to-equity ratios. Present company scale and financial strength in separate columns.
More on Stock Analysis stock statistics and VS Code
Overview
Stock Analysis stock statistics in other agents
Questions about Stock Analysis stock statistics in VS Code
Can VS Code use Stock Analysis stock statistics?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Stock Analysis stock statistics like any built-in tool.
How much does Stock Analysis stock statistics cost in VS Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an Alexandria account to use Stock Analysis stock statistics in VS Code?
No. Spiral runs Stock Analysis stock statistics 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 stock statistics in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Stock Analysis stock statistics runs?
Stock Analysis stock statistics runs in the background. VS Code 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 stock statistics in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


