MCP server exposing 7 tools for usaspending.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/usaspending/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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.gov.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 contractor identity. Dates are optional and default to the last 12 months for "recent" questions. Returns recipient, award amount, dates, and contract type.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.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 used.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 time from USAspending.gov, grouped by fiscal year, quarter, or month. Filter by keywords or by federal agency (DHS/Homeland Security, DOD/Defense, HHS, VA, DOE, NASA, State, Treasury). Returns the historical dollar amount per period for trend and budget-forecasting questions. Federal only — for state & county award data use gov_contracts_search.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 in NAICS 5415" / "whose contract is ending". Returns the incumbent holding each award, its period of performance, obligated dollars, agency, NAICS/PSC, and a usaspending.gov link. Filter by agency, sub-agency, NAICS or PSC prefix, incumbent name, and minimum obligated dollars. Covers awarded CONTRACTS already held by a vendor; for open solicitations still accepting bids use samgov/govcon tools.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 active award count, total obligated, ceiling, expirations at 6/12/18 months, top agencies and NAICS, and the next awards to expire with dates.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/usaspending/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io