MCP Catalogs
首页

us-gov-open-data-mcp

by lzinga·98·综合分 48

MCP服务器提供300多个工具,涵盖40多个美国政府API,包括财政部、美联储、国会、FDA、CDC和FEC等。

financeproductivityai-llm
19
Forks
1
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

us-gov-open-data-mcp服务器通过300多个工具提供对40多个美国政府API的全面访问。它支持跨机构数据交叉引用,提供代码模式执行JavaScript和选择性模块加载。该服务器同时提供MCP服务器功能和独立的TypeScript SDK,具有磁盘缓存和速率限制功能。它可以与VS Code Copilot、Claude Desktop和Cursor无缝集成。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:分析经济指标,包括GDP、失业率、通胀率和利率
:调查医疗数据,结合FDA不良事件、临床试验和制药付款
:跟踪立法活动,包括法案发起、投票模式和竞选捐款
:我需要多少个API密钥?
:我可以只使用特定模块吗?

什么时候选它

当您需要全面访问美国政府数据以进行经济分析、健康研究或立法跟踪时,特别是与 Claude Desktop、VS Code Copilot 或 Cursor 一起使用时,选择此服务器。

什么时候不要选它

如果您需要访问非美国政府数据,请避免使用此服务,因为它仅专注于美国联邦来源;或者如果您需要写入政府系统的权限(此服务仅提供只读访问)。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • getObservationsgetObservations(seriesId: string, options?: object)

    Retrieve economic data observations from FRED API

  • searchBillssearchBills(query: object)

    Search for congressional bills by various criteria

  • getAdverseEventsgetAdverseEvents(drugName: string)

    Retrieve FDA adverse event reports for a specific drug

  • getLobbyingDatagetLobbyingData(year: number, quarter?: number)

    Access Senate lobbying disclosure data

  • getSpendingDatagetSpendingData(filters: object)

    Retrieve federal spending data from USAspending.gov

  • getClinicalTrialsgetClinicalTrials(drugName: string, condition?: string)

    Search clinical trials data by drug or condition

  • getCensusDatagetCensusData(dataset: string, geography: string)

    Retrieve demographic data from US Census

  • getEnvironmentalDatagetEnvironmentalData(type: string, location: string)

    Access environmental data from EPA or other agencies

  • getSECDatagetSECData(filingType: string, company: string)

    Retrieve SEC filing data for public companies

  • getWeatherDatagetWeatherData(location: string, date?: string)

    Access historical and current weather data from NOAA

  • getPatentDatagetPatentData(terms: object)

    Search USPTO patent database by terms or assignee

  • getElectionDatagetElectionData(year: number, type: string)

    Retrieve FEC campaign finance and election data

说明:Tools inferred from API documentation references and SDK examples in the README. The server claims 250+ tools but documentation references specific SDK functions that would become MCP tools.

可对比工具

openai-gptsgoogle-search-mcpbing-search-mcpbrowser-mcp

安装

npx us-gov-open-data-mcp

为VS Code/Copilot添加到.vscode/mcp.json

{
  "servers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": ["-y", "us-gov-open-data-mcp"],
      "env": {
        "FRED_API_KEY": "your_key",
        "DATA_GOV_API_KEY": "your_key"
      }
    }
  }
}

为Claude Desktop添加到claude_desktop_config.json

{
  "mcpServers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": ["-y", "us-gov-open-data-mcp"],
      "env": {
        "FRED_API_KEY": "your_key",
        "DATA_GOV_API_KEY": "your_key"
      }
    }
  }
}

FAQ

我需要多少个API密钥?
20多个API不需要密钥,其余的API使用免费密钥,获取时间不到一分钟。
我可以只使用特定模块吗?
是的,可以使用--modules标志选择性加载模块:--modules fred,treasury,congress

Hacker News 讨论

开发者社区最近的相关讨论。

us-gov-open-data-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。