usaspending-mcp-server
io.github.cyanheads/usaspending-mcp-server
MCP server OK 18 tools
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/usaspending-mcp-server
- Site
- —
- Version
- 0.7.4
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://usaspending.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/usaspending-mcp-server 0.7.4 npm stdio
@cyanheads/usaspending-mcp-server 0.7.4 npm Streamable HTTP - Tools
- 18
- Categories
- —
- Last updated
- 26 Nov 2026
- Published
- 26 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/usaspending-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/usaspending-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/usaspending-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/usaspending-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/usaspending-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/usaspending-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://usaspending.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 11:28
- Response time
- 1,412 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- usaspending-mcp-server 0.7.4
- Tools
- 18
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:28 | OK | 1,412 ms | 18 |
Exposed tools (18, from tools/list, 28 Nov 2026)
usaspending_list_agencies
List Federal Agencies
List top-tier federal agencies with toptier codes, agency slugs, budget authority amounts, and obligation totals for the latest reported period. Returns the full directory unless limit is supplied; optional pagination slices the provider-sorted directory. Use this as the entry point for agency navigation — toptier codes and agency slugs are required inputs for usaspending_get_agency and agency-based filters on spending analysis tools.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sort | enum: "agency_name" | "budget_authority_amount" | "obligated_amount" | "outlay_amount" | no | Sort field: agency_name (alphabetical), budget_authority_amount, obligated_amount, or outlay_amount |
| order | enum: "asc" | "desc" | no | Sort direction: asc or desc |
| limit | integer | no | Agencies per page; omitted returns the full directory. No maximum. |
| page | integer | no | Page number when limit is supplied (defaults to page 1); ignored without limit. |
usaspending_autocomplete_filters
Autocomplete Codes and Names
Look up valid code values for filter fields by searching free-text descriptions. Use the type parameter to select the lookup table: naics (NAICS industry codes), psc (product/service codes), cfda (CFDA/Assistance Listing program numbers), def_code (Disaster/Emergency Funding codes by code, appropriation title, or public law), awarding_agency and funding_agency (agency and sub-agency names from the awarding and the funding directory, each with its tier and top-tier parent — agency_name takes an awarding_agency match and funding_agency_name a funding_agency match; a sub-tier name shared by several parents matches under all parents), recipient (recipient names with UEI/DUNS), or location (US state, county, and congressional district names, resolved to the codes the location filters and usaspending_spending_by_geography shape_codes take). Call this before filtering awards when you know a description but not the exact code. Returns matching codes and names for use in other tool filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | enum: "naics" | "psc" | "cfda" | "awarding_agency" | "funding_agency" | "recipient" | "location" | "def_code" | yes | Lookup table to search: naics (industry codes), psc (product/service codes, for psc_codes), cfda (Assistance Listing program numbers, for assistance_listings), def_code (Disaster/Emergency Funding codes, for def_codes), awarding_agency (awarding agency and sub-agency names, for agency_name), fundin… |
| search_text | string | yes | Free-text search string. For def_code, use an exact code or part of an appropriation title or public law. For other lookups, use a description, keyword, or partial code. |
| limit | integer | no | Maximum number of results to return. Default 10, at most 500 per call. Agency matches combine independently capped top-tier then sub-tier buckets, preserving their order without deduplicating names; offices are excluded. Location matches combine state, then county, then district rows, and upstream… |
usaspending_search_awards
Search Federal Awards
Search federal awards by keyword, recipient, agency, award type, NAICS code, assistance listing (CFDA) number, PSC, DEF code, extent competed, set-aside, contract pricing, location, or date range. Location filters by place of performance (location_filter, or filters.place_of_performance_location, which overrides it) or by where the recipient is based (filters.recipient_location). The contract filters extent_competed_type_codes, set_aside_type_codes, and contract_pricing_type_codes take the FPDS codes usaspending_get_award returns: 1–8 letters or digits, sent uppercased; an empty list is unset, several values match any of them, and an unknown code matches nothing. Only contracts and IDVs carry these codes, so a call whose award types include an assistance code is rejected as contract_filters_type_mismatch. Returns ranked award summaries including recipient names, amounts, awarding agencies, and generated award IDs for use with usaspending_get_award; loan rows carry loan value, subsidy cost, and issue date in place of award amount and dates. Rows carry the recipient_id that opens usaspending_get_recipient, and the recipient UEI, when upstream has them; page_metadata.total counts every match for the call's filters and award_type_codes. Page numbers reach results up to a 50,000-result offset (page × limit); past it, continue with last_record_sort_value and last_record_unique_id from page_metadata, which the upstream returns only while page × limit is under 10,000, so capture the…
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyword | string | no | Full-text search across award descriptions, recipient names, and place names; effective keywords need at least three characters without trimming; empty is unset |
| award_type_codes | array<string> | no | Filter by award type codes. All codes must belong to a single group: A/B/C/D (contracts), IDV_A/IDV_B/IDV_B_A/IDV_B_B/IDV_B_C/IDV_C/IDV_D/IDV_E (IDVs), 02/03/04/05/F001/F002 (grants), 06/10/F006/F007 (direct payments), 07/08/F003/F004 (loans), 09/11/-1/F005/F008/F009/F010 (other assistance). Defaul… |
| agency_name | string | no | Awarding top-tier or sub-tier agency name. Use the matched name from usaspending_autocomplete_filters type=awarding_agency, or toptier_name to select the whole parent department. A sub-tier name shared by several parents matches under all parents. Exact case-insensitive names and unambiguous abbrev… |
| funding_agency_name | string | no | Funding top-tier or sub-tier agency name. Use the matched name from usaspending_autocomplete_filters type=funding_agency. Exact case-insensitive names and unambiguous abbreviations resolve to the directory spelling. When agency_name is also supplied, awards must match both roles. |
| recipient_name | string | no | Filter by recipient name (partial match); maps to this endpoint's recipient_search_text. This endpoint has no recipient_id filter — use usaspending_search_recipients to look up a recipient by name. |
| naics_codes | array<string> | no | NAICS codes: canonical 2, 4, or 6 digits; recognized ASCII integer aliases normalize whitespace, plus, leading zeros and digit underscores; unclassified spellings remain provider-validated. Use usaspending_autocomplete_filters type=naics to look up codes. |
| assistance_listings | array<string> | no | Filter by Assistance Listing (CFDA) program numbers, e.g. ["15.507"]: two digits, a dot, then three digits or capital letters (11.67A). Matches an award when any of its listings equals one of these exactly; several values match any of them. A matching award's primary listing can differ from the one… |
| psc_codes | array<string> | no | Filter by Product and Service Codes (PSC), e.g. ["Y1NE"]: 1–4 letters or digits, sent uppercased. A shorter code covers every code under it ("Y1" covers "Y1NE"); several values match any of them. Only contracts and IDVs carry a PSC, so a call whose award types are all assistance types is rejected a… |
| def_codes | array<string> | no | Filter by Disaster Emergency Fund Codes (DEF), e.g. ["Z"], or ["L", "M", "N", "O", "P"] for COVID-19: 1–3 letters or digits, sent uppercased. Discover codes with usaspending_autocomplete_filters type=def_code. Matches awards of any type funded under any of these codes. Amounts cover the whole match… |
| extent_competed_type_codes | array<string> | no | Filter by extent competed, the competition.extent_competed.code usaspending_get_award returns: A full and open competition, B not available for competition, C not competed, D full and open after exclusion of sources, E follow-on to competed action, F competed under simplified acquisition procedures… |
| set_aside_type_codes | array<string> | no | Filter by set-aside type, the competition.type_set_aside.code usaspending_get_award returns: NONE no set-aside used, SBA small business total, SBP small business partial, 8A 8(a) competed, 8AN 8(a) sole source, 8AC SDB 8(a) set-aside, HZC HUBZone, HZS HUBZone sole source, HS2 HUBZone and 8(a), HS3… |
| contract_pricing_type_codes | array<string> | no | Filter by contract pricing type, the contract_pricing.code usaspending_get_award returns: J firm fixed price, K fixed price with economic price adjustment, L fixed price incentive, M fixed price award fee, A fixed price redetermination, B fixed price level of effort, R cost plus award fee, S cost n… |
| time_period | object | no | Filter awards by date range (action date). Omit both bounds or leave both blank to query USAspending's available coverage without a date filter. One blank end is filled and named in the notice. |
| location_filter | object | no | Filter by place of performance. Takes codes, not place names — resolve a state or county name to its code with usaspending_autocomplete_filters type=location. Blank fields are ignored, and an all-blank object is no location filter. The location sent is echoed as applied_location. |
| sort | enum: "Award Amount" | "Total Outlays" | "Start Date" | "End Date" | "Loan Value" | "Subsidy Cost" | "Issued Date" | "Recipient Name" … | no | Sort field for results. Loans (07/08/F003/F004) sort by Loan Value, Subsidy Cost, Issued Date, Recipient Name, or Awarding Agency, defaulting to Loan Value. Every other group sorts by Award Amount, Total Outlays, Start Date, End Date, Recipient Name, or Awarding Agency, defaulting to Award Amount —… |
| order | enum: "asc" | "desc" | no | Sort direction |
| limit | integer | no | Awards per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based). |
| last_record_sort_value | string | no | Keyset-pagination cursor: the last_record_sort_value from a prior response page_metadata. Provide together with last_record_unique_id. |
| last_record_unique_id | integer | no | Keyset-pagination cursor: the last_record_unique_id from a prior response page_metadata. Provide together with last_record_sort_value. |
| filters | object | no | Optional analytics-style filter object mirroring the shape the spending analytics tools accept, for reusing one filter set across tools. A nonempty value here wins over its top-level counterpart per field; an empty list, a blank string, or an all-blank location falls back to the top-level value. re… |
usaspending_get_award
Get Award Details
Fetch full details of a federal award by its generated unique award ID. Returns contract or assistance award data including recipient identity (UEI, parent organization, business categories, executive compensation), the awarding and funding agency hierarchy with each office, period of performance, place of performance with its county code, Assistance Listings with the obligation under each, loan face value and subsidy cost for loans, cost share (non_federal_funding, total_funding) and the funding opportunity for assistance awards that report them, funding account linkages (account_obligations_by_defc), parent IDV information, and subaward count and total. For contracts and IDVs it also returns competition (extent competed, solicitation procedure, set-aside, the authority for not competing, the fair-opportunity status of an order under a multiple-award IDV, offers received) and contract_pricing. Use generated_internal_id values from usaspending_search_awards as input. Recipient and parent recipient hashes can be passed to usaspending_get_recipient; NAICS codes can be used in usaspending_search_awards filters, Assistance Listing numbers in its assistance_listings filter, and the place of performance county_code with state_code in its location_filter. For IDV-category awards (category="idv"), use usaspending_get_idv_awards to list the child contracts and task/delivery orders placed under them.
| Parameter | Type | Required | Description |
|---|---|---|---|
| award_id | string | yes | Generated unique award ID (e.g., CONT_AWD_FA862118F6251_9700_FA862115D6276_9700) — use generated_internal_id from usaspending_search_awards |
usaspending_get_award_transactions
Get Award Transactions
List individual transactions (contract modifications, grant amendments) on a federal award. Each transaction represents a change event — obligation modifications, performance period extensions, scope changes, etc. Use this to trace the spending history and obligation changes over the life of an award. Award IDs come from usaspending_search_awards (generated_internal_id field).
| Parameter | Type | Required | Description |
|---|---|---|---|
| award_id | string | yes | Generated unique award ID (generated_internal_id from usaspending_search_awards) |
| sort | enum: "action_date" | "federal_action_obligation" | "modification_number" | no | Sort field for transactions |
| order | enum: "asc" | "desc" | no | Sort direction |
| limit | integer | no | Transactions per page. Default 10, at most 5,000 per call. |
| page | integer | no | Page number (1-based) |
usaspending_get_award_subawards
Get Award Subawards
List subaward contracts or grants under a prime federal award. Reveals the sub-contractor or sub-grantee layer — the organizations that actually perform the work. Each row shows the subaward number, amount, description, action date, and recipient. Check subaward_count on usaspending_get_award first to confirm subawards exist before calling this tool.
| Parameter | Type | Required | Description |
|---|---|---|---|
| award_id | string | yes | Generated unique award ID (generated_internal_id from usaspending_search_awards) |
| sort | enum: "subaward_number" | "description" | "action_date" | "amount" | "recipient_name" | no | Sort field for subawards |
| order | enum: "asc" | "desc" | no | Sort direction |
| limit | integer | no | Subawards per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
usaspending_get_award_federal_accounts
Get Award Federal Accounts
List the Treasury federal accounts that funded an award, with the amount obligated from each and the funding agency behind it. This is the award → appropriation link: each row returns federal_account (AGENCY-MAIN format, e.g. 080-0120) to chain into usaspending_get_federal_account for the account budget detail. The award_id must be a generated_unique_award_id — from usaspending_search_awards (generated_internal_id field) or usaspending_get_award. Distinct from usaspending_get_award account_obligations_by_defc, which breaks funding down by Disaster/Emergency Funding code rather than by account. An award_id that does not exist returns an empty list rather than an error.
| Parameter | Type | Required | Description |
|---|---|---|---|
| award_id | string | yes | Award generated_unique_award_id (e.g., CONT_AWD_GSFC0198106DNAS526555_8000_-NONE-_-NONE-) — use generated_internal_id from usaspending_search_awards or generated_unique_award_id from usaspending_get_award |
| limit | integer | no | Funding accounts per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
usaspending_get_idv_awards
Get IDV Child Awards
List child contracts and task/delivery orders placed under an IDV (Indefinite Delivery Vehicle) award. Each row includes the generated_unique_award_id to chain into usaspending_get_award for full detail. The award_id must be the generated_unique_award_id of the parent IDV — obtainable from usaspending_search_awards (generated_internal_id field) or from usaspending_get_award. IDV category awards returned by usaspending_get_award have child orders accessible via this tool.
| Parameter | Type | Required | Description |
|---|---|---|---|
| award_id | string | yes | Parent IDV generated_unique_award_id (e.g., CONT_IDV_NNK14MA74C_8000) — use generated_internal_id from usaspending_search_awards or generated_unique_award_id from usaspending_get_award |
| type | enum: "child_awards" | "child_idvs" | "grandchild_awards" | no | Type of child awards to list: child_awards = task/delivery orders, child_idvs = sub-IDVs, grandchild_awards = orders under sub-IDVs |
| sort | enum: "award_type" | "description" | "funding_agency" | "awarding_agency" | "last_date_to_order" | "obligated_amount" | "period_of_performance_current_end_date" | "period_of_performance_start_date" … | no | Field to sort child awards by (e.g., obligated_amount, period_of_performance_start_date) |
| order | enum: "asc" | "desc" | no | Sort direction |
| limit | integer | no | Child awards per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
usaspending_search_recipients
Search Award Recipients
Search for organizations or individuals receiving federal funds by name, UEI (Unique Entity Identifier), or DUNS. Returns recipient hash IDs, UEI/DUNS identifiers, trailing-12-month obligations, and hierarchy level. Amounts come from USAspending's precomputed snapshot and may differ from trailing-12-month profile totals. Results are paginated — use page to retrieve matches beyond the first page; page_metadata.total reports the full match count. Recipient hash IDs from this tool can be passed to usaspending_get_recipient for full profiles. Recipient level: P = parent organization, C = child entity, R = standalone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyword | string | yes | Name, UEI, DUNS, or keyword to search for — partial matches are supported. Surrounding whitespace is trimmed; blank text applies no keyword filter and is disclosed. |
| award_type | enum: "contracts" | "grants" | "direct_payments" | "loans" | "other_financial_assistance" | no | Filter by award type category to scope the trailing-12-month obligations |
| limit | integer | no | Recipients per page. Default 10, at most 1,000 per call. |
| page | integer | no | Page number (1-based) — request the next page to retrieve matches beyond the first |
usaspending_get_recipient
Get Recipient Profile
Fetch a recipient's full profile including address, business type codes, parent organizations, alternate names, and total transaction and loan amounts. A -P ID covers awards USAspending attributes to that parent, and historical attribution can vary. A -C ID covers the entity's own awards recorded with a parent, and a -R ID covers its own awards recorded without one. Use IDs returned by usaspending_search_recipients or usaspending_get_award. If search returns both -C and -R for the entity, check both. Never construct an ID by replacing a suffix. Totals cover the trailing 12 months by default. Set fiscal_year to one year or "all" for USAspending's searchable history through the request date. The period field names the window. parents lists every parent organization — a child often has several, and a parent lists itself — and each parent_id opens that parent in usaspending_get_recipient. For a -P parent, children lists its child recipients with their amounts over the same period, highest amount first, up to children_limit, and children_total counts them all; children is a best-effort second request, so when it fails the profile is still returned and unavailable_sections names children with its reason. For a recipient's totals by award type, use usaspending_spending_over_time with filters.recipient_id and award_type_codes. UEI and DUNS values can be used to cross-reference with SAM.gov and SEC EDGAR.
| Parameter | Type | Required | Description |
|---|---|---|---|
| recipient_id | string | yes | Recipient hexadecimal 8-4-4-4-12 hash with level suffix, e.g., b97d19b0-833c-8d8f-3a2c-157d04ea55ef-P — from usaspending_search_recipients or usaspending_get_award |
| fiscal_year | integer | string | no | Fiscal year to scope the totals to (e.g., 2024, which runs October 2023 through September 2024). Use "all" for searchable history through the request date. Omit for the trailing 12 months. |
| children_limit | integer | no | Child recipients to return for a parent (-P) profile, highest amount first. Default 50, at most 500 per call. Ignored for -C and -R profiles. |
usaspending_get_agency
Get Agency Overview
Fetch an agency's fiscal-year overview including mission, budgetary resources, obligation and outlay totals (for the most recent fiscal year with reported budget data), sub-agency count, and disaster/emergency funding codes. def_codes_fiscal_year names the fiscal year covered by def_codes, which follows the budget totals when available. budget_by_fiscal_year carries the same totals for every fiscal year with reported data since FY2017, newest first, for budget trends; a row whose reported_through_period is below 12 is year-to-date, so compare it to full years with care. Also returns a paginated sub-agency breakdown with obligation and transaction counts for the same fiscal year as the budget totals (the current fiscal year when no budget year is available within 5 seconds); sub_agency_fiscal_year names the year it covers. Accepts exactly one directory toptier_code (e.g., 097 for DoD, 1601 for Labor; one/two-digit numeric inputs are zero-padded to three digits) or an agency_slug (e.g., department-of-defense) — both appear in usaspending_list_agencies results and award search results. When the budget, sub-agency or DEF code request fails, the overview is still returned and unavailable_sections names each missing section with its reason.
| Parameter | Type | Required | Description |
|---|---|---|---|
| toptier_code | string | no | Directory toptier agency code (e.g., 097, 012, 1601) from usaspending_list_agencies. One/two-digit numeric values are padded to three digits (80 becomes 080); three/four-digit codes are preserved. Use either toptier_code or agency_slug, not both. |
| agency_slug | string | no | URL-friendly agency slug (e.g., department-of-defense) — from usaspending_list_agencies or award search results. Use either toptier_code or agency_slug, not both. |
| page | integer | no | Sub-agency breakdown page (1-based, 10 per page). Use with sub_agency_page_metadata.has_next to page through the full list. |
usaspending_spending_by_geography
Spending by Geography
Aggregate federal spending by state, county, or congressional district. Useful for per-capita analysis, regional comparisons, and mapping federal investment patterns. Filter by keyword, award type, agency, recipient, NAICS code, Assistance Listing, PSC, DEF code, place of performance or recipient location, or date range. scope picks the location results are grouped by, separately from the location filters: the counties of one state are geo_layer county with filters.place_of_performance_location set to that state and scope place_of_performance. Areas are ranked by obligation and capped at limit; to retrieve specific areas, including ones ranked past the cap, list their codes in shape_codes — a 2-letter postal code for state, a 5-digit state + county FIPS code for county, or a 4-digit state FIPS + district number for district — NOT place names. Resolve a state, county, or district name to its code with usaspending_autocomplete_filters type=location. Chain per-capita results with Census population data for meaningful comparisons.
| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | enum: "place_of_performance" | "recipient_location" | yes | Which location to aggregate by: place_of_performance (where work is done) or recipient_location (where the recipient is based) |
| geo_layer | enum: "state" | "county" | "district" | yes | Geographic granularity: state (states, DC, and territories), county (county-level), or district (congressional district) |
| filters | object | no | Optional filters to scope the spending aggregation. With neither date bound, results use USAspending's available coverage without a date filter. |
| limit | integer | no | Maximum geographic areas to return, ranked by aggregated_amount descending. Default 50, no maximum. The upstream endpoint is not paginated — it returns every matching area in one response — so this caps client-side. A nationwide county query matches over 3,000 areas; raise limit to see them all, or… |
| shape_codes | array<string> | no | Return only these areas (1–500 codes), in the shape_code form this tool returns for geo_layer: 2-letter postal code for state ("NY"), 5-digit state + county FIPS for county ("36117" is Wayne County, NY), or 4-digit state FIPS + 2-digit district number for district ("3623" is NY-23, "5600" is Wyomin… |
| subawards | boolean | no | Include subaward data instead of prime award data |
usaspending_spending_by_category
Spending by Category
Aggregate federal spending grouped by a specific dimension: NAICS industry code, PSC product/service code, awarding or funding agency or subagency, CFDA assistance program, recipient, federal account, or Disaster Emergency Fund Code (DEF). Returns top items with obligation amounts — useful for trend and breakdown analysis. Filter by keyword, award type, agency, recipient, NAICS code, Assistance Listing, PSC, DEF code, place of performance or recipient location, or date range. federal_account and defc amounts are whole transaction obligations, counted under every federal account or DEF code the award carries, so rows overlap and never sum to a total; on defc, filters.def_codes selects awards but the rows still list every code those awards carry. Chain NAICS, PSC, CFDA, and DEF codes back into these filters, into usaspending_search_awards filters, or into usaspending_autocomplete_filters lookups; a federal_account code (AGENCY-MAIN, e.g. 047-4534) opens in usaspending_get_federal_account. Agency rows carry agency_slug, which opens the agency in usaspending_get_agency — on a subagency row, its parent department. recipient_duns rows carry recipient_id, which opens the recipient profile in usaspending_get_recipient, and uei.
| Parameter | Type | Required | Description |
|---|---|---|---|
| category | enum: "naics" | "psc" | "awarding_agency" | "awarding_subagency" | "funding_agency" | "funding_subagency" | "cfda" | "recipient_duns" … | yes | Breakdown dimension: naics (industry), psc (product/service code), awarding_agency, awarding_subagency, funding_agency, funding_subagency, cfda (assistance programs), recipient_duns (recipients), federal_account (appropriations accounts; code is the AGENCY-MAIN account code usaspending_get_federal_… |
| filters | object | no | Optional filters to scope the aggregation. With neither date bound, results use USAspending's available coverage without a date filter. |
| limit | integer | no | Items per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
usaspending_spending_over_time
Spending Over Time
Fetch aggregated federal obligation amounts grouped by fiscal year, fiscal quarter, or fiscal month. All grouping is relative to the US government fiscal year (Oct–Sep), so fiscal month 1 is October, not January. Filter by award type, agency, recipient, keyword, NAICS code, Assistance Listing, PSC, DEF code, or location (place of performance or recipient) to trace spending trends in a specific area; award types default to contracts. Returns per-period totals and optional breakdowns by award category (contracts, grants, direct payments, IDVs, loans, other).
| Parameter | Type | Required | Description |
|---|---|---|---|
| group | enum: "fiscal_year" | "quarter" | "month" | yes | Time grouping: fiscal_year (annual US govt FY: Oct–Sep), quarter (fiscal quarter), or month (fiscal month — an ordinal within the fiscal year, where 1 = October) |
| filters | object | no | Filters to scope the time-series aggregation. Defaults to contract awards when omitted. |
| subawards | boolean | no | Aggregate subaward data instead of prime award data |
usaspending_disaster_spending
Disaster and Emergency Spending
Fetch disaster and emergency supplemental spending broken down by agency, CFDA assistance program, recipient, or geography, or request an overview. Find DEF codes in usaspending_autocomplete_filters with type def_code. Filter by those codes to select emergency appropriations, then check amount_coverage before interpreting amounts: award breakdowns and geography cover the provider COVID grouping, while overview and agency total cover all requested codes. Rows and award counts can match codes outside the monetary scope.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dimension | enum: "overview" | "agency" | "cfda" | "recipient" | "geography" | yes | Breakdown axis: overview (top-level totals and DEF code funding), agency (by awarding agency), cfda (by assistance program), recipient (by recipient), geography (by state/county) |
| spending_type | enum: "award" | "total" | no | Data type for the agency dimension: award (award-level obligations and outlays) or total (includes direct non-award spending, plus total budgetary resources). Ignored for cfda, recipient, and overview, which report award-level amounts either way; the geography dimension is not user-controllable and… |
| filters | object | no | Filters — def_codes is required for all non-overview dimensions (agency, cfda, recipient, geography) |
| limit | integer | no | Results per page. Default 10, at most 100 per call. Breakdowns rank obligations descending before pagination; geography ranks aggregated_amount. Agency award without award_type_codes collects all provider pages before ranking, so a smaller limit does not reduce that upstream work. Ignored for overv… |
| page | integer | no | Page number (1-based) |
usaspending_get_federal_account
Get Federal Account
Fetch a federal account's budget data: total obligations, gross outlays, and budgetary resources, plus the per-Treasury-Account-Symbol (TAS) component breakdown in children. fiscal_year selects a reporting year; omit it for the current federal fiscal year. An empty year retains metadata and a notice, without substituting another year. Federal accounts connect appropriations law to actual agency spending. Account codes come from usaspending_search_federal_accounts (its account_number output field) or usaspending_get_award_federal_accounts (its federal_account field), and are formatted as AGENCY-MAIN (e.g., 097-0100 for DoD Operation and Maintenance). For obligations broken down by program activity or object class, use usaspending_get_federal_account_breakdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fiscal_year | integer | string | no | Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default. |
| account_code | string | yes | Federal account code in AGENCY-MAIN format (e.g., 097-0100). Returned as account_number by usaspending_search_federal_accounts and as federal_account by usaspending_get_award_federal_accounts. |
usaspending_get_federal_account_breakdown
Get Federal Account Breakdown
Fetch a federal account's obligations broken down by program activity (what the money funds) or object class (what it buys — personnel, supplies, contracts). Use the dimension parameter to select the axis. fiscal_year scopes financial reporting periods to the full October–September year, not award action dates; omit it for all available periods. Account codes are AGENCY-MAIN format and come from usaspending_search_federal_accounts (its account_number output field), usaspending_get_award_federal_accounts (its federal_account field), or usaspending_get_federal_account. Paginated with an honest total count. For the account's own metadata and top-level totals, use usaspending_get_federal_account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fiscal_year | integer | string | no | Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default. |
| account_code | string | yes | Federal account code in AGENCY-MAIN format (e.g., 097-0100). Returned as account_number by usaspending_search_federal_accounts and as federal_account by usaspending_get_award_federal_accounts. |
| dimension | enum: "program_activity" | "object_class" | yes | Breakdown axis: program_activity (obligations by the program the funds support) or object_class (obligations by the category of goods/services purchased) |
| limit | integer | no | Breakdown rows per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
usaspending_search_federal_accounts
Search Federal Accounts
List and keyword-search federal accounts by directory toptier code or title keyword. Returns account numbers, names, managing agencies, and budgetary resources. fiscal_year selects the resource amounts, not account membership; omit it for the latest available submission year. Search and detail totals use different calculations and can differ for the same year. Use account_number from results as input to usaspending_get_federal_account for full budget detail. Use usaspending_list_agencies to look up the input agency_identifier (directory toptier_code, e.g. "097" for DoD or "1601" for Labor); account rows return their account-prefix agency_identifier, e.g. "016" for Labor.
| Parameter | Type | Required | Description |
|---|---|---|---|
| fiscal_year | integer | string | no | Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default. |
| keyword | string | no | Filter accounts by name or title keyword (e.g., "defense", "transportation") |
| agency_identifier | string | no | Directory toptier_code from usaspending_list_agencies (e.g., "097" for Defense, "1601" for Labor). This differs from the account-prefix agency_identifier returned in account rows (e.g., "016" for Labor). |
| sort_field | enum: "account_name" | "account_number" | "budgetary_resources" | "managing_agency" | no | Field to sort results by |
| sort_direction | enum: "asc" | "desc" | no | Sort direction |
| limit | integer | no | Accounts per page. Default 10, at most 100 per call. |
| page | integer | no | Page number (1-based) |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://usaspending.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http usaspending-mcp-server https://usaspending.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : usaspending-mcp-server ; URL : https://usaspending.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : usaspending-mcp-server ; Server URL : https://usaspending.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"usaspending-mcp-server": {
"url": "https://usaspending.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"usaspending-mcp-server": {
"type": "http",
"url": "https://usaspending.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"usaspending-mcp-server": {
"url": "https://usaspending.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"usaspending-mcp-server": {
"httpUrl": "https://usaspending.caseyjhand.com/mcp"
}
}
}[mcp_servers.usaspending-mcp-server]
url = "https://usaspending.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
usaspending-mcp-server · L’Atlas · Tested on
[usaspending-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/usaspending-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.