[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [FEC independent expenditures](https://spiral.ai/integrations/gemini/fec-independent-expenditures)

# How to Use FEC independent expenditures in Gemini

Returns reported independent spending with payees, amounts, dates and the candidate supported or opposed. Use it to examine outside spending on a race separately from the candidate's campaign expenses.

|  |  |
| --- | --- |
| Model | FEC independent expenditures |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FEC independent expenditures in Gemini

- Use FEC independent expenditures to examine October 2024 spending supporting or opposing Elizabeth Warren's Senate candidacy. Separate the two directions and identify the reported payees.
- Use FEC independent expenditures to look this up and give me the result as a table.
- Pull the latest numbers from FEC independent expenditures and tell me what changed since last week.
- Check FEC independent expenditures and summarize what you find in three bullet points.
- Pull the newest data from FEC independent expenditures and give me the result as a table.

## How to set up FEC independent expenditures in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 FEC independent expenditures**: 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": "fec-gov/records/independent_expenditures",
    "input": {
      "sort": "-expenditure_date"
    }
  }'
```

Then paste one of the prompts above: Gemini finds FEC independent expenditures on Spiral, shows the price and runs it.

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

## FEC independent expenditures tools and prices

- [FEC · Independent expenditures](https://spiral.ai/tools/alexandria/fec-gov/records/independent_expenditures) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | -expenditure_date, expenditure_date, -expenditure_amount, expenditure_amount | -expenditure_date | sort |
| cycle | 1976 to 2100 | — | Two-year election cycle, named by its even year: 2024 covers 2023-2024. |
| max_date |  | — | Latest expenditure date, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| min_date |  | — | Earliest expenditure date, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| per_page | 1 to 100 | 10 | Rows per page, 1 to 100. |
| max_amount | 0 to … | — | Maximum amount in dollars. |

## What can you do with FEC independent expenditures in Gemini?

Get an explanation of a federal race or committee grounded in FEC disclosures. A chat app can organize the relevant records and explain the difference between registrations, reported finances and spending disclosures.

### Explain the money behind a federal race

Identify the candidates and their committees, compare reported finances and contribution patterns, and explain campaign payments separately from independent spending. Use filings to document the reporting periods behind the explanation.

### Compare campaign finance across election cycles

Match candidates and committees across selected cycles, then compare financial summaries, contribution aggregates and spending records. Check the underlying filings so differences in reporting coverage remain visible.

### Check a campaign finance claim

Resolve the candidate or organization named in a claim, identify whether it concerns fundraising, campaign payments or independent spending, and retrieve the relevant records and filings.

### Build a classroom campaign finance case study

Use a real federal race to show how candidate registration, committee organization, fundraising summaries and spending disclosures fit together. Include contribution aggregates and original filings as evidence students can examine.

### Research payments to a public advertising business

Find reported payments to an advertising vendor, identify the paying committees and examine payment purposes. Compare campaign disbursements with independent expenditure disclosures without combining the categories.

## Overview

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

## FEC independent expenditures in other agents

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

## More Gemini guides

- [FEC contribution aggregates](https://spiral.ai/integrations/gemini/fec-contribution-aggregates)
- [FEMA National Risk Index data dictionary](https://spiral.ai/integrations/gemini/fema-national-risk-index-data-dictionary)
- [FEC committee search](https://spiral.ai/integrations/gemini/fec-committee-search)
- [FEMA National Risk Index hazard codes](https://spiral.ai/integrations/gemini/fema-national-risk-index-hazard-codes)
- [FEC committee financial totals](https://spiral.ai/integrations/gemini/fec-committee-financial-totals)
- [FEMA National Risk Index location comparisons](https://spiral.ai/integrations/gemini/fema-national-risk-index-location-comparisons)

## Questions about FEC independent expenditures in Gemini

**Can Gemini use FEC independent expenditures?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run FEC independent expenditures like any built-in tool.

**How much does FEC independent expenditures cost in Gemini?**

$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 plan is separate.

**Do I need an Alexandria account to use FEC independent expenditures in Gemini?**

No. Spiral runs FEC independent expenditures on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FEC independent expenditures in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while FEC independent expenditures runs?**

FEC independent expenditures runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

**Does the FEC cover state and local elections?**

The FEC publishes federal campaign finance disclosures. State and local campaign finance reports may be available from state records offices.

**How fresh are FEC financial summaries?**

Committee financial summaries update nightly using electronic reports received or paper reports computerized through 7 p.m. the previous day. Their financial coverage ends with the latest report submitted.

**Do all committee totals cover the same dates?**

No. FEC cycle summaries combine reports over a two-year period, but each committee's totals end with its latest submitted report, so comparison periods can differ.

**Does the disbursement search include all outside spending?**

No. It excludes outside spending to support or oppose candidates, as well as allocated federal/nonfederal disbursements. Independent expenditure disclosures identify spending by the candidate supported or opposed.

**Are filings limited to financial reports?**

No. FEC filings also include statements and notices submitted by candidates and committees.

