[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Stock Analysis stock screener](https://spiral.ai/integrations/muse-code/stock-analysis-stock-screener)

# How to Use Stock Analysis stock screener in Muse Code

Returns stock rows with company names, tickers, market capitalization, industry, and valuation data. Use it to compare many companies in one table before investigating individual stocks.

|  |  |
| --- | --- |
| Model | Stock Analysis stock screener |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Stock Analysis stock screener in Muse Code

- Use Stock Analysis stock screener to fetch AAPL, MSFT, and NVDA and create a comparison table in this project with company names, industries, market capitalization, and PE ratios.
- Use Stock Analysis stock screener 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 screener and tell me what changed since last week.
- Check Stock Analysis stock screener and summarize what you find in three bullet points.
- Pull the newest data from Stock Analysis stock screener and give me the result as a table.

## How to set up Stock Analysis stock screener in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Stock Analysis stock screener**: One request; the result comes back by polling or a webhook.

```bash
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_screener",
    "input": {
      "limit": 100
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Stock Analysis stock screener on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Stock Analysis stock screener tools and prices

- [Stock Analysis · Stock screener](https://spiral.ai/tools/alexandria/stockanalysis-com/securities/stock_screener) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 500 | 100 | Rows per page, 1-500 (default 100). The site returns the whole universe; paging is local, in the site's default order (largest AUM / market cap first). |
| offset | 0 to … | 0 | Row offset for the next page; use the `next_offset` of the previous call. |
| columns |  | — | Extra screener column ids to attach to every row (for example expenseRatio, aum, holdings, issuer, etfCategory, etfIndex, inceptionDate, dividendYield, peRatio, beta). Fetched in one bulk request for the whole universe. |
| country |  | US | ISO 3166-1 alpha-2 market code. US (default) lists US-listed stocks; other codes (for example CA) list that country's exchanges with `exchange/TICKER` symbols. Pattern: ^[A-Za-z]{2}$. |
| symbols |  | — | Restrict the result to these tickers (case-insensitive; for non-US markets either `TICKER` or `exchange/TICKER`). Tickers the screener does not list are reported in `missing_symbols`; when none match, the call fails with not_found. |

## What can you do with Stock Analysis stock screener in Muse 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.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Stock Analysis stock screener in other agents

- [Amp](https://spiral.ai/integrations/amp/stock-analysis-stock-screener)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/stock-analysis-stock-screener)
- [Claude](https://spiral.ai/integrations/claude-desktop/stock-analysis-stock-screener)
- [Claude Code](https://spiral.ai/integrations/claude-code/stock-analysis-stock-screener)
- [Cline](https://spiral.ai/integrations/cline/stock-analysis-stock-screener)
- [Codex](https://spiral.ai/integrations/codex/stock-analysis-stock-screener)
- [Cursor](https://spiral.ai/integrations/cursor/stock-analysis-stock-screener)
- [Devin](https://spiral.ai/integrations/devin/stock-analysis-stock-screener)
- [dots](https://spiral.ai/integrations/dots/stock-analysis-stock-screener)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/stock-analysis-stock-screener)
- [Gemini](https://spiral.ai/integrations/gemini/stock-analysis-stock-screener)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/stock-analysis-stock-screener)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/stock-analysis-stock-screener)
- [goose](https://spiral.ai/integrations/goose/stock-analysis-stock-screener)
- [Grok](https://spiral.ai/integrations/grok/stock-analysis-stock-screener)
- [Grok Build](https://spiral.ai/integrations/grok-build/stock-analysis-stock-screener)
- [Hermes](https://spiral.ai/integrations/hermes/stock-analysis-stock-screener)
- [Instinct](https://spiral.ai/integrations/instinct/stock-analysis-stock-screener)
- [Manus](https://spiral.ai/integrations/manus/stock-analysis-stock-screener)
- [Muse](https://spiral.ai/integrations/muse/stock-analysis-stock-screener)
- [n8n](https://spiral.ai/integrations/n8n/stock-analysis-stock-screener)
- [Notion](https://spiral.ai/integrations/notion/stock-analysis-stock-screener)
- [OpenClaw](https://spiral.ai/integrations/openclaw/stock-analysis-stock-screener)
- [opencode](https://spiral.ai/integrations/opencode/stock-analysis-stock-screener)
- [Perplexity](https://spiral.ai/integrations/perplexity/stock-analysis-stock-screener)
- [Raycast](https://spiral.ai/integrations/raycast/stock-analysis-stock-screener)
- [VS Code](https://spiral.ai/integrations/vscode/stock-analysis-stock-screener)
- [Windsurf](https://spiral.ai/integrations/windsurf/stock-analysis-stock-screener)
- [Zapier](https://spiral.ai/integrations/zapier/stock-analysis-stock-screener)

## More Muse Code guides

- [Stock Analysis stock overview](https://spiral.ai/integrations/muse-code/stock-analysis-stock-overview)
- [Stock Analysis stock statistics](https://spiral.ai/integrations/muse-code/stock-analysis-stock-statistics)
- [Stock Analysis stock and ETF quote](https://spiral.ai/integrations/muse-code/stock-analysis-stock-and-etf-quote)
- [Stock Analysis ticker search](https://spiral.ai/integrations/muse-code/stock-analysis-ticker-search)
- [Stock Analysis screener categories](https://spiral.ai/integrations/muse-code/stock-analysis-screener-categories)
- [Tiingo financial news](https://spiral.ai/integrations/muse-code/tiingo-financial-news)

## Questions about Stock Analysis stock screener in Muse Code

**Can Muse Code use Stock Analysis stock screener?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Stock Analysis stock screener like any built-in tool.

**How much does Stock Analysis stock screener cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use Stock Analysis stock screener in Muse Code?**

No. Spiral runs Stock Analysis stock screener 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 screener in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Stock Analysis stock screener runs?**

Stock Analysis stock screener runs in the background. Muse 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.

