How to Use FEC independent expenditures in Devin
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.
Prompts to try with FEC independent expenditures in Devin
Copy an example into Devin, or ask in your own words.
Use FEC independent expenditures to retrieve October 2024 spending mentioning Elizabeth Warren after resolving her Senate candidate ID. Build a table separating support from opposition spending.
Use FEC independent expenditures to look this up and give me the result as a table. Save the result in ./assets.
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 Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin 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 independent expenditures
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/independent_expenditures", "input": { "sort": "-expenditure_date" } }'
Then paste one of the prompts above: Devin finds FEC independent expenditures on Spiral, shows the price and runs it.
FEC independent expenditures providers and prices
Spiral runs FEC independent expenditures through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | -expenditure_date, expenditure_date, -expenditure_amount, or expenditure_amount | -expenditure_date | sort |
| Cycle | 1976 to 2100 | Two-year election cycle, named by its even year: 2024 covers 2023-2024. | |
| Per page | 1 to 100 | 10 | Rows per page, 1 to 100. |
| Max amount | a number from 0 | Maximum amount in dollars. | |
| Min amount | a number from 0 | Minimum amount in dollars. | |
| Most recent | on or off | Only the latest version of each expenditure (excludes superseded amendments). | |
| Support oppose | S or O | S support, O oppose. | |
| Candidate office | H, S, or P | H House, S Senate, P President. |
Every API field of FEC · Independent expenditures is on its tool page: open its card above.
What can you do with FEC independent expenditures in Devin?
Build a federal election research table from FEC disclosure records. A coding agent can organize candidate and committee identities alongside reported financial activity and the filings behind it.
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.
More on FEC independent expenditures and Devin
Overview
FEC independent expenditures in other agents
Questions about FEC independent expenditures in Devin
Can Devin use FEC independent expenditures?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run FEC independent expenditures like any built-in tool.
How much does FEC independent expenditures cost in Devin?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an Alexandria account to use FEC independent expenditures in Devin?
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 Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while FEC independent expenditures runs?
FEC independent expenditures runs in the background. Devin 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 independent expenditures in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


