プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

Parliament Poland MCP Server

作者:pkolawaバージョン 2.1.0i★ 1iパソコンで動くリポジトリ ↗
レジストリ名io.github.pkolawa/parliament-poland-mcp-server

インストール方法

できること

Polish Parliament data MCP server - proceedings bills votes etc.

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ 法律・行政データ

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気13/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア25/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 9 (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Parliament Poland MCP Server をインストールして。https://mcp.popnx.com/i/pkolawa-parliament-poland-mcp-server.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月21日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Parliament Poland MCP Server を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "parliament-poland": { "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Parliament Poland MCP Server のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "parliament-poland": {
          "command": "npx",
          "args": [
            "-y",
            "parliament-poland-mcp-server"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Parliament Poland MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Parliament Poland MCP Server を使っていると言うか、回答に Parliament Poland MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Parliament Poland MCP Server につなげません

Parliament Poland MCP Server はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Parliament Poland MCP Server につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · 法律・行政データ の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Parliament Poland MCP Server を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user parliament-poland -- npx -y parliament-poland-mcp-server 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Parliament Poland MCP Server のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user parliament-poland -- npx -y parliament-poland-mcp-server
  4. Claude Code で /mcp と入力

    Parliament Poland MCP Server が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Parliament Poland MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Parliament Poland MCP Server を使っていると言うか、回答に Parliament Poland MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Parliament Poland MCP Server を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "parliament-poland": { "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Parliament Poland MCP Server のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Parliament Poland MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Parliament Poland MCP Server を使っていると言うか、回答に Parliament Poland MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Parliament Poland MCP Server を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "parliament-poland": { "type": "stdio", "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Parliament Poland MCP Server のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Parliament Poland MCP Server を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Parliament Poland MCP Server を使っていると言うか、回答に Parliament Poland MCP Server のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Parliament Poland MCP Server を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user parliament-poland -- npx -y parliament-poland-mcp-server

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

{
  "servers": {
    "parliament-poland": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "parliament-poland-mcp-server"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
392/週
接続方法
パソコンで動く
最新バージョンi
2.1.0
レジストリ公開日i
2026年11月21日
コードの最終更新i
2026年11月21日
作者
pkolawa
パッケージ
npm: parliament-poland-mcp-server
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月21日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント pkolawa で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/pkolawa-parliament-poland-mcp-server.svg)](https://mcp.popnx.com/en/servers/pkolawa-parliament-poland-mcp-server)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

法律・行政データのほかのサーバーとの比較i

  • このカテゴリのほかの1984件のうち87%よりスターが多い
  • このカテゴリのほかの1984件のうち99%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1984件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Parliament Poland MCP Serverは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(2.1.0)がレジストリに届いたのは今日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

作者:lexifina広く使われている★ 212511 日前更新

クラウドで動く✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

作者:librejustice初期★ 382 か月前更新

クラウドで動く✓ 提供元 · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

作者:street1983nk初期★ 185 か月前更新

クラウドで動く✓ 提供元 · infranode.dev
似たものと比べる
これ
Parliament Poland MCP Server
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/44/44/4
ライセンスMITNOASSERTIONMITApache-2.0Apache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Parliament of Poland MCP Server

An MCP server for the Polish Parliament public API: the Sejm API (MPs, votings, legislative processes, ...) and the ELI API of legal acts published in Dziennik Ustaw and Monitor Polski.

Usage

This server is designed to be run with npx, allowing you to use it as a tool provider for LLM clients without a global installation. It requires Node.js 22 or newer.

Running with npx

To start the server, run the following command:

npx parliament-poland-mcp-server
Configuration for LLM Clients

To integrate this server with an LLM client (like LM Studio or others that support MCP), you can configure it to spawn the server process. Here is an example configuration:

{

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

This configuration tells the client how to start the tool server.

Tools

Every tool is read-only (readOnlyHint: true) and queries the public Sejm API (openWorldHint: true). term is optional in every Sejm tool and defaults to the current term of the Sejm; the legal act tools do not use it. Tools that return data (all except the text tools get-interpellation-text, get-statement and get-act-text) declare an outputSchema and return the data as structuredContent too; lists come as { "items": [...] }. Lists that the API returns whole (MPs, votings of a sitting, clubs, committees, plenary sittings, terms, keywords of legal acts) are filtered and paginated by the server and come as { "total", "offset", "nextOffset", "items" }, where nextOffset is absent on the last page.

ToolWhat it returns
get-termsTerms (kadencje) of the Sejm with their dates; the current one is the default term
get-membersMPs (posłowie) of a term with their ID, club and district, filtered by club, name, district, voivodeship or active; 100 per page
get-memberDetails of one MP
get-mp-voting-statsAn MP's attendance in votings for each sitting day
get-mp-votingsHow an MP voted in every voting on one sitting day
get-clubsParliamentary clubs and circles (kluby i koła)
get-clubDetails of one club
get-committeesCommittees (komisje) with their codes, without members
get-committeeDetails of one committee, with members
get-committee-sittingsSittings of a committee, filtered by date, with the agenda as text
get-committee-sittingOne committee sitting with its agenda and videos
get-interpellationsInterpellations (interpelacje), filtered by title, MP, recipient, date or delay
get-interpellationDetails of one interpellation, with its replies
get-interpellation-textText of an interpellation or of a reply to it
get-written-questionsWritten questions (zapytania), filtered like interpellations
get-printsPrints (druki: bills, reports and other documents)
get-printDetails of one print
get-proceedingsPlenary sittings (posiedzenia) with their numbers and dates
get-proceedingOne plenary sitting with its agenda as text
get-current-proceedingThe current or next plenary sitting with its agenda as text
get-processesLegislative processes, filtered by title or document type
get-passed-processesLegislative processes that ended with a passed act
get-processOne legislative process with its stages, identified by its print number
get-transcriptsStatements in the transcript of one sitting day
get-statementText of one statement
get-videosVideo transmissions of a term
get-videos-by-dateVideo transmissions of one day (today by default)
get-votingsVotings of one plenary sitting, filtered by day or title; 50 per page
get-votingResult of one voting with a breakdown by club, optionally with each MP's vote
search-votingsVotings found by title, sitting or date range
get-bilateral-groupsBilateral groups (parliamentary friendship groups)
search-actsLegal acts in Dziennik Ustaw and Monitor Polski, by title, type, keywords, status or dates
get-actDetails of one legal act, with references to other acts (amending acts, consolidated texts…)
get-act-textText of a legal act or of one of its articles, in pages
get-act-keywordsKeywords that search-acts accepts

Legal acts come from the ELI API, which works independently of the Sejm API. An act is identified by its ELI: publisher (DU for Dziennik Ustaw, MP for Monitor Polski), year and position, e.g. DU/2024/1. The ELI field of a legislative process from get-process or get-passed-processes leads from a bill passed by the Sejm to the act as published, and the prints of an act lead back to the process.

Upgrading from 1.x

Version 2.0 makes the tools easier for LLMs to use and contains breaking changes:

  • Tool names. Tools are registered under short kebab-case names, e.g. get-members instead of Get-a-list-of-MPs-for-a-given-term. Update any client configuration, allow-lists or prompts that refer to the old names:

Old and new tool names

2.01.x
get-termsGet-a-list-of-Sejm-terms
get-membersGet-a-list-of-MPs-for-a-given-term
get-memberGet-information-about-a-member-of-Parliament
get-mp-voting-statsGet-voting-attendance-statistics-of-an-MP-for-each-sitting-day
get-mp-votingsGet-how-an-MP-voted-on-a-given-sitting-day
get-clubsGet-a-list-of-clubs-for-a-given-term
get-clubGet-detailed-information-about-a-specific-club
get-committeesGet-a-list-of-committees-for-a-given-term
get-committeeGet-detailed-information-about-a-specific-committee
get-committee-sittingsGet-a-list-of-sittings-of-a-committee
get-committee-sittingGet-details-about-a-single-committee-sitting
get-interpellationsGet-a-list-of-interpellations-for-a-given-term
get-interpellationGet-detailed-information-about-a-specific-interpellation
get-interpellation-textGet-the-text-of-an-interpellation-or-of-a-reply-to-it
get-printsGet-a-list-of-prints-for-a-given-term
get-printGet-detailed-information-about-a-specific-print
get-proceedingsGet-a-list-of-proceedings-for-a-given-term
get-current-proceedingGet-the-current-or-next-sitting-of-the-Sejm-with-its-agenda
get-processGet-information-about-a-specific-legislative-process
get-processesGet-a-list-of-legislative-processes-for-a-given-term
get-passed-processesGet-a-list-of-passed-legislative-processes-for-a-given-term
get-transcriptsGet-the-list-of-transcript-statements-for-a-Sejm-sitting-day
get-statementGet-the-text-of-a-single-statement-from-a-Sejm-sitting-transcript
get-videosGet-a-list-of-video-recordings-for-a-given-term
get-videos-by-dateGet-video-transmissions-from-a-given-day
get-votingsGet-a-list-of-votings-for-a-given-term
get-votingGet-the-results-of-a-single-voting-with-a-breakdown-by-club
search-votingsSearch-for-votings-in-a-given-term
get-written-questionsGet-a-list-of-written-questions-for-a-given-term
get-bilateral-groupsGet-a-list-of-bilateral-groups-in-the-Sejm
search-actsSearch-Polish-legal-acts-in-Dziennik-Ustaw-and-Monitor-Polski
get-actGet-details-of-a-Polish-legal-act
get-act-textGet-the-text-of-a-Polish-legal-act-or-of-one-of-its-articles
get-act-keywordsList-keywords-used-to-classify-Polish-legal-acts
  • `term` is optional everywhere and defaults to the current term.
  • Responses contain compact JSON (no indentation) instead of pretty-printed JSON, and JSON tools also return structuredContent matching their outputSchema. The text messages before the data are unchanged.
  • `get-interpellations` sends its filters to the API under the names the API supports, so dateFrom, dateTo and mp now actually filter the results. The number, club and status parameters, which the API never supported, are removed; use get-interpellation for a single interpellation and delayed: true for interpellations with an overdue answer. New parameters: recipient, modifiedSince, delayed.
  • `get-written-questions` accepts only an MP ID in from and gains delayed.
  • `get-proceedings` no longer returns the agenda and schedules of each sitting as HTML, which made the list about 700 KB; it returns the number, title, dates and current flag. The new `get-proceeding` tool returns one sitting with its agenda as plain text.
  • `get-members` returns 100 MPs per page with id, firstLastName, club, districtNum, districtName, voivodeship and active (about 14 KB instead of 240 KB for all 494 MPs of the 10th term). Ask for more fields with fields (e.g. ["profession", "birthDate"]); get-member returns everything about one MP. New filters: club, name (ignores case and Polish diacritics), active, district (number or name) and voivodeship.
  • `get-votings` returns 50 votings per page (the 147 votings of the first sitting of the 10th term were 87 KB) without the PDF link and the term. New filters: date (a day of the sitting) and title (words in the title, topic or description). search-votings returns the same fields.
  • `get-committees` no longer returns the members of each committee, which made the list of the 40 committees of the 10th term 173 KB instead of 28 KB; get-committee returns the members of one committee.
  • Pagination of whole lists. offset and limit of get-members, get-votings, get-clubs, get-committees, get-proceedings and get-terms are applied by the server, because the API does not document them for these lists. These tools now return total and nextOffset with the items. get-clubs, get-committees, get-proceedings and get-terms still return the whole list by default. get-prints returns 50 prints by default and paginates the list itself if the API returns more than limit.
  • `get-print` takes printNumber as a string, so additional prints such as 1070-A can be fetched.
  • `get-processes` gains the title and documentType filters of get-passed-processes.
  • Parameters with a fixed format are validated: dates (YYYY-MM-DD), club IDs, print numbers and sort fields.

Development

To run the server in a development environment:

  1. Clone the repository.
  2. Install dependencies: npm install
  3. Run unit tests: npm test
  4. Run live API integration tests (requires internet access): npm run test:live-api
  5. Build the project: npm run build
  6. Run the server: npm start

Author

Piotr Kolawa (@pkolawa) / (Linkedin)

License

This project is licensed under the MIT License - see the LICENSE file for details.