Congress.gov Mcp Server について
Congress.gov API(api.congress.gov)を扱う非公式の MCP サーバーで、AI アシスタントから米国議会のデータを直接照会できます。ニュースに頼らず議会の動きを確認したい利用者に向いています。
主な機能
- 01Congress.gov API のデータ照会を提供
- 02法案、修正案、委員会などのエンドポイントに対応
- 03議会記録と投票結果の照会を提供
- 04uv で実行し API キーを設定して利用
活用シーン
- 01特定の議会における法案の進捗を確認
- 02議員情報と関連法案を調べる
- 03下院と上院のロールコール投票結果を取得
MCP 対応
本プロジェクトは Congress.gov API の照会機能を MCP クライアントに公開する MCP サーバーです。README では一部のエンドポイント群が実装済み、残りが未実装として示されています。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
詳細
Congress.gov MCP サーバー
アメリカ議会の動向が気になったことはありませんか?ニュースを読んで調べるのにうんざりしていませんか?US Congress API に直接尋ねてみましょう。
Congress.gov API の非公式 MCP サーバーです。
インストール
Smithery 経由でのインストール
Smithery 経由で Claude Desktop に congress_gov_mcp を自動的にインストールするには:
npx -y @smithery/cli install @AshwinSundar/congress_gov_mcp --client claude
手動インストール
前提条件
-
uv をインストールします。macOS と Linux で最も簡単な方法は次のとおりです。
curl -LsSf https://astral.sh/uv/install.sh | sh -
Congress.gov API キーを取得します。
-
Claude Desktop、Claude Code、または MCP Integrations をサポートする別のクライアントをインストールします。
初期設定
-
前提条件を完了します。
-
このリポジトリをクローンし、ディレクトリに移動します。
git clone http://github.com/AshwinSundar/congress_gov_mcpcd 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"
クライアントの設定
Claude Desktop
-
前提条件を完了します。
-
uvの絶対パスをコピーします。
which uv
-
Claude Desktop の設定ファイルで、
mcpServersブロック内に次の内容を追加します。macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%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"
]
}
}
}
Claude Code
-
前提条件を完了します。
-
Claude Code を実行しているディレクトリの
.mcp.jsonで、mcpServersブロック内に次の内容を追加します。
{
"mcpServers": {
"congress_gov_mcp": {
"command": "uv",
"args": [
"run",
"/absolute_path_to/congress_gov_mcp/server.py"
]
}
}
}
Roadmap
- api.congress.gov
- /bill
- /{congress}
- /{congress}/{billType}
- /{congress}/{billType}/{billNumber}
- /actions
- /amendments
- /committees
- /cosponsors
- /relatedbills
- /subjects
- /summaries
- /text
- /titles
- /amendment
- /{congress}
- /{congress}/{amendmentType}
- /{congress}/{amendmentType}/{amendmentNumber}
- /actions
- /cosponsors
- /amendments
- /text
- /summaries
- /{congress}
- /{congress}/{billType}
- /congress
- /{congress}
- /current
- /member
- /{bioguideId}
- /sponsored-legislation
- /cosponsored-legislation
- /{bioguideId}
- /committee
- /{systemCode}
- /bills
- /reports
- /nominations
- /meetings
- /hearings
- /house-communication
- /senate-communication
- /{systemCode}
- /committee-report
- /{congress}
- /{congress}/{reportType}
- /{congress}/{reportType}/{reportNumber}
- /text
- /committee-print
- /{congress}
- /{congress}/{printType}
- /{congress}/{printType}/{printNumber}
- /text
- /committee-meeting
- /{congress}
- /{congress}/{chamber}
- /meetings
- /hearing
- /{congress}
- /{congress}/{chamber}
- /{congress}/{chamber}/{hearingNumber}
- /house-vote
- /{congress}
- /{congress}/{session}
- /{congress}/{session}/{rollCallNumber}
- /congressional-record
- /{volume}
- /{volume}/{pagePrefix}
- /{volume}/{pagePrefix}/{pageNumber}
- /daily-congressional-record
- /{volume}
- /{volume}/{issue}
- /bound-congressional-record
- /{year}
- /{year}/{month}
- /{year}/{month}/{day}
- /house-communication
- /{congress}
- /{congress}/{communicationType}
- /{congress}/{communicationType}/{communicationNumber}
- /house-requirement
- /{congress}
- /{congress}/{requirementNumber}
- /senate-communication
- /{congress}
- /{congress}/{communicationType}
- /{congress}/{communicationType}/{communicationNumber}
- /nomination
- /{congress}
- /{congress}/{nominationNumber}
- /actions
- /hearings
- /crsreport
- /{productCode}
- /treaty
- /{congress}
- /{congress}/{treatyNumber}
- /actions
- /committees
- /bill
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。