mcpField
U
uk-parliament-committees

uk-parliament-committees

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

uk-parliament-committees について

uk-parliament-committeesは、英国議会の委員会情報を扱う開発者やAIエージェント向けのMCPサーバーです。APIを通じて委員会、業務、イベント、所属、証拠、請願、刊行物、文書にアクセスできます。

主な機能

  1. 01委員会と業務の検索・取得
  2. 02会議、イベント、出席状況の照会
  3. 03証拠資料と請願へのアクセス
  4. 04刊行物と文書の取得
  5. 05日付とステータスによる結果の絞り込み

活用シーン

  1. 01委員会活動と今後の会議の要約
  2. 02証拠提出と刊行物の追跡
  3. 03委員会業務のステータス監視
  4. 04委員会メタデータによるデータセットの拡充

MCP 対応

stdioのMCPサーバーとして、UK Parliament Committees APIに対応する検索、照会、文書取得のツールを公開します。HTTPプロキシモードも記載されています。

設定

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

mcp.json · 共通設定
{
"mcpServers": {
"nick-ma-uk-parliament-committees": {
"command": "npx",
"args": [
"-y",
"@darkhorseone/mcp-server-uk-parliament-committees"
]
}
}
}
起動コマンドnpx -y @darkhorseone/mcp-server-uk-parliament-committees

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
npm@darkhorseone/mcp-server-uk-parliament-committees1.0.1

ツール

38

掲載時のツール一覧 · 2 週間前に更新

パラメーター型必須説明
Skipnumber|stringいいえスキップする項目数。デフォルトは 0 です
Takenumber|stringいいえ返す項目数。デフォルトは 30 です
EndDatestringいいえ指定日以前に公開された証拠の一覧
StartDatestringいいえ指定日以降に公開された証拠の一覧
SearchTermstringいいえ証人名、組織名、提出識別子(該当する場合)で検索します。2 文字以上が必要です。
CommitteeIdnumber|stringいいえ指定した委員会 ID に関連する証拠の一覧
ShowOnWebsiteOnlyboolean|stringいいえ委員会ウェブサイトの結果のみを返します。デフォルトは true です
CommitteeBusinessIdnumber|stringいいえ指定した委員会業務 ID に関連する証拠の一覧

詳細

MCP Compatible AI Agent Ready

英国議会委員会 MCP サーバー

概要

この MCP サーバーは、Model Context Protocol を使用して英国議会委員会のデータに構造化された形でアクセスできるようにします。 API に基づくツールとデータアクセスを通じて、AI エージェントが委員会、委員会の業務、イベント、刊行物、証拠資料、請願を照会できます。 開発者は、信頼性の高い自動化や、信頼できる委員会情報を必要とする AI エージェントのために、stdio トランスポートを介して MCP サーバーに接続できます。 このサーバーは、委員会 API に直接対応するツールを公開し、検索、参照、文書取得のワークフローをサポートします。

特徴

  • 構造化されたフィルターを使って、委員会、委員会の種類、委員会の業務を取得します。
  • 日付とステータスのパラメーターを指定して、会議、イベント、活動、出席データにアクセスします。
  • 刊行物、証拠資料、請願、および関連文書を、一貫したレスポンス形式で取得します。
  • 下流のツールや AI エージェント向けに、上流のペイロードを標準化されたエンベロープ内に保持します。

利用可能なツール

get_bill_petitions

法案に関する請願の一覧を返します。

パラメーター:

  • CommitteeBusinessId (number, query) – 委員会業務 ID で絞り込みます。
  • CommitteeId (number, query) – 委員会 ID で絞り込みます。
  • SearchTerm (string, query) – 証人/組織/識別子で検索します。
  • StartDate (string, query) – 指定日以降に公開されたものです。
  • EndDate (string, query) – 指定日以前に公開されたものです。
  • ShowOnWebsiteOnly (boolean, query) – ウェブサイトに掲載されている結果のみを表示します。
  • Skip (number, query) – オフセットです。
  • Take (number, query) – 取得件数の上限です。
get_bill_petition_by_id

法案に関する請願を返します。

パラメーター:

  • id (number, path) – 法案に関する請願の ID です。
  • showOnWebsiteOnly (boolean, query) – ウェブサイトに掲載されている結果のみを表示します。
get_bill_petition_document

法案に関する請願の文書を返します。

パラメーター:

  • id (number, path) – 請願の ID です。
  • fileDataFormat (string, path) – OriginalFormat | Html | Pdf。
get

2つの日付の間に開催される委員会会議の一覧を取得します。

パラメーター:

  • FromDate (string, query) – 開始日(yyyy-mm-dd)。
  • ToDate (string, query) – 終了日(yyyy-mm-dd)。
get_committee_business

委員会の業務の一覧を返します。

パラメーター:

  • SearchTerm (string, query)
  • CommitteeId (number, query)
  • DateFrom (string, query)
  • DateTo (string, query)
  • BusinessTypeId (number, query)
  • Status (string, query) – Open | Closed
  • CurrentlyAcceptingPetitions (boolean, query)
  • CurrentlyAcceptingEvidence (boolean, query)
  • SortOrder (string, query) – DateOpenedNewest | DateOpenedOldest | PublicationDateAscending | PublicationDateDescending
  • CommitteeBusinessIds (array:number, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_committee_business_by_id

委員会の業務を返します。

パラメーター:

  • id (number, path) – 委員会業務 ID です。
  • includeBanners (boolean, query)
  • showOnWebsiteOnly (boolean, query)
list_committee_business_publication_groups

委員会の業務に関する刊行物グループの一覧を返します。

パラメーター:

  • id (number, path) – 委員会業務 ID です。
list_committee_business_types

委員会業務の種類の一覧を返します。

list_committee_types

委員会の種類の一覧を返します。

get_committees

委員会の一覧を返します。

パラメーター:

  • CommitteeBusinessId (number, query)
  • SearchTerm (string, query)
  • ParentCommitteeId (number, query)
  • CommitteeStatus (string, query) – Current | Former | All
  • CommitteeTypeId (number, query)
  • CommitteeCategory (string, query) – Select | General | Other
  • House (string, query) – Commons | Lords | Joint
  • CommitteeIds (array:number, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_next_event_for_committees

指定した条件に一致する委員会の次回イベントの一覧を返します。

Parameters:

  • EventWithActivitiesOnly (boolean, query)
  • EventFromDate (string, query)
  • House (string, query) – Commons | Lords | Joint
  • EventTypes (array:number, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_committee_by_id

委員会を返します。

Parameters:

  • id (number, path) – 委員会 ID。
  • includeBanners (boolean, query)
  • showOnWebsiteOnly (boolean, query)
get_events_committee_by_id

指定した委員会 ID に関連するイベントを返します。

Parameters:

  • id (number, path) – 委員会 ID。
  • CommitteeBusinessId (number, query)
  • SearchTerm (string, query)
  • StartDateFrom (string, query)
  • StartDateTo (string, query)
  • EndDateFrom (string, query)
  • House (string, query) – Commons | Lords | Joint
  • LocationId (number, query)
  • ExcludeCancelledEvents (boolean, query)
  • SortAscending (boolean, query)
  • EventTypeId (number, query)
  • IncludeEventAttendees (boolean, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
list_committee_memberships

委員会のメンバーシップ一覧を返します。

Parameters:

  • id (number, path) – 委員会 ID。
  • MembershipStatus (string, query) – Current | Former | All
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_committee_person_photo

委員会の一般委員の写真を返します。

Parameters:

  • id (number, path) – 委員会 ID。
  • personId (number, path) – 人物 ID。
list_committee_staff_memberships

委員会のスタッフメンバー一覧を返します。

Parameters:

  • id (number, path) – 委員会 ID。
  • MembershipStatus (string, query) – Current | Former | All
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
list_committee_publication_groups

委員会の出版グループ一覧を返します。

Parameters:

  • id (number, path) – 委員会 ID。
get_committee_archived_publication_links

委員会に関連付けられたすべての CommitteeArchivedPublicationLinks を返します。

Parameters:

  • id (number, path) – 委員会 ID。
get_countries

国の一覧を返します。

get_events

イベントの一覧を返します。

Parameters:

  • CommitteeId (number, query)
  • CommitteeBusinessId (number, query)
  • GroupChildEventsWithParent (boolean, query)
  • SearchTerm (string, query)
  • StartDateFrom (string, query)
  • StartDateTo (string, query)
  • EndDateFrom (string, query)
  • House (string, query) – Commons | Lords | Joint
  • LocationId (number, query)
  • ExcludeCancelledEvents (boolean, query)
  • SortAscending (boolean, query)
  • EventTypeId (number, query)
  • IncludeEventAttendees (boolean, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_event_activities

イベントアクティビティの一覧を返します。

Parameters:

  • IncludeActivityAttendees (boolean, query)
  • CommitteeId (number, query)
  • CommitteeBusinessId (number, query)
  • GroupChildEventsWithParent (boolean, query)
  • SearchTerm (string, query)
  • StartDateFrom (string, query)
  • StartDateTo (string, query)
  • EndDateFrom (string, query)
  • House (string, query) – Commons | Lords | Joint
  • LocationId (number, query)
  • ExcludeCancelledEvents (boolean, query)
  • SortAscending (boolean, query)
  • EventTypeId (number, query)
  • IncludeEventAttendees (boolean, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_event_by_id

イベントを返します。

Parameters:

  • id (number, path) – イベント ID。
  • showOnWebsiteOnly (boolean, query)
get_attendances_by_id

イベントの出席者一覧を返します。

Parameters:

  • id (number, path) – イベント ID。
  • showOnWebsiteOnly (boolean, query)
get_activities_by_id

イベントのアクティビティ一覧を返します。

Parameters:

  • id (number, path) – イベント ID。
  • showOnWebsiteOnly (boolean, query)
list_members_committee_memberships

1 人以上のメンバーの所属一覧を返します。

Parameters:

  • Members (array:number, query) – メンバー ID。
  • MembershipStatus (string, query) – Current | Former | All
  • CommitteeCategory (string, query) – Select | General | Other
  • ShowOnWebsiteOnly (boolean, query)
banners

メッセージバナーを返します。

Parameters:

  • location (string, path) – バナーの場所。
get_oral_evidence

口頭証言の一覧を返します。

Parameters:

  • CommitteeBusinessId (number, query)
  • CommitteeId (number, query)
  • SearchTerm (string, query)
  • StartDate (string, query)
  • EndDate (string, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_oral_evidence_by_id

口頭証言を返します。

Parameters:

  • id (number, path) – 口頭証言 ID。
  • showOnWebsiteOnly (boolean, query)
get_oral_evidence_document

口頭証言のドキュメントを返します。

Parameters:

  • id (number, path) – 口頭証言 ID。
  • fileDataFormat (string, path) – OriginalFormat | Html | Pdf.
list_publication_types

出版物の種類の一覧を返します。

get_publications

出版物の一覧を返します。

Parameters:

  • PublicationTypeIds (array:number, query)
  • SearchTerm (string, query)
  • StartDate (string, query)
  • EndDate (string, query)
  • SortOrder (string, query) – PublicationDateDescending | PublicationDateAscending | ResponseDateDescending | ResponseDateAscending
  • PaperNumbers (array:string, query)
  • CommitteeBusinessId (number, query)
  • CommitteeId (number, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_publication_by_id

出版物を返します。

Parameters:

  • id (number, path) – 出版物 ID。
  • showOnWebsiteOnly (boolean, query)
get_document

出版物のドキュメントを返します。

Parameters:

  • id (number, path) – 出版物 ID。
  • documentId (number, path) – ドキュメント ID。
  • fileDataFormat (string, path) – OriginalFormat | Html | Pdf.
get_submission_period_template_document_by_id

提出期間テンプレートファイルを返します。

Parameters:

  • id (number, path) – 提出期間テンプレート ID。
  • documentId (number, path) – ドキュメント ID。
get_submission_period_by_id

提出期間を返します。

Parameters:

  • id (number, path) – 提出期間 ID。
get_written_evidence

書面証拠の一覧を返します。

Parameters:

  • CommitteeBusinessId (number, query)
  • CommitteeId (number, query)
  • SearchTerm (string, query)
  • StartDate (string, query)
  • EndDate (string, query)
  • ShowOnWebsiteOnly (boolean, query)
  • Skip (number, query)
  • Take (number, query)
get_written_evidence_by_id

書面証拠を返します。

Parameters:

  • id (number, path) – 書面証拠 ID。
  • showOnWebsiteOnly (boolean, query)
get_written_evidence_document

書面証拠のドキュメントを返します。

Parameters:

  • id (number, path) – 書面証拠 ID。
  • fileDataFormat (string, path) – OriginalFormat | Html | Pdf.

出力例

{
  "status": 200,
  "data": {
    "items": [
      {
        "committeeId": 123,
        "name": "Select Committee on Energy",
        "house": "Commons",
        "status": "Current"
      }
    ],
    "totalResults": 1
  },
  "upstream_path": "/api/Committees",
  "retrieved_at": "2026-03-11T10:00:00.000Z"
}

クイックスタート

npx を使用して MCP サーバーを実行します。

npx -y -p @darkhorseone/mcp-server-uk-parliament-committees mcp-server-uk-parliament-committees

MCP の設定

stdio トランスポート用の mcpServers 設定例:

{
  "mcpServers": {
    "uk-parliament-committees": {
      "command": "npx",
      "args": ["-y", "-p", "@darkhorseone/mcp-server-uk-parliament-committees", "mcp-server-uk-parliament-committees"],
      "env": {
        "UKPCOM_API_BASE_URL": "https://committees-api.parliament.uk",
        "UKPCOM_REQUEST_TIMEOUT_MS": "10000"
      }
    }
  }
}

使用例

  • House of Commons の現職委員会を一覧表示します。
  • キーワードで委員会業務を検索し、ステータスで絞り込みます。
  • 日付範囲を指定して、委員会のイベントを取得します。
  • 委員会の出版物ドキュメントを PDF としてダウンロードします。

ユースケース

  • 委員会の活動や今後の会議を要約する AI エージェント。
  • 証拠提出や出版物を追跡する調査ツール。
  • 委員会業務のステータスを監視するシビックテクノロジープラットフォーム。
  • 委員会のメタデータでデータセットを拡充する自動化システム。

データソース

UK Parliament Committees API https://committees-api.parliament.uk/index.html

インストール

npx を使用して直接実行します。

npx -y -p @darkhorseone/mcp-server-uk-parliament-committees mcp-server-uk-parliament-committees

または、リポジトリのルートから pnpm でインストールします。

pnpm install

実行(HTTP プロキシサーバー)

まずビルドしてから起動します。

pnpm --filter @darkhorseone/mcp-server-uk-parliament-committees run build
pnpm --filter @darkhorseone/mcp-server-uk-parliament-committees run start:http

UKPCOM_HTTP_PORT 環境変数でカスタム HTTP ポートを設定します(デフォルト:8787)。

UKPCOM_HTTP_PORT=8787 pnpm --filter @darkhorseone/mcp-server-uk-parliament-committees run start:http

公開済みパッケージのコマンド:

npx -y -p @darkhorseone/mcp-server-uk-parliament-committees -- mcp-server-uk-parliament-committees-http

シェルでバイナリを解決できない場合(「command not found」と表示される場合)は、HTTP エントリーポイントを直接実行します。

npx -y -p @darkhorseone/mcp-server-uk-parliament-committees -- node ./dist/http.js

ヘルスチェック:

curl http://127.0.0.1:8787/healthz

プロキシパターン:

GET /proxy/<upstream-path>?<query>

例:

curl "http://127.0.0.1:8787/proxy/api/Committees?Take=5"

ライセンス

MIT License

MCP メタデータ

プロトコル:Model Context Protocol トランスポート:stdio ツール:get_bill_petitions, get_bill_petition_by_id, get_bill_petition_document, get, get_committee_business, get_committee_business_by_id, list_committee_business_publication_groups, list_committee_business_types, list_committee_types, get_committees, get_next_event_for_committees, get_committee_by_id, get_events_committee_by_id, list_committee_memberships, get_committee_person_photo, list_committee_staff_memberships, list_committee_publication_groups, get_committee_archived_publication_links, get_countries, get_events, get_event_activities, get_event_by_id, get_attendances_by_id, get_activities_by_id, list_members_committee_memberships, banners, get_oral_evidence, get_oral_evidence_by_id, get_oral_evidence_document, list_publication_types, get_publications, get_publication_by_id, get_document, get_submission_period_template_document_by_id, get_submission_period_by_id, get_written_evidence, get_written_evidence_by_id, get_written_evidence_document

コメント

MCP は初めてですか?

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

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