{"data":{"name":"io.github.cyanheads/usaspending-mcp-server","title":null,"description":"Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.","version":"0.5.0","websiteUrl":null,"repositoryUrl":"https://github.com/cyanheads/usaspending-mcp-server","remotes":[{"url":"https://usaspending.caseyjhand.com/mcp","type":"streamable-http"}],"packages":[{"version":"0.5.0","identifier":"@cyanheads/usaspending-mcp-server","runtimeHint":"stdio","registryType":"npm","runtimeArguments":null,"environmentVariables":null},{"version":"0.5.0","identifier":"@cyanheads/usaspending-mcp-server","runtimeHint":"streamable-http","registryType":"npm","runtimeArguments":null,"environmentVariables":null}],"status":"active","isLatest":true,"publishedAt":"2026-10-12T19:24:28.202Z","updatedAt":"2026-10-12T19:24:28.202Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"stars":null,"title":null,"source":"official-registry","sourceId":"io.github.cyanheads/usaspending-mcp-server","updatedAt":"2026-10-12T19:24:28.202Z","confidence":100,"websiteUrl":null,"description":"Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.","verification":"official","repositoryUrl":"https://github.com/cyanheads/usaspending-mcp-server"}],"toolIndex":{"tools":[{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_autocomplete_filters","title":"Autocomplete Codes and Names","description":"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 (agency and sub-agency names, each with its tier and top-tier parent — agency_name and funding_agency_name filters take the matched name; 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.","inputSchema":{"type":"object","properties":{"type":{"type":"string","enum":["naics","psc","cfda","awarding_agency","recipient","location","def_code"],"description":"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 (agency and sub-agency names), recipient (recipient names), location (US states with DC and the territories, counties, and current congressional districts, matched from the start of their name: \"King County\", \"Santa Fe\", \"WA-07\"; countries, cities, and ZIP codes are not returned). The psc_codes, assistance_listings, and def_codes filters are taken by usaspending_search_awards and the spending analytics tools."},"search_text":{"type":"string","minLength":1,"description":"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":{"default":10,"description":"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 returns at most 100 of each kind. The recipient lookup unions three upstream match buckets (name, UEI, DUNS) and can return up to 3x this value, so its results are capped to this limit before returning — the cap keeps them in bucket order, so name matches fill the page first and identifier matches appear only in whatever room is left. To resolve a specific UEI or DUNS, pass the identifier itself as search_text. Every lookup returns at most limit rows.","type":"integer","minimum":1}},"required":["type","search_text"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"b71e07c24305711be5c7a6672fe8af3a6405435cfebae295c9b02368ca34e280","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_disaster_spending","title":"Disaster and Emergency Spending","description":"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.","inputSchema":{"type":"object","properties":{"dimension":{"type":"string","enum":["overview","agency","cfda","recipient","geography"],"description":"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":{"default":"award","description":"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 always reports obligation-based amounts.","type":"string","enum":["award","total"]},"filters":{"description":"Filters — def_codes is required for all non-overview dimensions (agency, cfda, recipient, geography)","type":"object","properties":{"def_codes":{"description":"DEF codes, 1–3 letters or digits, sent uppercased. Optional for overview; required for breakdowns. Amount coverage is reported separately: award breakdowns and geography aggregate only the provider COVID grouping; matching rows and counts may include other codes. Overview and agency total cover all requested codes. Find codes in usaspending_autocomplete_filters with type def_code.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,3}$","description":"Disaster Emergency Fund Code, e.g. Z or L"}},"award_type_codes":{"description":"Award type code filters","type":"array","items":{"type":"string"}},"query":{"description":"Recipient search text, trimmed before sending. Omitted or blank means no query filter. Ignored with a notice on other dimensions.","type":"string"},"geo_layer":{"description":"Geographic layer for geography dimension (state or county)","type":"string","enum":["state","county"]}},"additionalProperties":false},"limit":{"default":10,"description":"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 overview.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["dimension"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"2d997284fbcff26b8e1a14c93f5b8905af515b762b2bbbc4019836d2e1ca7668","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_agency","title":"Get Agency Overview","description":"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.","inputSchema":{"type":"object","properties":{"toptier_code":{"description":"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.","type":"string"},"agency_slug":{"description":"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.","type":"string"},"page":{"default":1,"description":"Sub-agency breakdown page (1-based, 10 per page). Use with sub_agency_page_metadata.has_next to page through the full list.","type":"integer","minimum":1,"maximum":9007199254740991}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"312176227f8ae4de18ef7d3cc549952f45d6893bfcf2bd54ba3cb18d91ef9238","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_award","title":"Get Award Details","description":"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), agency hierarchy, 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, 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.","inputSchema":{"type":"object","properties":{"award_id":{"type":"string","minLength":1,"description":"Generated unique award ID (e.g., CONT_AWD_FA862118F6251_9700_FA862115D6276_9700) — use generated_internal_id from usaspending_search_awards"}},"required":["award_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"db35e97dffe30f81f07488cb317281643211dec854a5dc7b33c3d4223df31d6c","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_award_federal_accounts","title":"Get Award Federal Accounts","description":"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.","inputSchema":{"type":"object","properties":{"award_id":{"type":"string","minLength":1,"description":"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":{"default":10,"description":"Funding accounts per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["award_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"c4eb6b1b2d245e858c0e09683a9957198b77ce3856de2ef27c3d83e9cb06cc88","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_award_subawards","title":"Get Award Subawards","description":"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.","inputSchema":{"type":"object","properties":{"award_id":{"type":"string","minLength":1,"description":"Generated unique award ID (generated_internal_id from usaspending_search_awards)"},"sort":{"default":"action_date","description":"Sort field for subawards","type":"string","enum":["subaward_number","description","action_date","amount","recipient_name"]},"order":{"default":"desc","description":"Sort direction","type":"string","enum":["asc","desc"]},"limit":{"default":10,"description":"Subawards per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["award_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"7cc579f47cdf98266fbdbcc95c421f6dd28402f850c1bb42b370b118db0eb0f5","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_award_transactions","title":"Get Award Transactions","description":"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).","inputSchema":{"type":"object","properties":{"award_id":{"type":"string","minLength":1,"description":"Generated unique award ID (generated_internal_id from usaspending_search_awards)"},"sort":{"default":"action_date","description":"Sort field for transactions","type":"string","enum":["action_date","federal_action_obligation","modification_number"]},"order":{"default":"desc","description":"Sort direction","type":"string","enum":["asc","desc"]},"limit":{"default":10,"description":"Transactions per page. Default 10, at most 2,000 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["award_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"8d382486bee0a0cc4e8972cf05efaa17b7519163eef94f28b5c1195448420864","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_federal_account","title":"Get Federal Account","description":"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.","inputSchema":{"type":"object","properties":{"fiscal_year":{"description":"Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default.","anyOf":[{"type":"integer","minimum":2001,"maximum":9007199254740991,"description":"Integer federal fiscal year from 2001 through the current federal fiscal year"},{"type":"string","minLength":0,"maxLength":0,"description":"Blank form value; leaves the fiscal year unset"}]},"account_code":{"type":"string","minLength":1,"description":"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."}},"required":["account_code"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"421b82cd0fc5d4498dbe46daa92662cb38db0a95d17bb57f3fe84aa3cb6129a7","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_federal_account_breakdown","title":"Get Federal Account Breakdown","description":"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.","inputSchema":{"type":"object","properties":{"fiscal_year":{"description":"Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default.","anyOf":[{"type":"integer","minimum":2001,"maximum":9007199254740991,"description":"Integer federal fiscal year from 2001 through the current federal fiscal year"},{"type":"string","minLength":0,"maxLength":0,"description":"Blank form value; leaves the fiscal year unset"}]},"account_code":{"type":"string","minLength":1,"description":"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":{"type":"string","enum":["program_activity","object_class"],"description":"Breakdown axis: program_activity (obligations by the program the funds support) or object_class (obligations by the category of goods/services purchased)"},"limit":{"default":10,"description":"Breakdown rows per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["account_code","dimension"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"73b48555fdb5e1cb268f18288e2b388e4aab766388f1d64b4b933a9f8ee2b78a","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_idv_awards","title":"Get IDV Child Awards","description":"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.","inputSchema":{"type":"object","properties":{"award_id":{"type":"string","minLength":1,"description":"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":{"default":"child_awards","description":"Type of child awards to list: child_awards = task/delivery orders, child_idvs = sub-IDVs, grandchild_awards = orders under sub-IDVs","type":"string","enum":["child_awards","child_idvs","grandchild_awards"]},"sort":{"default":"obligated_amount","description":"Field to sort child awards by (e.g., obligated_amount, period_of_performance_start_date)","type":"string","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","piid"]},"order":{"default":"desc","description":"Sort direction","type":"string","enum":["asc","desc"]},"limit":{"default":10,"description":"Child awards per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["award_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"6002246212acb78d9fd2dfc91461587102c835807d0a5af895a4c7a46a132606","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_get_recipient","title":"Get Recipient Profile","description":"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.","inputSchema":{"type":"object","properties":{"recipient_id":{"type":"string","minLength":1,"description":"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":{"description":"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.","anyOf":[{"type":"integer","minimum":2001,"maximum":2030},{"type":"string","const":"all"}]},"children_limit":{"default":50,"description":"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.","type":"integer","minimum":1}},"required":["recipient_id"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"3fd30ac24cf0c16e021c4054a39b492602294c9ee1bd8ef931c024ef45a782ac","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_list_agencies","title":"List Federal Agencies","description":"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.","inputSchema":{"type":"object","properties":{"sort":{"default":"agency_name","description":"Sort field: agency_name (alphabetical), budget_authority_amount, obligated_amount, or outlay_amount","type":"string","enum":["agency_name","budget_authority_amount","obligated_amount","outlay_amount"]},"order":{"default":"asc","description":"Sort direction: asc or desc","type":"string","enum":["asc","desc"]},"limit":{"description":"Agencies per page; omitted returns the full directory. No maximum.","type":"integer","minimum":1},"page":{"description":"Page number when limit is supplied (defaults to page 1); ignored without limit.","type":"integer","minimum":1,"maximum":9007199254740991}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"2902deabfa72cb2518f38ee34ab90049b44237c5e4bd5a84cf51d15ce4bdb7d1","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_search_awards","title":"Search Federal Awards","description":"Search federal awards by keyword, recipient, agency, award type, NAICS code, assistance listing (CFDA) number, PSC, DEF code, 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). 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 in the selected award-type group. Award types: A/B/C/D = contracts, IDV_A–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. Dates must be ISO 8601 (YYYY-MM-DD). Earliest data: 2007-10-01 via search API. DoD contracts have a 90-day publication lag.","inputSchema":null,"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"05e758107ed74c42e03688324abda290ad9b2ca599d9ac7e7e0be5f0a5754ced","schemaStatus":"too-large","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_search_federal_accounts","title":"Search Federal Accounts","description":"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.","inputSchema":{"type":"object","properties":{"fiscal_year":{"description":"Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint default.","anyOf":[{"type":"integer","minimum":2001,"maximum":9007199254740991,"description":"Integer federal fiscal year from 2001 through the current federal fiscal year"},{"type":"string","minLength":0,"maxLength":0,"description":"Blank form value; leaves the fiscal year unset"}]},"keyword":{"description":"Filter accounts by name or title keyword (e.g., \"defense\", \"transportation\")","type":"string"},"agency_identifier":{"description":"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).","type":"string"},"sort_field":{"default":"budgetary_resources","description":"Field to sort results by","type":"string","enum":["account_name","account_number","budgetary_resources","managing_agency"]},"sort_direction":{"default":"desc","description":"Sort direction","type":"string","enum":["asc","desc"]},"limit":{"default":10,"description":"Accounts per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"e497f3bfdc369524fe569b55887dad6d9346eb73f7e15aea0132b39bbc5d5f4d","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_search_recipients","title":"Search Award Recipients","description":"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.","inputSchema":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"description":"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":{"description":"Filter by award type category to scope the trailing-12-month obligations","type":"string","enum":["contracts","grants","direct_payments","loans","other_financial_assistance"]},"limit":{"default":10,"description":"Recipients per page. Default 10, at most 1,000 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based) — request the next page to retrieve matches beyond the first","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["keyword"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"3acb8ce6026f4191f2c7c00a965402671d35146bac74fbe82c820a0f885bede3","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_spending_by_category","title":"Spending by Category","description":"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.","inputSchema":{"type":"object","properties":{"category":{"type":"string","enum":["naics","psc","awarding_agency","awarding_subagency","funding_agency","funding_subagency","cfda","recipient_duns","federal_account","defc"],"description":"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_account takes), or defc (Disaster Emergency Fund Codes; code is the DEF code the def_codes filters take). federal_account and defc amounts are whole transaction obligations, counted under every 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."},"filters":{"description":"Optional filters to scope the aggregation. With neither date bound, results use USAspending's available coverage without a date filter.","type":"object","properties":{"keywords":{"description":"Full-text keyword filters; each effective term needs at least three characters, including significant whitespace","type":"array","items":{"type":"string"}},"award_type_codes":{"description":"Award type code filters (A/B/C/D, 02–05, etc.)","type":"array","items":{"type":"string"}},"agency_name":{"description":"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 abbreviations resolve to the directory spelling.","type":"string"},"funding_agency_name":{"description":"Funding top-tier or sub-tier agency name. Use the matched name from usaspending_autocomplete_filters type=awarding_agency. Exact case-insensitive names and unambiguous abbreviations resolve to the directory spelling. When agency_name is also supplied, awards must match both roles.","type":"string"},"recipient_id":{"description":"recipient_id from usaspending_search_recipients: hexadecimal 8-4-4-4-12 hash plus uppercase -P, -C, or -R; hash letters normalize to lowercase; empty is unset. A -P recipient ID covers awards USAspending attributes to that parent. Historical parent attribution can vary. For the entity’s own awards, use the returned -C ID for awards recorded with a parent or the returned -R ID for awards recorded without one. Check both when usaspending_search_recipients returns both. Use returned IDs directly.","type":"string"},"naics_codes":{"description":"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","type":"array","items":{"type":"string"}},"assistance_listings":{"description":"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 requested, and amounts cover the whole award, not that listing's share. Only assistance awards (grants, direct payments, loans, other assistance) carry listings, so a call whose award types are all contracts or IDVs — including a contract default — is rejected as assistance_listings_type_mismatch. Use usaspending_autocomplete_filters type=cfda to look up numbers.","type":"array","items":{"type":"string","pattern":"^\\d{2}\\.[0-9A-Z]{3}$","description":"Assistance Listing number, e.g. 15.507"}},"psc_codes":{"description":"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 as psc_codes_type_mismatch, and pairing psc_codes with assistance_listings matches nothing, since no award carries both. Use usaspending_autocomplete_filters type=psc to look up codes.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,4}$","description":"Product and Service Code or prefix, e.g. Y1NE or Y1"}},"def_codes":{"description":"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 matching award, not the share funded by the code, and DEF-filtered totals can be negative. An unknown code is rejected with the list of codes USAspending accepts.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,3}$","description":"Disaster Emergency Fund Code, e.g. Z or L"}},"place_of_performance_location":{"description":"Filter by place of performance — where the work is done. 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.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"recipient_location":{"description":"Filter by recipient location — where the recipient is based, which can differ from where the work is done. 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_recipient_location.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"time_period_start":{"description":"Start date (YYYY-MM-DD), 2007-10-01 or later. Given alone, the window runs through today (UTC).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]},"time_period_end":{"description":"End date (YYYY-MM-DD). Given alone, the window starts at 2007-10-01, the earliest searchable date.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]}},"additionalProperties":false},"limit":{"default":10,"description":"Items per page. Default 10, at most 100 per call.","type":"integer","minimum":1},"page":{"default":1,"description":"Page number (1-based)","type":"integer","minimum":1,"maximum":9007199254740991}},"required":["category"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"627901669f24257903b3da7ad2863b11ae5e14272652e82aa5a8fcc16eb5e998","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_spending_by_geography","title":"Spending by Geography","description":"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.","inputSchema":{"type":"object","properties":{"scope":{"type":"string","enum":["place_of_performance","recipient_location"],"description":"Which location to aggregate by: place_of_performance (where work is done) or recipient_location (where the recipient is based)"},"geo_layer":{"type":"string","enum":["state","county","district"],"description":"Geographic granularity: state (states, DC, and territories), county (county-level), or district (congressional district)"},"filters":{"description":"Optional filters to scope the spending aggregation. With neither date bound, results use USAspending's available coverage without a date filter.","type":"object","properties":{"keywords":{"description":"Full-text keyword filters; each effective term needs at least three characters, including significant whitespace","type":"array","items":{"type":"string"}},"award_type_codes":{"description":"Award type codes: A/B/C/D (contracts), IDV_A–IDV_E (IDVs), 02–05 (grants), 06/10 (direct payments), 07/08 (loans), 09/11 (insurance and other assistance), -1 (unspecified). Groups may be mixed here. Omit to aggregate every type.","type":"array","items":{"type":"string"}},"agency_name":{"description":"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 abbreviations resolve to the directory spelling.","type":"string"},"funding_agency_name":{"description":"Funding top-tier or sub-tier agency name. Use the matched name from usaspending_autocomplete_filters type=awarding_agency. Exact case-insensitive names and unambiguous abbreviations resolve to the directory spelling. When agency_name is also supplied, awards must match both roles.","type":"string"},"recipient_id":{"description":"recipient_id from usaspending_search_recipients: hexadecimal 8-4-4-4-12 hash plus uppercase -P, -C, or -R; hash letters normalize to lowercase; empty is unset. A -P recipient ID covers awards USAspending attributes to that parent. Historical parent attribution can vary. For the entity’s own awards, use the returned -C ID for awards recorded with a parent or the returned -R ID for awards recorded without one. Check both when usaspending_search_recipients returns both. Use returned IDs directly.","type":"string"},"naics_codes":{"description":"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","type":"array","items":{"type":"string"}},"assistance_listings":{"description":"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 requested, and amounts cover the whole award, not that listing's share. Only assistance awards (grants, direct payments, loans, other assistance) carry listings, so a call whose award types are all contracts or IDVs — including a contract default — is rejected as assistance_listings_type_mismatch. Use usaspending_autocomplete_filters type=cfda to look up numbers.","type":"array","items":{"type":"string","pattern":"^\\d{2}\\.[0-9A-Z]{3}$","description":"Assistance Listing number, e.g. 15.507"}},"psc_codes":{"description":"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 as psc_codes_type_mismatch, and pairing psc_codes with assistance_listings matches nothing, since no award carries both. Use usaspending_autocomplete_filters type=psc to look up codes.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,4}$","description":"Product and Service Code or prefix, e.g. Y1NE or Y1"}},"def_codes":{"description":"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 matching award, not the share funded by the code, and DEF-filtered totals can be negative. An unknown code is rejected with the list of codes USAspending accepts.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,3}$","description":"Disaster Emergency Fund Code, e.g. Z or L"}},"place_of_performance_location":{"description":"Filter by place of performance — where the work is done. 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.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"recipient_location":{"description":"Filter by recipient location — where the recipient is based, which can differ from where the work is done. 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_recipient_location.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"time_period_start":{"description":"Start of time period (YYYY-MM-DD), 2007-10-01 or later. Given alone, the period runs through today (UTC).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]},"time_period_end":{"description":"End of time period (YYYY-MM-DD). Given alone, the period starts at 2007-10-01, the earliest searchable date.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]}},"additionalProperties":false},"limit":{"default":50,"description":"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 use shape_codes to retrieve one ranked past the cap.","type":"integer","minimum":1},"shape_codes":{"description":"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 Wyoming's at-large seat). usaspending_autocomplete_filters type=location resolves a state, county, or district name to its code. Selection runs over every area the filters matched, so it reaches areas ranked past limit; selected areas stay ranked by aggregated_amount and capped at limit. A code that matches no area is named in the notice.","minItems":1,"maxItems":500,"type":"array","items":{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{4,5})$","description":"One area code: 2-letter postal code (e.g. \"NY\"), 5-digit county FIPS (e.g. \"36117\"), or 4-digit district code (e.g. \"3623\")"}},"subawards":{"default":false,"description":"Include subaward data instead of prime award data","type":"boolean"}},"required":["scope","geo_layer"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"e68f1d7ce16a2b4096c38a358415b0aab40283f53c4f0e209fd7fa620ba1aa02","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/usaspending-mcp-server","endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","name":"usaspending_spending_over_time","title":"Spending Over Time","description":"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).","inputSchema":{"type":"object","properties":{"group":{"type":"string","enum":["fiscal_year","quarter","month"],"description":"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":{"description":"Filters to scope the time-series aggregation. Defaults to contract awards when omitted.","type":"object","properties":{"keywords":{"description":"Full-text keyword filters; each effective term needs at least three characters, including significant whitespace","type":"array","items":{"type":"string"}},"award_type_codes":{"description":"Award type code filters (A/B/C/D, 02–05, etc.); groups may be mixed. When omitted, defaults to contracts (A, B, C, D).","type":"array","items":{"type":"string"}},"agency_name":{"description":"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 abbreviations resolve to the directory spelling.","type":"string"},"funding_agency_name":{"description":"Funding top-tier or sub-tier agency name. Use the matched name from usaspending_autocomplete_filters type=awarding_agency. Exact case-insensitive names and unambiguous abbreviations resolve to the directory spelling. When agency_name is also supplied, awards must match both roles.","type":"string"},"recipient_id":{"description":"recipient_id from usaspending_search_recipients: hexadecimal 8-4-4-4-12 hash plus uppercase -P, -C, or -R; hash letters normalize to lowercase; empty is unset. A -P recipient ID covers awards USAspending attributes to that parent. Historical parent attribution can vary. For the entity’s own awards, use the returned -C ID for awards recorded with a parent or the returned -R ID for awards recorded without one. Check both when usaspending_search_recipients returns both. Use returned IDs directly.","type":"string"},"naics_codes":{"description":"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","type":"array","items":{"type":"string"}},"assistance_listings":{"description":"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 requested, and amounts cover the whole award, not that listing's share. Only assistance awards (grants, direct payments, loans, other assistance) carry listings, so a call whose award types are all contracts or IDVs — including a contract default — is rejected as assistance_listings_type_mismatch. Use usaspending_autocomplete_filters type=cfda to look up numbers.","type":"array","items":{"type":"string","pattern":"^\\d{2}\\.[0-9A-Z]{3}$","description":"Assistance Listing number, e.g. 15.507"}},"psc_codes":{"description":"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 as psc_codes_type_mismatch, and pairing psc_codes with assistance_listings matches nothing, since no award carries both. Use usaspending_autocomplete_filters type=psc to look up codes.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,4}$","description":"Product and Service Code or prefix, e.g. Y1NE or Y1"}},"def_codes":{"description":"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 matching award, not the share funded by the code, and DEF-filtered totals can be negative. An unknown code is rejected with the list of codes USAspending accepts.","type":"array","items":{"type":"string","pattern":"^[0-9A-Za-z]{1,3}$","description":"Disaster Emergency Fund Code, e.g. Z or L"}},"place_of_performance_location":{"description":"Filter by place of performance — where the work is done. 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.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"recipient_location":{"description":"Filter by recipient location — where the recipient is based, which can differ from where the work is done. 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_recipient_location.","type":"object","properties":{"country":{"description":"ISO 3166-1 alpha-3 country code (e.g., USA); USA when omitted. A US territory code — PRI, GUM, VIR, ASM, MNP — is sent as USA with the territory as state.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[A-Za-z]{3}$"}]},"state":{"description":"Under USA (the default): a US state, DC, territory, freely associated state, or armed-forces code as a 2-letter postal code (NM, PR, FM, AE) or 2-digit FIPS code (35). Under another country: that country's own 2-letter subdivision code (ON with CAN).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:[A-Za-z]{2}|\\d{2})$"}]},"county":{"description":"US county FIPS code: 3 digits with state (049 with state NM), or the 5-digit state + county code (35049, Santa Fe County, NM), whose first two digits set the state — the form usaspending_spending_by_geography county rows carry as shape_code.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^(?:\\d{3}|\\d{5})$"}]},"city":{"description":"City name","type":"string"}},"additionalProperties":false},"time_period_start":{"description":"Start of the time window (YYYY-MM-DD), 2007-10-01 or later. Given alone, the window runs through today (UTC).","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]},"time_period_end":{"description":"End of the time window (YYYY-MM-DD). Given alone, the window starts at 2007-10-01, the earliest searchable date.","anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^\\d{4}-\\d{1,2}-\\d{1,2}$","description":"Date as YYYY-MM-DD; month and day may be unpadded"}]}},"additionalProperties":false},"subawards":{"default":false,"description":"Aggregate subaward data instead of prime award data","type":"boolean"}},"required":["group"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"b98202cb61160a8a8890d8272337b2d224000a2d2f1bd09ffe748e54731f1912","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:25.315Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"a8e9c5a48869851497d8411bb4ca9e58147020e679b1bdd4885537298e11b645","protocol":"streamable-http","status":"indexed","toolCount":18,"observedAt":"2026-11-19T08:46:25.315Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"io.github.cyanheads/usaspending-mcp-server":{"url":"https://usaspending.caseyjhand.com/mcp"}}},"Cursor":{"mcpServers":{"io.github.cyanheads/usaspending-mcp-server":{"url":"https://usaspending.caseyjhand.com/mcp"}}},"VS Code":{"servers":{"io.github.cyanheads/usaspending-mcp-server":{"type":"http","url":"https://usaspending.caseyjhand.com/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://usaspending.caseyjhand.com/mcp"},{"protocol":"mcp","package":"@cyanheads/usaspending-mcp-server","registryType":"npm","version":"0.5.0"},{"protocol":"mcp","package":"@cyanheads/usaspending-mcp-server","registryType":"npm","version":"0.5.0"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:io.github.cyanheads%2Fusaspending-mcp-server","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/io.github.cyanheads%2Fusaspending-mcp-server","name":"io.github.cyanheads/usaspending-mcp-server","description":"Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://usaspending.caseyjhand.com/mcp"},{"protocol":"mcp","package":"@cyanheads/usaspending-mcp-server","registryType":"npm","version":"0.5.0"},{"protocol":"mcp","package":"@cyanheads/usaspending-mcp-server","registryType":"npm","version":"0.5.0"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":null,"repositoryUrl":"https://github.com/cyanheads/usaspending-mcp-server","version":"0.5.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"io.github.cyanheads/usaspending-mcp-server","status":"online","lastCheckedAt":"2026-11-20T09:18:27.854Z","lastSuccessfulCheck":"2026-11-20T09:18:27.854Z","latencyMs":246,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T09:18:27.854Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T09:18:27.854Z"},"security":null,"timestamps":{"createdAt":"2026-10-12T19:24:28.202Z","updatedAt":"2026-10-12T19:24:28.202Z","observedAt":"2026-11-20T09:18:27.854Z"},"compatibility":{"serverVersion":"0.5.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}