Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Parliament Poland MCP Server

by pkolawaversion 2.1.0i★ 1iRuns on your computerRepository ↗
Registry nameio.github.pkolawa/parliament-poland-mcp-server

How to install

What it does

Polish Parliament data MCP server - proceedings bills votes etc.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Law & government data

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity13/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score25/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 9 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Parliament Poland MCP Server. Follow https://mcp.popnx.com/i/pkolawa-parliament-poland-mcp-server.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 21, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Parliament Poland MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "parliament-poland": { "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Parliament Poland MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "parliament-poland": {
          "command": "npx",
          "args": [
            "-y",
            "parliament-poland-mcp-server"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Parliament Poland MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Parliament Poland MCP Server or shows a Parliament Poland MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Parliament Poland MCP Server yet

Parliament Poland MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Parliament Poland MCP Server

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Law & government data that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Parliament Poland MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user parliament-poland -- npx -y parliament-poland-mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Parliament Poland MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user parliament-poland -- npx -y parliament-poland-mcp-server
  4. Type /mcp in Claude Code

    You should see Parliament Poland MCP Server listed as connected

  5. Try it

    Use Parliament Poland MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Parliament Poland MCP Server or shows a Parliament Poland MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Parliament Poland MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "parliament-poland": { "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Parliament Poland MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Parliament Poland MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Parliament Poland MCP Server or shows a Parliament Poland MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Parliament Poland MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "parliament-poland": { "type": "stdio", "command": "npx", "args": [ "-y", "parliament-poland-mcp-server" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Parliament Poland MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Parliament Poland MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Parliament Poland MCP Server or shows a Parliament Poland MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Parliament Poland MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
392/wk
Connection
Runs on your computer
Latest versioni
2.1.0
Published to registryi
Nov 21, 2026
Code last changedi
Nov 21, 2026
Maker
pkolawa
Packages
npm: parliament-poland-mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 21, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account pkolawa, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![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)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Law & government datai

  • More stars than 87% of the other 1984 servers in this category
  • Published to the registry more recently than 99% of the other 1984 servers in this category
  • Basic checks equal to or better than 99% of the other 1984 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Parliament Poland MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (2.1.0) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Global law

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

by lexifinaWidely used★ 2.1KUpdated 11 days ago

Runs in the cloud✓ lexifina.com

LibreJustice

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

by librejusticeEarly★ 38Updated 2 months ago

Runs in the cloud✓ service owner · librejustice.fr

InfraNode

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

by street1983nkEarly★ 18Updated 5 months ago

Runs in the cloud✓ service owner · infranode.dev

Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

by JayTheSkierEarly★ 8Updated 7 months ago

Runs in the cloud✓ service owner · fedlex-connector.ch
Compared with similar ones
This one
Parliament Poland MCP Server
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/44/44/4
LicenseMITNOASSERTIONMITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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.