How to Search US Government Spending in ChatGPT

Tested example · Checked . The article links the test method and recorded results; outcomes can vary. Editorial standards
To search US government spending in ChatGPT, add Toolrouter from the plugin directory, then ask ChatGPT to query federal awards. The free Government Spending tool returns contracts, grants and loans from USAspending.gov, filtered by keyword, agency, recipient, state or date.
Other assistants: Claude and OpenClaw. Setup: Connect ChatGPT.
What ChatGPT can and cannot do on its own for federal spending
This table does not describe ChatGPT's built-in features. It shows which steps need a live data source.
| Step | Needs ToolRouter? |
|---|---|
| Explain how federal contracts differ from grants | No |
| Analyse a table of awards you paste | No |
| Fetch the current largest awards for a topic | Yes |
| List agencies with budget authority and obligations | Yes |
| Break spending down by state, county or congressional district | Yes |
| Get monthly, quarterly or fiscal-year totals | Yes |
Set up ToolRouter in ChatGPT
Use the plugin directory first.
- Open Add to ChatGPT, or search "Toolrouter" at chatgpt.com/plugins.
- Connect Toolrouter.
- In a chat, enable it with @ or +.
Custom MCP is the fallback, on the web only. Availability depends on your plan and workspace policy; check OpenAI's guide and Connect ChatGPT.
- Open Settings > Security and login and look for Developer mode.
- Open ChatGPT Plugins and create a developer-mode app.
- Name it ToolRouter, paste
https://api.toolrouter.com/mcp, and select the detected OAuth sign-in. - In a conversation, choose Plus > Developer mode and enable the app.
Government Spending is read-only, which suits a read/fetch app.
The four skills
| Question you type | Skill | Key inputs |
|---|---|---|
| "Who got contracts for X?" | search_awards | keywords, recipient, agency, award_type, state, limit, sort_by |
| "Which agencies spend the most?" | list_agencies | sort_by |
| "Which states get the most?" | spending_by_geography | geo_level, award_type, dates |
| "How has spending changed?" | spending_over_time | group_by, award_type, dates |
All four are free. search_awards takes award_type values contracts, grants, loans or all, and limit up to 50.
Connect your assistant, then try the task described in this guide.
A real run
Prompt: "Find the five largest federal cybersecurity contracts. Show who got them and from which agency."
This ran on 27 November 2026 through ToolRouter's connection. The same call returns the same kind of result from any connected assistant. List price: free. Input: {"keywords":["cybersecurity"],"award_type":"contracts","limit":5}.
- LOCKHEED MARTIN CORPORATION: $666,315,748.84, Department of Defense, 2018-02-08 to 2027-01-31 (award FA862118F6251)
- AMENTUM TECHNOLOGY, INC.: $524,055,138.18, Department of Defense, 2022-09-05 to 2025-09-01 (HQ085722F8003)
- GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.: $396,604,521.78, General Services Administration, 2020-09-25 to 2025-10-24 (47QFCA20F0049)
- GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.: $232,322,763.00, Department of Defense, 2019-07-01 to 2026-11-30 (W91RUS19F0174)
- MAVERIS LLC: $219,083,824.48, Department of Veterans Affairs, 2023-09-29 to 2027-09-28 (36C10B23F0346)
Limits the run showed: results are sorted by amount and cut at five. Keywords match award descriptions, so each row needs a read before you call it a cybersecurity contract. Amounts are award values, and several awards span many years.
Run receipt: the inputs and outputs as captured.
Prompts to try next
ChatGPT keeps the result in the same chat, so build on it.
- "Group those five awards by agency and total each group. Show the arithmetic."
- "Take the Department of Defense rows and search again with agency set to Department of Defense and award_type grants. Do the same recipients appear?"
- "Now run spending_by_geography for contracts by state and tell me where Virginia ranks."
Limits and gotchas
| Limit | Detail |
|---|---|
| Rows per call | 50 at most |
| Keywords | At least 3 characters each |
| State | Two-letter code |
| Default period | Current fiscal year for geography and time skills |
| Mobile | Custom MCP apps are not available on mobile, per OpenAI's guide above |
ToolRouter is the wrong choice for a one-off question about how federal budgeting works, or when you need a certified audit trail. Use USAspending.gov directly for that.
If you are an AI agent
Read and follow https://toolrouter.com/agent-onboarding/SKILL.md, then call tool government-spending, skill search_awards, with input such as {"keywords":["cybersecurity"],"award_type":"contracts","limit":5}.
Frequently Asked Questions
Do I need a paid ChatGPT plan?
Check the directory app in your own account first. Custom MCP depends on your plan and workspace policy.
Is the tool free to run?
Yes. All four Government Spending skills are free.
Can ChatGPT chart the results?
ChatGPT can only chart what the tool returned. Run `spending_over_time`, then ask it to plot the periods and amounts in that output.
Does ToolRouter make payments or edit records?
No. The tool is read-only and returns published federal data.
Why does a contract show a future end date?
The end date is the award's scheduled end. Large federal awards often run several years.
