[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [NFA BASIC firm search](https://spiral.ai/integrations/gemini-cli/nfa-basic-firm-search)

# How to Use NFA BASIC firm search in Gemini CLI

Finds firms by name and returns matching BASIC identities. Use it to locate the correct legal entity before reviewing its registration, regulatory actions, or dispute history.

|  |  |
| --- | --- |
| Model | NFA BASIC firm search |
| 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 NFA BASIC firm search in Gemini CLI

- Use NFA BASIC firm search to find Interactive Brokers LLC, then add the returned firm identity to the project's broker selector.
- Use NFA BASIC firm search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NFA BASIC firm search and tell me what changed since last week.
- Check NFA BASIC firm search and summarize what you find in three bullet points.
- Pull the newest data from NFA BASIC firm search and give me the result as a table.

## How to set up NFA BASIC firm search 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:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
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.

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

### Call the Spiral API

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

2. **Run NFA BASIC firm search**: 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": "nfa-futures-org/regulatory-registry/search_firms",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds NFA BASIC firm search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## NFA BASIC firm search tools and prices

- [NFA BASIC · Search firms](https://spiral.ai/tools/alexandria/nfa-futures-org/regulatory-registry/search_firms) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | — | 1-based page (50 rows per page, as the BASIC UI pages). |
| sort | asc, desc | — | Sort by firm name ascending (default) or descending. |
| has_regulatory_actions |  | — | Keep only firms with (true) or without (false) regulatory actions. |

## What can you do with NFA BASIC firm search in Gemini CLI?

Build a derivatives firm review screen that ties each legal entity to its NFA identity and public records. Use the returned data to populate registration summaries, case tables, pool inventories, or FCM financial charts in the project.

### Managed futures allocation review

Prepare a due diligence memo covering a pool operator's identity, registration, pools, regulatory cases, and published disputes. Add the proposed clearing broker's reported financial history.

### Compare prospective pool operators

Compare shortlisted operators using their recorded pools, registrations, regulatory cases, and published dispute records. Review each proposed clearing broker's financial reports alongside the operator comparison.

### Review pool operating history

Compare an operator's current and ceased pool records with its registration history. Use the results to prepare specific questions about the pools it has operated.

### Annual manager review

Refresh an existing pool manager review with current registration and pool records, newly visible cases, and published arbitration outcomes. Update the financial review of its clearing broker.

### Futures broker acquisition review

Build a buyer's evidence file for a futures brokerage using registration history, regulatory actions, published dispute records, and reported FCM financials where applicable.

### Regulatory case chronology

Find a firm's recorded regulatory actions and read individual case histories. Build a chronology using the recorded effective dates and available outcomes.

### Clearing broker financial comparison

Compare reported capital and customer funds history for prospective FCMs, using their BASIC identities and registration profiles to keep legal entities distinct.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## NFA BASIC firm search in other agents

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

## More Gemini CLI guides

- [NFA BASIC firm regulatory actions](https://spiral.ai/integrations/gemini-cli/nfa-basic-firm-regulatory-actions)
- [NFA BASIC professional search](https://spiral.ai/integrations/gemini-cli/nfa-basic-professional-search)
- [NFA BASIC firm registration profile](https://spiral.ai/integrations/gemini-cli/nfa-basic-firm-registration-profile)
- [NFA BASIC regulatory action details](https://spiral.ai/integrations/gemini-cli/nfa-basic-regulatory-action-details)
- [NFA BASIC firm arbitration decisions](https://spiral.ai/integrations/gemini-cli/nfa-basic-firm-arbitration-decisions)
- [Nasdaq article text](https://spiral.ai/integrations/gemini-cli/nasdaq-article-text)

## Questions about NFA BASIC firm search in Gemini CLI

**Can Gemini CLI use NFA BASIC firm search?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run NFA BASIC firm search like any built-in tool.

**How much does NFA BASIC firm search 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 NFA BASIC firm search in Gemini CLI?**

No. Spiral runs NFA BASIC firm search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NFA BASIC firm search in Gemini CLI?**

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

**Does Gemini CLI wait while NFA BASIC firm search runs?**

NFA BASIC firm search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Does BASIC cover former registrants?**

Yes. BASIC includes registration information for pending, current, and former CFTC registrants, so finding a firm does not by itself establish that its registration is current.

**How quickly do regulatory changes appear?**

NFA states that information entry can be delayed. Actions taken by NFA, the CFTC, or exchanges may therefore be absent until the contributor enters them.

**Is an NFA ID enough to verify a firm?**

No. NFA recommends checking that the firm's name, main business address, and phone number exactly match its BASIC profile.

**Does BASIC show every arbitration dispute?**

No. It excludes pending, settled, withdrawn, and rejected cases, plus cases closed before January 1, 1990.

**What reparations information does BASIC provide?**

BASIC provides the number of customer cases filed through the CFTC reparations program and their docket numbers. That makes it a starting point for identifying proceedings.

