Congress.gov MCP服务器
](https://smithery.ai/server/@AshwinSundar/congress_gov_mcp)
你有没有想过我们的(美国)国会在做什么?厌倦了阅读新闻来了解吗?问问美国国会API。
非官方MCP服务器 国会.gov API
安装
通过Smithery安装
通过以下方式自动为Claude Desktop安装congress_gov_mcp 史密瑟里:
npx -y @smithery/cli install @AshwinSundar/congress_gov_mcp --client claude手动安装
先决条件
- 安装 紫外线在macOS和Linux上最简单的方法是:
curl -LsSf https://astral.sh/uv/install.sh | sh- 得到一个 Congress.gov API密钥.
- 安装Claude Desktop、Claude Code或其他支持 MCP集成
初始设置
- 完成 先决条件
- 克隆此存储库,然后
cd在:
git clone http://github.com/AshwinSundar/congress_gov_mcp cd congress_gov_mcp- 安装依赖项:
uv sync- 创建一个
.env模板中的文件:
cp .env.template .env- 将您的Congress.gov API密钥添加到
.env文件:
congress_gov_mcp/.env `` CONGRESS_GOV_API_KEY="your-api-key-here" ``客户端配置
克劳德桌面
- 完成 先决条件
- 将绝对路径复制到您的
uv安装:
which uv- 将以下内容添加到Claude Desktop配置文件中
mcpServers块:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
视窗: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"congress_gov_mcp": {
"command": "/absolute_path/to/uv",
"args": [
"run",
"/absolute_path_to/congress_gov_mcp/server.py"
]
}
}
}
克劳德代码
- 完成 先决条件
- 添加以下内容
.mcp.json在您运行Claude Code的目录中mcpServers块:
{
"mcpServers": {
"congress_gov_mcp": {
"command": "uv",
"args": [
"run",
"/absolute_path_to/congress_gov_mcp/server.py"
]
}
}
}
路线图
- \[x\] api.congress.gov
- \[x\] /账单 - \[x\] /{国会} - \[x\] /{国会}/{比尔类型} - \[x\] /{会议}/{billType}/{billNumber} - \[\]/行动 - \[\]/修订 - \[\]/委员会 - \[\]/共同赞助者 - \[\]/相关账单 - \[\]/受试者 - \[\]/摘要 - \[\]/text - \[\]/标题 - \[x\] /修改 - \[x\] /{国会} - \[x\] /{国会}/{修正案类型} - \[x\] /{会议}/{修正案类型}/{修订案编号} - \[\]/行动 - \[\]/共同赞助者 - \[\]/修订 - \[\]/text - \[x\] /摘要 - \[x\] /{国会} - \[x\] /{国会}/{比尔类型} - \[x\] /国会 - \[x\] /{国会} - \[\]/当前 - \[x\] /成员 - \[x\] /{bioguideId} - \[\]/赞助立法 - \[\]/共同提案立法 - \[x\] /委员会 - \[x\] /{系统代码} - \[\]/账单 - \[\]/报告 - \[\]/提名 - \[\]/次会议 - \[\]/听证会 - \[\]/房屋通讯 - \[\]/参议院通信 - \[x\] /委员会报告 - \[x\] /{国会} - \[x\] /{会议}/{报告类型} - \[x\] /{congression}/{reportType}/{reportNumber} - \[\]/text - \[x\] /委员会印刷 - \[x\] /{国会} - \[x\] /{会议}/{打印类型} - \[x\] /{会议}/{打印类型}/{打印机编号} - \[\]/text - \[x\] /委员会会议 - \[x\] /{国会} - \[x\] /{国会}/{议院} - \[\]/次会议 - \[x\] /听证会 - \[x\] /{国会} - \[x\] /{国会}/{议院} - \[x\] /{国会}/{议院}/{听证号码} - \[x\] /众议院投票 - \[x\] /{国会} - \[x\] /{大会}/{会议} - \[x\] /{会议}/{会话}/{rollCallNumber} - \[x\] /国会记录 - \[x\] /{体积} - \[x\] /{volume}/{pagePrefix} - \[x\] /{volume}/{pagePrefix}/{pageNumber} - \[x\] /每日国会记录 - \[x\] /{体积} - \[x\] /{卷}/{问题} - \[x\] /装订国会记录 - \[x\] /{年} - \[x\] /{年}/{月} - \[x\] /{年}/{月}/{日} - \[x\] /房屋通讯 - \[x\] /{国会} - \[x\] /{会议}/{通信类型} - \[x\]/{Congress}/{CommunicationType}/{CommunicationNumber} - \[x\] /房屋要求 - \[x\] /{国会} - \[x\] /{会议}/{要求编号} - \[x\] /参议院通信 - \[x\] /{国会} - \[x\] /{会议}/{通信类型} - \[x\]/{Congress}/{CommunicationType}/{CommunicationNumber} - \[x\] /提名 - \[x\] /{国会} - \[x\]/{Congress}/{NominationUmber} - \[\]/行动 - \[\]/听证会 - \[x\] /cr报告 - \[x\] /{产品代码} - \[x\] /条约 - \[x\] /{国会} - \[x\] /{会议}/{条约编号} - \[\]/行动 - \[\]/委员会
![Congress[.]gov MCP Server logo](/images/mcp/logo/0036/4f84b9f38692902f103df74d5493ff04afe4d4b0.webp)