Usaspending

live GovernmentFinance

Federal spending data from USAspending.gov API.

7 tools
0ms auth
free tier 50 calls/day

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_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_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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/usaspending/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("usa_spending_by_agency", {});
ask_pipeworx
// 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