Skip to main content
Glama
kupad95

UK Parliament MCP Server

by kupad95

英国議会 MCP サーバー

npm version License: MIT GitHub

https://github.com/user-attachments/assets/eec2a7bc-1ddf-4b25-8553-8d5b33a57ff6

英国議会のライブデータのためのModel Context Protocol (MCP) サーバーです。 MCP対応のアシスタントから直接、法案、投票、議員プロフィール、経済的利益、請願をクエリできます。APIキーは不要です。


機能

  • 認証不要 – Open Parliament Licenceに基づくオープンデータ

  • 造反追跡 – 党の指示(ウィップ)に反して投票した議員を検出

  • データセット横断クエリ – 投票記録と経済的利益を照合

  • パターン検出 – 接戦、政府の敗北、党の造反率

  • 法案・請願検索 – キーワード、段階、ステータスによる検索


インストール

# One‑off run
npx uk-parliament-mcp

# Global install
npm install -g uk-parliament-mcp

使用方法

Claude Desktopclaude_desktop_config.json に追加します:

{
  "mcpServers": {
    "uk-parliament": {
      "command": "npx",
      "args": ["-y", "uk-parliament-mcp"]
    }
  }
}

Claude Code:

claude mcp add uk-parliament -- npx -y uk-parliament-mcp

利用可能なツール

ツール

目的

rank_entities

議案ごとの造反数で議員をランク付け

get_events

最近の議案、造反、または法案

analyze_patterns

接戦、政府の敗北、党の造反率

find_entities

議員、法案、請願、または申告された利益を検索

query_entities

投票記録と経済的利益を照合


質問例

質問

ツール

今議会で最も造反した労働党議員は誰ですか?

rank_entities

今週下院でどのような投票がありましたか?

get_events

先月造反した保守党議員は誰ですか?

get_events

現在の福祉改革に関する法案は?

find_entities

今年の接戦(10票差以内)の投票を見せて

analyze_patterns

上院で否決された政府法案はどれですか?

analyze_patterns

防衛関連企業の利益を申告している議員

find_entities

賃貸人改革法案(Renters Reform Bill)に反対票を投じ、不動産関連の利益を持つ労働党議員

query_entities

現在最も署名を集めている公開請願は何ですか?

find_entities


データソース

API

対象範囲

bills-api.parliament.uk

法案、段階、スポンサー

commonsvotes-api.parliament.uk

下院の議案記録

lordsvotes-api.parliament.uk

上院の議案記録

members-api.parliament.uk

議員および貴族のプロフィール

interests-api.parliament.uk

議員の経済的利益登録簿

petition.parliament.uk

請願および署名数


開発

git clone https://github.com/YOUR_USERNAME/uk-parliament-mcp-server.git
cd uk-parliament-mcp-server
npm install
npm run build   # compile TypeScript
npm start       # production
npm run dev     # watch & reload

貢献

  1. Fork → ブランチ作成 → コミット

  2. git push してプルリクエストを作成

  3. src/ 内のコーディングスタイルに従ってください


ライセンス

MIT – LICENSE を参照してください。


免責事項 このプロジェクトは非公式であり、英国議会によって承認されたものではありません。データの使用は Open Parliament Licence に準拠します。

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kupad95/uk-parliament-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server