mcpField
C
Congress.gov Mcp Server

Congress.gov Mcp Server

ローカル
github.com/AshwinSundar法務・行政1971 週間前に更新

Congress.gov Mcp Server について

Congress.gov API(api.congress.gov)を扱う非公式の MCP サーバーで、AI アシスタントから米国議会のデータを直接照会できます。ニュースに頼らず議会の動きを確認したい利用者に向いています。

主な機能

  1. 01Congress.gov API のデータ照会を提供
  2. 02法案、修正案、委員会などのエンドポイントに対応
  3. 03議会記録と投票結果の照会を提供
  4. 04uv で実行し API キーを設定して利用

活用シーン

  1. 01特定の議会における法案の進捗を確認
  2. 02議員情報と関連法案を調べる
  3. 03下院と上院のロールコール投票結果を取得

MCP 対応

本プロジェクトは Congress.gov API の照会機能を MCP クライアントに公開する MCP サーバーです。README では一部のエンドポイント群が実装済み、残りが未実装として示されています。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

インストール方法は未掲載です

このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。

リポジトリ

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

詳細

Congress.gov MCP サーバー

smithery badge

アメリカ議会の動向が気になったことはありませんか?ニュースを読んで調べるのにうんざりしていませんか?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
手動インストール
前提条件
  1. uv をインストールします。macOS と Linux で最も簡単な方法は次のとおりです。

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  2. Congress.gov API キーを取得します。

  3. Claude Desktop、Claude Code、または MCP Integrations をサポートする別のクライアントをインストールします。

初期設定
  1. 前提条件を完了します。

  2. このリポジトリをクローンし、ディレクトリに移動します。

    git clone http://github.com/AshwinSundar/congress_gov_mcp
    
    cd congress_gov_mcp
    
  3. 依存関係をインストールします。

    uv sync
    
  4. テンプレートから .env ファイルを作成します。

    cp .env.template .env
    
  5. Congress.gov API キーを .env ファイルに追加します。

congress_gov_mcp/.env

CONGRESS_GOV_API_KEY="your-api-key-here"
クライアントの設定
Claude Desktop
  1. 前提条件を完了します。

  2. uv の絶対パスをコピーします。

which uv
  1. Claude Desktop の設定ファイルで、mcpServers ブロック内に次の内容を追加します。

    macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    Windows: %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
  1. 前提条件を完了します。

  2. 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
    • /committee
      • /{systemCode}
        • /bills
        • /reports
        • /nominations
        • /meetings
        • /hearings
        • /house-communication
        • /senate-communication
    • /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

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。