[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [B3 index holdings](https://spiral.ai/integrations/antigravity/b3-index-holdings)

# How to Use B3 index holdings in Google Antigravity

Returns an index's constituent securities, participation weights, and theoretical quantities. Use it to inspect benchmark composition; B3 company index inclusion starts from a company instead.

|  |  |
| --- | --- |
| Model | B3 index holdings |
| 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 B3 index holdings in Google Antigravity

- Use B3 index holdings to retrieve IBOV constituents, weights, and theoretical quantities, then add a sortable table to my project.
- Use B3 index holdings to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from B3 index holdings and tell me what changed since last week.
- Check B3 index holdings and summarize what you find in three bullet points.
- Pull the newest data from B3 index holdings and give me the result as a table.

## How to set up B3 index holdings in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 B3 index holdings**: 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": "b3-com-br/companies/index_portfolio",
    "input": {
      "index": "<index>"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds B3 index holdings on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## B3 index holdings tools and prices

- [B3 listed companies and indices · Index portfolio](https://spiral.ai/tools/alexandria/b3-com-br/companies/index_portfolio) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to … | 1 | 1-based page number. |
| page_size | 1 to 120 | — | Rows per page; B3 returns an empty page above 120. |
| portfolio | theoretical, day, preview | theoretical | `theoretical`: current four-month portfolio; `day`: today's portfolio by sector with accumulated participation; `preview`: next rebalancing preview. |

## What can you do with B3 index holdings in Google Antigravity?

Build a B3 research table backed by exchange records. Add company, disclosure, distribution, sector, quote, or index data to the part of your project that needs it.

### Inspect benchmark concentration

Review IBOV holdings and weights, identify the issuers, group them using B3 sectors, and add delayed quotes and other index associations for context.

### Research index composition changes

Compare saved IBOV holdings with the latest composition, identify affected issuers and sectors, and review their index inclusion, disclosures, and corporate actions.

### Maintain a personal market review

Review a watchlist against its benchmark, combining company identities, sectors, disclosures, corporate events, payouts, index inclusion, holdings, and delayed quotes.

### Reconcile securities with issuers

Check that securities in an IBOV research table map to the intended companies, then inspect company details, corporate actions, quotes, and index associations for inconsistencies.

### Study a dividend benchmark

Inspect IDIV holdings and sector composition, then research constituent companies through payout histories, disclosures, corporate events, delayed quotes, and index inclusion.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## B3 index holdings in other agents

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

## More Google Antigravity guides

- [B3 corporate actions](https://spiral.ai/integrations/antigravity/b3-corporate-actions)
- [B3 industry classification](https://spiral.ai/integrations/antigravity/b3-industry-classification)
- [B3 company search](https://spiral.ai/integrations/antigravity/b3-company-search)
- [B3 stock quote](https://spiral.ai/integrations/antigravity/b3-stock-quote)
- [B3 company index inclusion](https://spiral.ai/integrations/antigravity/b3-company-index-inclusion)
- [BEA county data publication status](https://spiral.ai/integrations/antigravity/bea-county-data-publication-status)

## Questions about B3 index holdings in Google Antigravity

**Can Google Antigravity use B3 index holdings?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run B3 index holdings like any built-in tool.

**How much does B3 index holdings cost in Google Antigravity?**

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

**Do I need an Alexandria account to use B3 index holdings in Google Antigravity?**

No. Spiral runs B3 index 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 B3 index holdings in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while B3 index holdings runs?**

B3 index holdings runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**What does this B3 data cover?**

It covers B3 listed-company records and related disclosures, corporate actions, cash distributions, indices, and delayed quotes. Company registry coverage is tied to B3 listings.

**Is this public company information?**

Yes. The connector reads public B3 data, including issuer disclosures; Empresas.Net is provided jointly by CVM and B3 for publicly held companies and institutions responsible for BDR programs.

**Are B3's labels translated into English?**

The connector preserves Portuguese labels as B3 publishes them. Expect source terminology in company, sector, and corporate event records.

**Does B3 guarantee that its website data is complete and current?**

No. B3's terms disclaim guarantees for timeliness, completeness, accuracy, and updates to website information.

**Can I reuse B3 website data commercially?**

B3's website terms require prior written consent for commercial use of its data. Public availability does not grant unrestricted commercial reuse.

