Usaspending

live GovernmentData

USAspending MCP — Federal spending data from USAspending.gov API

5 tools
0ms auth
free tier 50 calls/day

Tools

usa_spending_by_agency

Get federal spending breakdown by agency for a given fiscal year and optional quarter. Shows how much each agency has spent.

No parameters required.

Try it
usa_spending_by_category

Get federal spending broken down by category: NAICS code, PSC (product/service code), recipient, awarding agency, or awarding subagency. Useful for market analysis.

No parameters required.

Try it
usa_recipient_profile

Get a specific contractor or recipient

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("usaspending mcp — federal spending data from usaspending");

Related compound tools

These combine Usaspending with other data sources in a single call:

GovCon Intel MCP — Compound tools that chain SAM.gov, USAspending,

3 tools — govcon_contractor_profile, govcon_opportunity_scan, govcon_agency_landscape