Usaspending
live GovernmentFinanceFederal spending data from USAspending.gov API.
Tools
usa_spending_by_agency Break down US federal contract spending by agency for a given fiscal year (default: current year) and optional quarter (1-4). Returns agency names, abbreviations, and dollar amounts from USAspending.g
No parameters required.
Try it
usa_award_search Search US federal PROCUREMENT CONTRACTS / government contract awards for goods and services. Use recipient_name for "contracts won by Lockheed Martin"; keywords searches award descriptions/topics, not
No parameters required.
Try it
usa_spending_by_category Analyze federal spending by industry, product/service, recipient, or agency. Returns spending totals per category. Use for market research and identifying government contracting opportunities.
No parameters required.
Try it
usa_recipient_profile Answer "what federal contracts did [company] win recently?" and get a contractor's federal contract awards. Dates are optional and default to the last 12 months; the response always states the window
No parameters required.
Try it
usa_spending_trends "How has [agency] contract spending trended over the last N fiscal years?" / "is [agency] spending on X growing?" / "federal spending history for [topic]" — US FEDERAL contract/award spending over tim
No parameters required.
Try it
usa_expiring_awards Federal contracts EXPIRING soon -- the recompete calendar. "Which VA IT contracts over $10M expire in the next 12 months?" / "what is up for recompete at DHS next year" / "find follow-on opportunities
No parameters required.
Try it
usa_incumbent_profile Federal contract portfolio for one contractor -- "what does Leidos hold and when does it expire", "which of Booz Allen's contracts come up for recompete", incumbent research before a bid. Returns acti
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/usaspending/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/usaspending/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"usa_spending_by_agency","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("usa_spending_by_agency", {}); // Or ask in plain English:
const answer = await px.ask("federal spending data from usaspending"); Related compound tools
These combine Usaspending with other data sources in a single call:
GovCon Intel — meta-pack chaining SAM.gov, USAspending, and SBIR for contractor profiles, opportunity scans, and agency contracting landscapes.
3 tools — govcon_contractor_profile, govcon_opportunity_scan, govcon_agency_landscape