How to Use LDA contribution report search in opencode
Returns matching LD-203 reports covering disclosed contributions and certain expenses. Use it to locate reports mentioning a PAC or campaign committee before examining their itemized entries.
Prompts to try with LDA contribution report search in opencode
Copy an example into opencode, or ask in your own words.
Use LDA contribution report search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from LDA contribution report search and tell me what changed since last week.
Check LDA contribution report search and summarize what you find in three bullet points.
Pull the newest data from LDA contribution report search and give me the result as a table.
Check LDA contribution report search every morning and tell me only when something changed.
How to set up LDA contribution report search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 LDA contribution report 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": "lda-gov/lobbying-disclosures/search_contributions", "input": { "sort": "newest_posted" } }'
Then paste one of the prompts above: opencode finds LDA contribution report search on Spiral, shows the price and runs it.
LDA contribution report search providers and prices
Spiral runs LDA contribution report search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | newest_posted or oldest_posted | Order by posting time. Omit for lda.gov's default order. | |
| Page size | 1 to 25 | 25 | Results per page (lda.gov caps pages at 25). |
| Amount max | a number from 0 | An item of at most this amount, US dollars. | |
| Amount min | a number from 0 | An item of at least this amount, US dollars. | |
| Filing type | MM, MA, YY, or YA | MM mid-year, MA mid-year amendment, YY year-end, YA year-end amendment. | |
| Filing year | 2008 to 2100 | Reporting year (LD-203 reports exist from 2008). | |
| Lobbyist ID | a number from 1 | Lobbyist id. | |
| Filing period | mid_year or year_end | filing_period | |
| Registrant ID | a number from 1 | Registrant id from search_registrants. | |
| Contribution type | feca, he, me, ple, or pic | Item type: feca (FECA contribution), he (honorary expenses), me (meeting expenses), ple (presidential library), pic (presidential inaugural committee). | |
| Exclude lobbyist reports | on or off | true keeps only reports filed by organizations (registrants), dropping individual lobbyists' reports. |
Every API field of Lobbying Disclosure Act filings (lda.gov) · Search contributions is on its tool page: open its card above.
What can you do with LDA contribution report search in opencode?
Build a federal lobbying research table that connects organizations to their disclosed activity and contribution reports. Coding agents can turn the returned records into project data files while preserving separate client, registrant, filing, and contribution records.
Prepare a corporate government affairs brief
Resolve a company's client records and lobbying firms, read its reported issues and finances, and add separately labeled LD-203 disclosures mentioning its PAC.
Research a lobbying firm before selection
Check the firm's identity, examine its disclosed client relationships and policy work, and review separately identified contribution reports relevant to the firm's PAC.
Compare public affairs activity across peers
Build a period-by-period comparison of companies' representation, reported lobbying topics, finances, and PAC disclosures. Keep lobbying income, organizational expenses, and contributions in separate columns.
Assemble a newsroom evidence packet
Collect organization records, lobbying filings, and relevant contribution reports for a corporate policy story. Give editors the underlying records alongside each proposed factual statement.
Review campaign committee mentions in LD-203 reports
Find reports naming a campaign committee as payee, then examine contribution dates, amounts, contributors, and honorees in the underlying reports.
More on LDA contribution report search and opencode
Overview
LDA contribution report search in other agents
Questions about LDA contribution report search in opencode
Can opencode use LDA contribution report search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run LDA contribution report search like any built-in tool.
How much does LDA contribution report search cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use LDA contribution report search in opencode?
No. Spiral runs LDA contribution report 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 LDA contribution report search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while LDA contribution report search runs?
LDA contribution report search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What records does LDA.gov cover?
It publishes federal lobbying registrations on LD-1, quarterly lobbying activity reports on LD-2, and contribution reports on LD-203. Client and registrant records identify the organizations involved in those disclosures.
How current is the reported activity?
Lobbying activity reports cover quarters and are due within 20 days after quarter-end, with a business-day adjustment. Contribution reports cover half-year periods, so these records describe reporting periods rather than today's activity.
How far back do contribution disclosures go?
The first required LD-203 reports were due July 30, 2008. This database covers LD-203 disclosures rather than the full universe of political contributions.
How many search results can I retrieve at once?
The provider documents 25 records per page with continuation. A first page can therefore represent only part of the matching disclosures or organization records.
Are lobbying amounts exact accounting figures?
Lobbying income and expenses are good-faith estimates. Reportable amounts of at least $5,000 are rounded to the nearest $10,000, which limits the precision of spending comparisons.
Start using LDA contribution report search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


