Usaspending
v0.2.1USAspending MCP — Federal spending data from USAspending.gov API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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.
| Parameter | Type | Description |
|---|---|---|
fiscal_year | string | Four-digit fiscal year (e.g., "2025"). Defaults to current year. |
quarter | number | Fiscal quarter (1-4). Omit for full year. |
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. Dates select awards ACTIVE in the window (not signed in it) and award_amount is the award's LIFETIME obligation, so do not sum it as spending for the period. Results are paged: 100 per page max — pass `page` (and read `page_metadata.has_next`) to reach the rest. Returns recipient, award amount, out…
| Parameter | Type | Description |
|---|---|---|
agency | string | Awarding agency — full toptier name ("Department of Defense") or the common abbreviation (DOD, DHS, VA, HHS, DOE, NASA, GSA, USDA, EPA…), which is expanded for you. |
end_date | string | End date in YYYY-MM-DD format |
include_idvs | boolean | Include umbrella contracts (indefinite delivery vehicles) as a separate `idvs` array. Default true. Leave it on: these are often a recipient's largest awards, and excluding them understates a total si… |
keywords | array | Search keywords (e.g., ["cybersecurity", "cloud"] or ["goods", "services"]) |
limit | number | Number of results per page (1-100, default 10) |
naics | string | NAICS code to filter by (e.g., "541512") |
page | number | 1-based page number (default 1). total_results can exceed limit; page through with this and read page_metadata.has_next / total_pages to reach every row. The `idvs` array is served on page 1 only. |
recipient_name | string | Contractor/recipient name (e.g., "Lockheed Martin"). Use for awards won by a company; do not put company names in keywords. Matched as a SUBSTRING of the registered legal name, so a brand name can mis… |
set_aside | string | Small-business set-aside filter. Accepts a family name ("HUBZone", "8(a)", "WOSB", "EDWOSB", "SDVOSB", "Veteran", "Small business", "Indian"), a FAR code ("HZC", "8AN", "SDVOSBC"), or the literal USAs… |
start_date | string | Start date in YYYY-MM-DD format |
state | string | Place-of-performance US state, 2-letter code (e.g., "MD", "TX"). Filters to contracts performed in that state. |
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.
| Parameter | Type | Description |
|---|---|---|
category * | string | Category to group by: naics, psc, recipient, awarding_agency, awarding_subagency |
end_date * | string | End date in YYYY-MM-DD format |
start_date * | string | Start date in YYYY-MM-DD format |
agency | string | Optional awarding agency name filter |
keywords | array | Optional keywords to filter spending |
limit | number | Number of results (1-100, default 10) |
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.
| Parameter | Type | Description |
|---|---|---|
recipient_name * | string | Recipient/contractor name to search for (e.g., "Lockheed Martin"). Matched as a substring of the registered legal name; a known brand name that matches nothing is retried under its legal name (`recipi… |
end_date | string | End date in YYYY-MM-DD format |
limit | number | Number of results (1-100, default 10) |
start_date | string | Start date in YYYY-MM-DD format |
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.
| Parameter | Type | Description |
|---|---|---|
agency | string | Awarding agency name. Use instead of, or alongside, keywords. |
end_date | string | End date YYYY-MM-DD. Optional — defaults to today. |
group | string | Time grouping: fiscal_year, quarter, or month (default fiscal_year) |
keywords | array | Keywords to track spending for (e.g., ["artificial intelligence"]) |
start_date | string | Start date YYYY-MM-DD. Optional — defaults to five years ago; the window actually used comes back under `period`. |
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.
| Parameter | Type | Description |
|---|---|---|
agency | string | Awarding agency, substring match (e.g. "Department of Veterans Affairs", "Defense"). |
limit | number | Max awards to return (default 25, max 200). |
min_amount | number | Minimum total OBLIGATED dollars on the award (not the ceiling). 10000000 for "over $10M". |
months_ahead | number | Window size in months from today (default 12). |
naics | string | NAICS code or prefix. Hierarchical: "5415" matches all 6-digit computer-services codes beneath it. |
psc | string | Product/Service Code or prefix (e.g. "D3" for IT services). |
recipient | string | Incumbent contractor name, substring match. |
sub_agency | string | Awarding sub-agency, substring match (e.g. "Veterans Health Administration"). |
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.
| Parameter | Type | Description |
|---|---|---|
recipient * | string | Contractor name, substring match (e.g. "Leidos", "Booz Allen"). |
limit | number | How many upcoming expirations to list (default 10, max 100). |