Usaspending MCP Server
概览
作者提供的说明(英文原文)
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 3 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 454/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 营销与社交媒体
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 3 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 可以做 18 件事(工具) usaspending_list_agencies, usaspending_autocomplete_filters, usaspending_search_awards, usaspending_get_award …
- 需要你自己填写:
MCP_LOG_LEVEL
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://usaspending.caseyjhand.com/mcp或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"usaspending": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usaspending-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http usaspending https://usaspending.caseyjhand.com/mcp或者在你的电脑上运行
claude mcp add usaspending --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/usaspending-mcp-server运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"usaspending": {
"url": "https://usaspending.caseyjhand.com/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"usaspending": {
"command": "npx",
"args": [
"-y",
"@cyanheads/usaspending-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"usaspending": {
"type": "http",
"url": "https://usaspending.caseyjhand.com/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"usaspending": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/usaspending-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://usaspending.caseyjhand.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
MCP_LOG_LEVELenvSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
usaspending_list_agenciesList 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 po
usaspending_autocomplete_filtersLook 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), awarding_agency (agency and sub-agency na
usaspending_search_awardsSearch federal awards by keyword, recipient, agency, award type, NAICS code, assistance listing (CFDA) number, PSC, DEF code, location, or date range. Returns ranked award summaries including recipient names, amounts, awarding agencies, and generated award IDs for use with usaspe
usaspending_get_awardFetch 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, Assistance Listings with
usaspending_get_award_transactionsList 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
usaspending_get_award_subawardsList 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 usaspend
usaspending_get_award_federal_accountsList 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_accoun
usaspending_get_idv_awardsList 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 — obtai
usaspending_search_recipientsSearch for organizations or individuals receiving federal funds by name, UEI (Unique Entity Identifier), or DUNS. Returns recipient hash IDs, UEI/DUNS identifiers, total award amounts, and hierarchy level. Results are paginated — use page to retrieve matches beyond the first page
usaspending_get_recipientFetch a recipient's full profile including address, business type codes, parent organization, alternate names, and total transaction and loan amounts. Recipient IDs are hexadecimal 8-4-4-4-12 hashes with a level suffix (-P parent, -C child, -R standalone) from usaspending_search_
usaspending_get_agencyFetch 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 DEF codes for disaster/emergency funding. Also returns a paginated sub-agency breakdown w
usaspending_spending_by_geographyAggregate 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, or date range. A
usaspending_spending_by_categoryAggregate federal spending grouped by a specific dimension: NAICS industry code, PSC product/service code, awarding agency, funding agency, CFDA assistance program, or recipient. Returns top items with obligation amounts — useful for trend and breakdown analysis. Filter by keywor
usaspending_spending_over_timeFetch 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, Assis
usaspending_disaster_spendingFetch disaster and emergency supplemental spending broken down by agency, CFDA assistance program, recipient, or geography, or request an overview. Filter by DEF codes to select emergency appropriations, then check amount_coverage before interpreting amounts: award breakdowns and
usaspending_get_federal_accountFetch 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 m
usaspending_get_federal_account_breakdownFetch 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–Septemb
usaspending_search_federal_accountsList 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. Sea
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 177 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 18 个工具描述,未发现针对 AI 的隐藏指令
与“营销与社交媒体”中的其他服务器比较i
- 星标数多于此分类中其他 3603 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3603 个服务器的 86% 更新
- 基础检查结果等于或优于此分类中其他 3603 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Usaspending MCP Server 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.7.1)于5天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@cyanheads/usaspending-mcp-server Access US federal award, recipient, agency, and spending analytics data from USAspending.gov via MCP. STDIO or Streamable HTTP. 18 Tools
Public Hosted Server: https://usaspending.caseyjhand.com/mcp
Overview
Where federal money goes, from USAspending.gov: awards, recipients, agencies, and spending. Search and trace awards down to transactions, subawards, and funding accounts; profile recipients and agencies; and aggregate spending by geography, category, time, and disaster appropriation.
Tools
| Tool | Description |
|---|---|
usaspending_list_agencies | List top-tier federal agencies with codes, slugs, and budget totals labelled by reporting year and quarter |
usaspending_autocomplete_filters | Look up NAICS, PSC, CFDA, agency, or recipient codes from a free-text description |
usaspending_search_awards | Search awards by keyword, recipient, agency, award type, NAICS code, assistance listing, PSC, DEF code, location, or date range |
usaspending_get_award | Fetch one award's full record: amounts, recipient, agencies, codes, parent IDV, DEF-code funding |
usaspending_get_award_transactions | List the transactions (modifications, amendments) on an award |
usaspending_get_award_subawards | List the subcontracts or subgrants under a prime award |
usaspending_get_award_federal_accounts | List the Treasury federal accounts that funded an award, with the amount from each |
usaspending_get_idv_awards | List the child orders and sub-IDVs placed under an IDV |
usaspending_search_recipients | Search recipients by name, UEI, or DUNS |
usaspending_get_recipient | Fetch a recipient's profile: address, business types, parent, and award totals |
usaspending_get_agency | Fetch an agency's mission, latest-year budget totals, sub-agencies, and DEF codes |
usaspending_spending_by_geography | Aggregate spending by state, county, or congressional district |
usaspending_spending_by_category | Aggregate spending by NAICS, PSC, agency, CFDA program, or recipient |
usaspending_spending_over_time | Aggregate spending by fiscal year, quarter, or month |
usaspending_disaster_spending | Break down disaster and emergency supplemental spending by agency, program, recipient, or geography |
usaspending_search_federal_accounts | Search federal accounts by title keyword or agency identifier |
usaspending_get_federal_account | Fetch a federal account's budget totals and its Treasury Account Symbol components |
usaspending_get_federal_account_breakdown | Break a federal account's obligations down by program activity or object class |
Research guide
The usaspending-guide covers recipient research, award-to-account funding traces, and spending comparisons across periods and emergency appropriations. Plugin installs discover it in skills/; MCP clients can read skill://usaspending-guide/SKILL.md through the Skills extension. There are no domain-data resources.
Capability reference
usaspending_list_agencies tool
- Takes
sort(agency_name,budget_authority_amount,obligated_amount,outlay_amount) andorder; returns every agency unless an optional positivelimitis supplied. Withlimit,pagedefaults to 1; without it,pageis ignored.totalalways counts the full directory andhas_nextappears only when paginating - Rows carry
toptier_codeandagency_slug, both accepted byusaspending_get_agency, plusbudget_authority_amount,obligated_amount, andoutlay_amountfor the latest reported period.fiscal_yearandfiscal_quarterpreserve the provider's reporting labels when present
usaspending_autocomplete_filters tool
type(naics,psc,cfda,awarding_agency,recipient) plussearch_text;limit1–500, default 10- Rows carry
codeandname, anduei/dunsfor recipients; no match fails asno_match. Acfdacode goes inassistance_listingsand apsccode inpsc_codesonusaspending_search_awardsand the three spending analytics tools - Agency rows carry the matched agency's own
name,abbreviation, andtier(toptierorsubtier), its parent'stoptier_nameandtoptier_code, andsubtier_codewhen supplied. Passnametoagency_nameon award search or spending analytics to match that agency; passtoptier_namefor the whole department. Agency results combine top-tier then sub-tier matches under onelimit; office matches are excluded naicsmatches official NAICS title text: "software" resolves, "cybersecurity" does not, so search with the industry term a title would use
usaspending_search_awards tool
- Filters:
keyword,agency_name,recipient_name,naics_codesassistance_listings: Assistance Listing numbers such as93.866, fromusaspending_autocomplete_filterstype: cfdapsc_codes: 1–4 characters, where a prefix such asY1covers the codes under it; contracts and IDVs onlydef_codes: Disaster Emergency Fund Codes such asZ(PSC and DEF codes are sent uppercased)time_period:YYYY-MM-DDfrom 2007-10-01 on; either end may be given alonelocation_filter:country(defaultUSA; a territory code such asPRIbecomesUSAplus its state),state(a postal or 2-digit FIPS code,FM/MH/PW/UMand armed-forcesAA/AE/APincluded, or under another country its own 2-letter subdivision code such asONwithCAN), andcounty(3 digits withstate, or the 5-digit FIPS code alone); echoed asapplied_locationaward_type_codes: defaults to contracts (A–D) and must stay in one group — IDVsIDV_A–IDV_E; grants02–05/F001/F002; direct payments06/10/F006/F007; loans07/08/F003/F004; other assistance09/11/-1/F005/F008/F009/F010limit: up to 100- Rows carry
generated_internal_idforusaspending_get_awardandagency_slugforusaspending_get_agency; loan rows carryloan_value,subsidy_cost, andissued_datein place of amounts and dates. There is no total, andpage_metadata.has_nextis true on any full page. The nestedfiltersobject takes the analytics tools'filterskeys, exceptrecipient_id, and wins per field over the flat ones. Failures areassistance_listings_type_mismatch(listings with a non-assistance group),psc_codes_type_mismatch(PSC codes with an assistance group),unsupported_sort,date_range_inverted,date_before_earliest, andinvalid_location(an unknown state, a 3-digit county without a state, a county under an armed-forces code (AA/AE/AP), a county or FIPS-number state under another country, or parts naming different states) sortdepends on the group: loans takeLoan Value(default),Subsidy Cost,Issued Date,Recipient Name, orAwarding Agency; the othersAward Amount(default),Total Outlays,Start Date,End Date(not IDVs),Recipient Name, orAwarding Agency. Page numbers stop at a 50,000-result offset (pagination_limit_exceeded); past it, page with thelast_record_sort_value+last_record_unique_idcursor, returned below a 10,000-result offset- Effective keywords need at least three characters, with whitespace preserved. NAICS codes use 2, 4, or 6 digits; recognized numeric aliases such as
054,+54, and54_15_12are normalized and echoed. Validation runs after nested-filter precedence, so an overridden flat value does not reject the call; active invalid values fail asinvalid_keywordorinvalid_naics_code
usaspending_get_award tool
award_idis agenerated_unique_award_id, thegenerated_internal_idfrom search; an unknown ID fails asaward_not_found- Returns
category,total_obligation,total_outlays,total_account_obligation,total_account_outlay,base_exercised_options,subaward_count, NAICS / PSC codes,account_obligations_by_defc,account_outlays_by_defc, and, on loans,total_loan_valueandtotal_subsidy_cost, where supplied assistance_listingslists every Assistance Listing on an assistance award, in upstream order, asnumber,title, andobligation; anumbergoes inusaspending_search_awardsassistance_listingsrecipientcarriesuei,parent_uei,business_categories(category names, not thebusiness_typescodes ofusaspending_get_recipient), and a three-lettercountry_code,county_name,congressional_code, andzip5on itslocation.place_of_performancealso carries a country code, county name, and congressional code; a location with no fields upstream is omittedrecipient.recipient_idandrecipient.parent_recipient_idchain tousaspending_get_recipientandparent_award.generated_unique_award_idto the parent IDV;category: "idv"awards list their children viausaspending_get_idv_awards
usaspending_get_award_transactions tool
award_idplussort(action_date,federal_action_obligation,modification_number);limitup to 100- Rows carry a string
id(ASST_TXorCONT_TX),action_date,modification_number,action_type, and a signedfederal_action_obligation(negative is a deobligation). Loan transactions also carryface_value_loan_guaranteeandoriginal_loan_subsidy_cost; assistance transactions carrycfda_numberwhen supplied
usaspending_get_award_subawards tool
award_idplussort(subaward_number,description,action_date,amount,recipient_name);limitup to 100- Rows carry
id,subaward_number,description,amount,action_date, andrecipient_name; the upstream listing supplies no recipient UEI or location.subaward_countonusaspending_get_awardsays whether any exist
`usasp
只显示了开头部分;其余内容请在仓库中阅读