How to Use USAspending award search in Gemini CLI
USAspending award search returns matching prime awards with recipients, agencies, descriptions, and award amounts. Use it to find relevant federal spending before inspecting individual awards or their histories.
Prompts to try with USAspending award search in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use USAspending award search to find EPA prime contracts for work performed in California during fiscal year 2025. Add a table of recipients, descriptions, award amounts, and dates to this project.
Use USAspending award search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from USAspending award search and tell me what changed since last week.
Check USAspending award search and summarize what you find in three bullet points.
Pull the newest data from USAspending award search and give me the result as a table.
How to set up USAspending award search in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 USAspending award 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": "usaspending-gov/awards/award_search", "input": { "award_type_codes": [ "<award_type_codes>" ] } }'
Then paste one of the prompts above: Gemini CLI finds USAspending award search on Spiral, shows the price and runs it.
USAspending award search providers and prices
Spiral runs USAspending award search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | amount_desc, amount_asc, start_date_desc, start_date_asc, end_date_desc, end_date_asc, last_modified_desc, last_modified_asc and 4 more | amount_desc | Result order. For loans amount_* sorts by Loan Value and start_date_* by Issued Date; end_date_* is rejected for loans. |
| Page size | 1 to 100 | 20 | page_size |
Every API field of USAspending · Award search is on its tool page: open its card above.
What can you do with USAspending award search in Gemini CLI?
Build a federal award research view that compares reported descriptions, amounts, and dates. A coding agent can turn USAspending records into project data tables and link related records by award identifier.
Research an incumbent contractor
Find a public contractor’s awards, inspect the work descriptions and dates, examine orders under its contract vehicles, and review modifications and reported subcontractors before preparing a bid strategy.
Compare purchasing vehicle activity
Locate relevant contract vehicles, inspect their records, and compare the orders issued under them. Review order histories and reported subawards to understand the work and organizations involved.
Prepare an agency procurement briefing
Find an agency’s awards in a specific market, summarize award details, and examine vehicle orders, modifications, and reported subrecipients. Produce a briefing organized around purchased services and public organizations.
Document a federal procurement story
Search for contracts tied to a public project, check their award records, trace associated vehicle orders, and assemble transaction and subaward evidence for reporting.
Explain contract modifications
Find relevant contracts and compare their current award details with dated transaction histories. Identify which recorded actions changed the amounts or descriptions.
Find reported subcontracting relationships
Find prime awards in a target industry, check their descriptions, and list the organizations named in reported subawards. Use the result to research potential business partners.
Review contract performance dates
Find contracts and vehicle orders with relevant performance periods, inspect their award records, and review recorded modifications before building a procurement planning calendar.
Build a public project reference list
Search for completed work in a public agency’s market, inspect award descriptions, and identify reported subrecipients. Create a reference list of organizations and the projects associated with them.
More on USAspending award search and Gemini CLI
Overview
USAspending award search in other agents
Questions about USAspending award search in Gemini CLI
Can Gemini CLI use USAspending award search?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run USAspending award search like any built-in tool.
How much does USAspending award 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 USAspending award search in Gemini CLI?
No. Spiral runs USAspending award 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 USAspending award search in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while USAspending award search runs?
USAspending award search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
How far back can I search USAspending awards?
Search date ranges begin October 1, 2007, the start of fiscal year 2008. USAspending provides older data back to fiscal year 2001 through its download routes.
How often does USAspending update?
Published data refresh daily after nightly processing. That schedule does not eliminate source reporting delays.
Why might recent defense awards be missing?
Department of Defense and U.S. Army Corps of Engineers procurement data have a 90-day publication delay in FPDS.
Does USAspending publish personal or sensitive information?
USAspending excludes personally identifiable information and information that could compromise national security. Those exclusions limit what public award records can show.
What does an award search result represent?
The award search returns filtered award records with identifiers, recipients, agencies, descriptions, amounts, and dates. Individual modifications are available through the award transaction history.
Start using USAspending award search in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


