How to Use FEC candidate search in Gemini
Returns federal candidate records with FEC IDs, party, office, district and principal campaign committee information. Use it to identify the candidate behind a race before researching campaign finances.
Prompts to try with FEC candidate search in Gemini
Copy an example into Gemini, or ask in your own words.
Use FEC candidate search to identify the candidates in Massachusetts's 2024 Senate election and summarize their parties and principal campaign committees.
Use FEC candidate search to look this up and give me the result as a table.
Pull the latest numbers from FEC candidate search and tell me what changed since last week.
Check FEC candidate search and summarize what you find in three bullet points.
Pull the newest data from FEC candidate search and give me the result as a table.
How to set up FEC candidate search in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- 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.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- 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
- Send Gemini this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run FEC candidate search
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": "fec-gov/records/candidates", "input": { "page": 1 } }'
Then paste one of the prompts above: Gemini finds FEC candidate search on Spiral, shows the price and runs it.
FEC candidate search providers and prices
Spiral runs FEC candidate search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 100000 | 1 | 1-based page; pass the previous next_page with the same filters. |
| Cycle | 1976 to 2100 | Cycle in which the candidate was active, named by its even year: 2024 covers 2023-2024. | |
| Office | H, S, or P | H House, S Senate, P President. | |
| Per page | 1 to 100 | 10 | Rows per page, 1 to 100. |
| Election year | 1976 to 2100 | Year of an election the candidate ran in. | |
| Has raised funds | on or off | Only candidates whose committees reported receipts. | |
| Is active candidate | on or off | is_active_candidate |
Every API field of FEC · Candidates is on its tool page: open its card above.
What can you do with FEC candidate search 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.
More on FEC candidate search and Gemini
Overview
FEC candidate search in other agents
Questions about FEC candidate search in Gemini
Can Gemini use FEC candidate search?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run FEC candidate search like any built-in tool.
How much does FEC candidate search 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 candidate search in Gemini?
No. Spiral runs FEC candidate 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 FEC candidate search 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 candidate search runs?
FEC candidate search 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.
Start using FEC candidate search in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


