Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Finance

How to Use Stock Analysis ETF holdings in Gemini CLI

Returns an ETF's leading holdings and allocation breakdowns. Use it to inspect concentration and compare the positions shown, keeping the public top-25 limit in mind.

Prompts to try with Stock Analysis ETF holdings in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Stock Analysis ETF holdings for VOO and IVV to add a table of overlapping displayed positions, clearly labeling the portfolio coverage.

Stock Analysis ETF holdingsGemini CLI
Try asking
  • Use Stock Analysis ETF holdings to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Stock Analysis ETF holdings and tell me what changed since last week.

  • Check Stock Analysis ETF holdings and summarize what you find in three bullet points.

  • Pull the newest data from Stock Analysis ETF holdings and give me the result as a table.

How to set up Stock Analysis ETF holdings in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.

    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 ETF holdings

    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/etf_holdings",
        "input": {
          "symbol": "<symbol>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Stock Analysis ETF holdings on Spiral, shows the price and runs it.

Stock Analysis ETF holdings providers and prices

Spiral runs Stock Analysis ETF holdings through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Stock Analysis · Etf holdings
stockanalysis-com/securities/etf_holdings

What can you do with Stock Analysis ETF holdings in Gemini CLI?

Build comparison tables and charts from Stock Analysis fund records, dividend payments, and historical observations. Add calculations to your project while keeping quarterly earnings records and market observations in separate views.

Compare an ETF shortlist

Compare VOO, IVV, and SPY using fund attributes, issuer lineups, issuer scale, and the holdings shown. Add distribution history and historical observations to explain the differences in a research table.

Research an ETF issuer

Compare Vanguard with other managers in the issuer directory, inspect its fund lineup, and select funds for closer review. Use individual profiles, screener rows, and leading holdings to describe the selected funds.

Explain concentration across ETF issuers

Compare the leading positions shown for VOO, IVV, and SPY. Add fund attributes, each issuer's lineup, and issuer-level totals to distinguish portfolio concentration from the size of the management business.

Review changes in fund reference data

Compare successive observations of selected ETF profiles, screener rows, leading holdings, issuer lineups, and issuer totals. Produce a change list for a researcher's review.

Questions about Stock Analysis ETF holdings in Gemini CLI

Can Gemini CLI use Stock Analysis ETF holdings?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Stock Analysis ETF holdings like any built-in tool.

How much does Stock Analysis ETF holdings cost in Gemini CLI?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use Stock Analysis ETF holdings in Gemini CLI?

No. Spiral runs Stock Analysis ETF holdings 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 ETF holdings in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Stock Analysis ETF holdings runs?

Stock Analysis ETF holdings runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does Stock Analysis cover markets outside the United States?

Stock Analysis reports global stock and ETF coverage exceeding 130,000 tradable symbols. That website-wide figure does not establish the coverage of every individual endpoint.

Where does Stock Analysis get its data?

Its sources vary by dataset: CBOE supplies real-time stock prices, most historical dividend data comes from S&P Global, and the SPY holdings page identifies Finnhub.

How fresh are dividend and holdings records?

Apple's dividend page says updates arrive within hours of dividend announcements. The SPY holdings page says ETF issuers typically publish holdings at the end of each trading day.

Does a public holdings table contain the entire portfolio?

It can be partial: VOO's public page displayed 25 of 516 holdings when researched. An overlap calculation using those rows describes the displayed positions, not the entire fund.

Are historical dividend amounts adjusted for stock splits?

Apple's dividend page explicitly states that dividend amounts are adjusted for stock splits when applicable. Its payment history therefore should not be interpreted as an unadjusted record of amounts per share at the time.

Get started

Start using Stock Analysis ETF holdings in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options