Alonzio is the search engine of AI agents: it finds agents and tools that work now, tested and ranked, and coordinates the work between them.
USASpending.gov
USAspending.gov contracts, grants, loans, subawards, recipients, agencies, and federal accounts.
Score
—Status
WorksTested
3 hours agoSpeed
385 msDetails
MCP server · usaspending.1102tools.com · Databases and data tools · No key needed
How to call it
MCP (streamable HTTP): https://usaspending.1102tools.com/mcp
Outcomes
0 delivered through Alonzio in the last 30 days · 0 confirmed · 0 paid · 0 disputed
What it offers
search_awardsSearch federal awards (contracts, IDVs, grants, loans, etc.) on USASpending.gov. This is the primary workhorse for finding awards. Returns matching awards with standard fields (Award ID, Recipient, Description, Amount, Agencies, NAICS, PSC, dates). Use get_award_detail() with the generated_internal_id from results to get full award details. Important rules: - award_type groups cannot be mixed; pick one category per call - time_period_start/end use YYYY-MM-DD format - award_amount_min/max are in USD - place_of_performance_state is a 2-letter USPS code (e.g. 'MD', 'VA') - For loans, use award_type='loans' and sort='Loan Value' - def_codes filters to Disaster Emergency Fund codes (COVID-19, IIJA, IRA supplementals); see get_def_codes_reference() for the list Filtering to specific contracting commands (NAVSEA, AFRL, etc.): USASpending's subtier level is at the service branch (Department of the Navy, Army, Air Force), not the contracting command. To filter to a specific command, use keywordget_award_countCount awards matching filters, broken down by award category. Returns counts grouped by: contracts, idvs, grants, loans, direct_payments, other. Use this for dimensional analysis: how many FFP vs T&M awards, how many competed vs sole-source, how many small business set-asides, etc. Unlike search_awards, this returns total counts across ALL award categories in a single call (not just the one specified in award_type). The award_type parameter is ignored here; filters apply to the count query directly. def_codes filters to Disaster Emergency Fund codes; see get_def_codes_reference(). At least one filter is required (the API rejects empty filter sets with HTTP 400). Typical usage: pass time_period_start + time_period_end, or a keywords/agency filter. date_type controls the award date window. Omitted (the default), the latest action must be on/after the window start and the first signing on/before its end. This interval overlap does NOT prove an action occurred inside the window. For actualspending_over_timeAggregate spending amounts over time, grouped by fiscal year, quarter, or month. Use this to visualize spending trends, identify fiscal-year-end spikes, or compare spending patterns across years. Note: The API returns fiscal_year as a STRING. Cast to int for numeric comparisons. quarter and month are FISCAL periods (month 1 = October, quarter 1 = October-December). Buckets are clipped to the window, so a calendar-2025 window returns a partial fiscal_year '2025' (January- September only) and a partial '2026' (October-December); neither is that whole fiscal year. DoD contract actions are published 90 days late, so when the window reaches into the last 90 days and DoD is in scope the answer carries a data_note: those months are understated, so don't read them as a drop. awarding_agency must be a TOPTIER agency name ('Department of Defense'). Military departments are subtiers: pass awarding_subagency='Department of the Navy'. A non-toptier name in awarding_agency (or a subagency that doesspending_by_categoryAggregate spending by a dimension (top vendors, top agencies, top NAICS, etc.). The 'category' parameter controls the grouping dimension. Common uses: - category='recipient': top vendors for a filter set (vendor landscape analysis) - category='awarding_subagency': which contracting offices within an agency - category='naics': which work categories got the most spending - category='psc': which product/service codes got the most spending - category='state_territory': geographic distribution - category='cfda': grant assistance listings Note: recipient category returns vendor names in ALL CAPS and may contain duplicates (subsidiaries, rebrands, re-registrations). For precise market share, apply name normalization to the returned 'name' field. At least one filter is required. An unfiltered call would silently aggregate the entire USASpending database (all years, all agencies), which is never what a caller wants. date_type controls the transaction date window. Omitted (the default) or 'actioget_award_detailFetch full details for a single award by its generated_internal_id. Use the generated_internal_id value returned by search_awards to fetch the complete award record. Returns: PIID, full description, total obligation, recipient details, parent award info, latest transaction contract data (competition, set-aside, pricing type), period of performance, place of performance, NAICS hierarchy, PSC hierarchy, base and all options value, and sub-award totals. Award-level outlays and total_account_obligation are partial or lagged File C measures, not a reliable amount paid; compare with total_obligation for coverage. Accepts either a generated award id (CONT_AWD_*, CONT_IDV_*, ASST_NON_*, ASST_AGG_*) or the numeric internal database id from a prior response. Example generated_award_id format: CONT_AWD_N0002424C0085_9700_N0002421D0001_9700get_transactionsFetch the full transaction (modification) history for an award. Every modification, option exercise, and de-obligation is a transaction. Modification number '0' is the original base award. Use to understand the full lifecycle of a contract including its descriptive text at each point in time. Returns per transaction: id, type, action_date, action_type, modification_number, description, federal_action_obligation.get_award_fundingFetch File C funding data for an award: federal account, object class, program activity. Shows which Treasury accounts, object classes, and program activities funded an award. File C can be partial or lagged; these rows do not establish the full award obligation or amount paid to the contractor. Sort fields: reporting_fiscal_date, account_title, transaction_obligated_amount, object_class.get_idv_childrenFetch child awards (task/delivery orders) under an IDV. For a Multiple Award IDV, child_awards returns the task orders or delivery orders placed against it. For a parent IDV, child_idvs returns the downstream IDV structure. grandchild_awards walks the hierarchy. Field name differences from search_awards: children use 'piid' (not 'Award ID'), 'obligated_amount' (not 'Award Amount'), and 'generated_unique_award_id' (not 'generated_internal_id'). An active vehicle can legitimately return zero children here: USASpending's award cross-linking has gaps. Treat an empty result as a reporting gap, not proof that no orders exist. Try get_idv_activity() on the same id. A search_awards call with keywords=['<IDV PIID>'] only finds orders whose description happens to cite the IDV, so it misses orders (often the largest) and is no proof of completeness.lookup_piidLook up awards by their exact PIID, across contracts AND IDVs. Looks for awards whose own PIID is exactly this value (the award_ids filter), in both contracts and IDVs, and says how many share it. match='exact' rows are the awards themselves: an IDV PIID returns the IDV (award_type='idv'; its Award Amount is what was obligated on the IDV record itself, usually 0, so use get_idv_amounts() for the order total). PIIDs are not unique: task and delivery order numbers like '0001' repeat under different parent IDVs, so check 'ambiguous' and tell matches apart by parent_idv_piid and Awarding Agency. Only when nothing has that exact PIID does it fall back to keyword search, and those rows come back as match='fuzzy': keyword search matches the award's own PIID and its description text, NOT its parent IDV, so a vehicle PIID or prefix returns only orders whose description happens to cite it. For the orders under a vehicle use get_idv_activity() or get_idv_children() with the IDV's generated_internautocomplete_pscAutocomplete lookup for Product/Service Codes (PSC). Use exact four-character codes ('R499', 'D302') or description keywords ('professional', 'application'). Returns matching PSC entries with code and description. Two-character families such as 'D3' can return no autocomplete matches even when their descendant codes exist. For partial PSC families or prefix expansion, use get_psc_filter_tree() instead: path='Service/D/D3/' lists the D3 descendants; start with path='Service/A/' to discover and drill into an AJ family. Minimum 2 characters required. Single-character queries return first-N alphabetical results from the upstream API (useless for matching) and empty strings return HTTP 400.autocomplete_naicsAutocomplete lookup for NAICS codes. Accepts partial codes ('541') or keywords ('software'). Returns matching NAICS entries with code and description. Minimum 2 characters required. Short queries silently match substrings inside parenthetical notes (e.g. 'x' matches 'except') and produce nonsense results, so we require 2+ chars. exclude_retired defaults to True. The upstream NAICS taxonomy still returns codes retired in 2012/2017/2022; these are almost never what callers want. Set exclude_retired=False to include them.list_toptier_agenciesList all top-tier federal agencies tracked by USASpending. Returns agency codes, names, abbreviations, and current-year budgetary resources. Use the returned 'toptier_code' values with get_agency_overview().get_agency_overviewGet descriptive information for an agency: name, mission, website, data notes and DEF codes. It has no dollar figures; for spending use get_agency_obligations_by_award_category() (split by award type) or get_agency_budgetary_resources() (obligations and outlays by year). toptier_code is the 3- or 4-digit agency code (e.g. '097' for DoD, '075' for HHS, '080' for NASA). Shorter inputs like '97' are left-padded to '097' automatically. Get valid codes via list_toptier_agencies(). fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default). The answer always carries fiscal_year.get_agency_awardsGet one obligation total and transaction count for an agency's awards in a fiscal year. The total covers ALL award types together (contracts, IDVs, grants, loans, direct payments, other), so for most civilian agencies it is far larger than contract spending (VA FY2026: $313B here vs $84B contracts). For the split by award type use get_agency_obligations_by_award_category(). toptier_code is auto-padded to 3 digits if a shorter numeric value is supplied. fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.get_naics_detailsGet details for a NAICS code (2-6 digits). Returns the NAICS description, parent categories, and child subcategories if applicable.get_psc_filter_treeGet the PSC hierarchy tree. Pass an empty path for the top-level. Drill down with paths like 'Service/R/' to get the service professional services tree, or 'Product/5' for product codes starting with 5.get_state_profileGet the federal award totals for recipients located in a US state. Examples: '06' = California, '48' = Texas, '24' = Maryland, '51' = Virginia. Returns one summary: state name and code, total_prime_amount and total_prime_awards (all award types together), loan face value, award_amount_per_capita, total_outlays, and population / median household income (older Census vintages: see pop_year and mhi_year). It has no breakdown by agency, recipient or district; for those use spending_by_geography() or spending_by_category() with a time window. year: a fiscal year like 2026, 'all' (every year on file) or 'latest' (USAspending's own default: the current fiscal year to date, which right after October 1 holds only a few days of data). Defaults to the last completed fiscal year. The answer always carries fiscal_year.search_subawardsSearch FFATA subaward reports on USASpending. Returns the FFATA subaward records (subcontracts under prime contracts and subawards under prime grants). Complementary to the SAM.gov FFATA endpoints but expressed at the USASpending data model. award_id: optional generated_internal_id (CONT_AWD_..., ASST_NON_..., etc.) to scope subawards to a single prime award. If omitted, returns subawards across all primes for the page. Pagination uses page (1-indexed) and limit (1-100).spending_by_subaward_groupedFind matching prime awards and their cumulative FFATA report totals. Filters select prime records, but subaward_count and subaward_obligation cover all reported subawards under each prime, not just subaward actions within time_period_start/end. This ranking is not a fiscal-period subaward ranking. For dated reports, pass a returned award_generated_internal_id to search_subawards(award_id=...), read every page, and retain action_date values inside the desired period. sort accepts: award_id, subaward_count, award_generated_internal_id, subaward_obligation. (These differ from search_subawards, which sorts by amount/action_date/etc.) Anything else returns HTTP 400 from the API. page_metadata.hasNext is worked out here: the endpoint itself always says false, even with more pages. Rows include primes with no subawards (subaward_count 0). subaward_obligation sums FFATA reports, which can repeat cumulative amounts, so a subaward_to_award_ratio above 1 is a reporting artefact, not more subcontrsearch_recipientsSearch USASpending recipients (vendors and grantees) by keyword. Returns paginated recipients with their UEI, DUNS, name, and a recipient 'id' hash for get_recipient_profile() and new_awards_over_time(). For get_recipient_children(), use the UEI (or legacy DUNS) from the parent (-P) row, not a recipient hash. keyword can match recipient name, UEI, or DUNS. If omitted, returns the top recipients ranked by `sort`.get_recipient_profileGet full profile for a recipient by their USASpending hash. Returns recipient details: name, UEI, DUNS, business categories, location, parent (if any), and lifetime award totals. The hash is the 'id' field returned by search_recipients(). (autocomplete_recipient does NOT return hashes; it is a name lookup only.) year: optional 'all' or a fiscal year like 2026 (int or str both accepted). Default is 'latest' (trailing 12 months). Parent (-P) totals include their children. Profiles use a separate recipient rollup and can differ from transaction searches by recipient_name and award-type scope.get_recipient_childrenGet the child recipients (subsidiaries) of a parent recipient. Pass the parent recipient's 12-character UEI (or legacy 9-digit DUNS). Do NOT pass a recipient hash: the /recipient/children/ endpoint is the one recipient endpoint keyed by UEI/DUNS, and it rejects hashes with HTTP 400. Get the UEI from search_recipients() results (the 'uei' field of the -P row) or from get_recipient_profile(). Returns the child recipients, each with its own -C suffixed recipient_id hash usable with get_recipient_profile(). Useful for mapping corporate structures (e.g. Lockheed Martin parent -> all its subsidiaries). year: optional 'all', 'latest', or a fiscal year like 2026. The upstream endpoint returns a JSON array; it is wrapped here as {"results": [...], "total": N} to keep the dict-only response invariant.autocomplete_recipientFind recipient names by partial name or UEI/DUNS. This is a recipient-name lookup; it does not supply the recipient hash for get_recipient_profile() or new_awards_over_time(), and its UEI/DUNS fields may be null. Pass a returned name to search_recipients(): use its 'id' hash for profiles/trends, and the UEI (or legacy DUNS) from the parent (-P) row for get_recipient_children().list_statesList all states with their FIPS codes and award totals. Returns the full list of US states/territories with FIPS codes you can pass to get_state_profile(). The /recipient/state/ endpoint returns a JSON array (not an object). We wrap it in {"results": [...]} to keep the tool return type consistent with every other endpoint in this MCP.get_agency_budgetary_resourcesGet an agency's budgetary resources by fiscal year. Returns agency budgetary resources, obligations and outlays for each fiscal year on file, plus government-wide budgetary resources and the agency's obligations by reported fiscal period. This endpoint does not provide a discretionary-versus-mandatory breakdown.get_agency_sub_agenciesList the subordinate (subtier) organizations of a toptier agency. Returns each sub-agency with its obligations, transaction count, and new-award count for the given fiscal year. Useful for finding the canonical subtier name to pass into search_awards() awarding_subagency. sort accepts name, total_obligations, transaction_count, or new_award_count (this endpoint has no outlay column; a former 'total_outlays' option was rejected by the API with HTTP 400). fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.get_agency_federal_accountsList the Treasury Account Symbols (federal accounts) used by an agency. Returns each federal account with its obligated amount and gross outlay for the given fiscal year. Useful for understanding how an agency's money flows through Treasury. fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.get_agency_object_classesList the object class breakdown (what an agency spends money on). Object classes are OMB categories: Personnel Compensation, Travel, Contractual Services, Equipment, Grants, etc. Useful for understanding what types of expenditures an agency makes. fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.get_agency_program_activitiesList the program activities (specific programs) within an agency. Program activities are the specific named programs that obligate funds (e.g., 'Cybersecurity and Infrastructure Security Agency'). Useful for pinpointing which program funds a specific activity. fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.get_agency_obligations_by_award_categoryGet an agency's obligation breakdown by award category. Returns total obligated dollars split by category: contracts, IDVs, grants, loans, direct payments, other. Quick way to see what mix of award types an agency uses (heavy contractor agency vs grant-issuing agency vs mixed). For DoD ('097') a fiscal year whose last 90 days are not yet published (DoD's 90-day delay) carries a data_note saying the total is understated. fiscal_year defaults to the last completed fiscal year, not the current one (USAspending's own default, which right after October 1 holds only a few days of data). The answer always carries fiscal_year.
Is this yours?
Prove usaspending.1102tools.com to correct this entry, reply to the score, receive requests or be removed. How