parliament-poland-mcp-server
v2.1.0Polish Parliament data MCP server - proceedings bills votes etc.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get-terms List Sejm terms
List the terms (kadencje: four-year parliaments elected together) of the Sejm, the lower house of the Polish Parliament, with their start and end dates. The term marked current=true is the one all other tools use when `term` is omitted.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; all by default |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
get-members List MPs
List members of the Sejm (posłowie, MPs) in a term with their ID, name, club (klub), electoral district (okręg wyborczy), voivodeship (województwo) and whether they still hold the mandate (active). MPs who left during the term are included with active=false, so the list is longer than the 460 seats. Returns 100 MPs per page; narrow the list with club, name, district, voivodeship or active. Ask for more fields (e.g. profession, birthDate) with `fields`; get-member returns everything about one MP. The ID is the input of get-member, get-mp-voting-stats and get-mp-votings.
| Parameter | Type | Description |
|---|---|---|
active | boolean | true: only MPs who hold their mandate now; false: only MPs whose mandate expired during the term (e.g. after election to the European Parliament); both by default |
club | string | Only MPs of this club or circle (klub, koło), e.g. KO, PiS, PSL-TD, Lewica or Konfederacja, or niez. for MPs outside any club: the `id` from get-clubs, case-insensitive |
district | string | Only MPs elected in this electoral district (okręg wyborczy): its number, e.g. 13, or the city it is named after, e.g. Kraków (a city can name more than one district) |
fields | array | Extra fields to return for each MP, e.g. ["profession", "birthDate"]. By default only id, firstLastName, club, districtNum, districtName, voivodeship and active are returned |
limit | integer | Maximum number of items to return; defaults to 100 |
name | string | Only MPs whose name contains all these words, in any order, e.g. Tusk or Szymon Hołownia; case and Polish diacritics are ignored |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
voivodeship | string | Only MPs elected in this voivodeship (województwo, one of the 16 regions of Poland), e.g. mazowieckie or śląskie; Polish diacritics are optional |
get-member Get an MP
Get details of one member of the Sejm (poseł, MP): name, club, electoral district and voivodeship, votes received, birth date and place, education, profession, e-mail, and whether the mandate is still held.
| Parameter | Type | Description |
|---|---|---|
id * | integer | ID of the MP (poseł): the `id` field from get-members |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-mp-voting-stats Get an MP's voting attendance
Get an MP's attendance in votings for every sitting day of a term: how many votings were held, how many the MP took part in or missed, and whether the absence was excused. Use a sitting number and date from here with get-mp-votings to see the votes themselves.
| Parameter | Type | Description |
|---|---|---|
id * | integer | ID of the MP (poseł): the `id` field from get-members |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-mp-votings Get an MP's votes on a day
Get how an MP voted (YES, NO, ABSTAIN, ABSENT) in every voting held on one day of a plenary sitting, with the title and topic of each voting. Days on which votings were held are listed by get-mp-voting-stats.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format |
id * | integer | ID of the MP (poseł): the `id` field from get-members |
sitting * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-clubs List clubs
List the parliamentary clubs and circles (kluby i koła poselskie: the party groups of MPs in the Sejm) with their ID, full name, number of members and contact details. The ID (e.g. KO, PiS) is what the `club` field of MPs and votes refers to.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; all by default |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-club Get a club
Get details of one parliamentary club or circle (klub, koło): full name, number of members and contact details.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the club, e.g. KO or PiS: the `id` field from get-clubs |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-committees List committees
List the committees of the Sejm (komisje sejmowe: standing, extraordinary and investigative committees that examine bills and oversee the government) with their code, name, type and scope, without their members. The code (e.g. ASW) is the input of get-committee, which returns the members, and of get-committee-sittings.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; all by default |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-committee Get a committee
Get details of one Sejm committee (komisja): name, type, scope of work, appointment date, members with their club and function (e.g. przewodniczący = chair), and codes of its subcommittees.
| Parameter | Type | Description |
|---|---|---|
id * | string | Code of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-committee-sittings List committee sittings
List the sittings (posiedzenia) of one committee in a term, oldest first, with date, time, room, status (PLANNED, FINISHED, CANCELLED) and agenda as plain text. Narrow the list with dateFrom and dateTo; get-committee-sitting returns one sitting with its video links.
| Parameter | Type | Description |
|---|---|---|
code * | string | Code of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees |
cancelled | boolean | Also include cancelled sittings; defaults to false |
dateFrom | string | Earliest sitting date, in YYYY-MM-DD format |
dateTo | string | Latest sitting date, in YYYY-MM-DD format |
limit | integer | Maximum number of sittings to return after the date filter; all by default |
offset | integer | Number of sittings to skip after the date filter, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-committee-sitting Get a committee sitting
Get one sitting of a committee: date, time, room, status, agenda as plain text and links to the video recordings.
| Parameter | Type | Description |
|---|---|---|
code * | string | Code of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees |
num * | integer | Number of the committee sitting: the `num` field from get-committee-sittings |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-interpellations Search interpellations
Search interpellations (interpelacje: formal written questions on matters of policy that MPs address to the Prime Minister or a minister, who must answer within 21 days). Returns number, title, author MP IDs, recipients, dates and replies. Use get-interpellation-text for the text. Shorter questions on specific matters are written questions (get-written-questions).
| Parameter | Type | Description |
|---|---|---|
dateFrom | string | Only interpellations sent on or after this date, in YYYY-MM-DD format |
dateTo | string | Only interpellations sent before this date, in YYYY-MM-DD format |
delayed | boolean | Only interpellations whose answer is overdue |
limit | integer | Maximum number of items to return; defaults to 50 |
modifiedSince | string | Only interpellations changed since this time (e.g. that received a reply), in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format |
mp | integer | Only interpellations submitted by the MP with this ID (see get-members) |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
recipient | string | Only interpellations sent to this recipient, in Polish (e.g. minister zdrowia) |
sort_by | string | Field to sort by, e.g. num or receiptDate; prefix with - for descending order (e.g. -receiptDate) |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
title | string | Phrase to search for in the title of the interpellation, in Polish (e.g. podatek dochodowy) |
get-interpellation Get an interpellation
Get the details of one interpellation (interpelacja): title, author MP IDs, recipients, dates, how many days the answer is overdue, and its replies with their keys and attachments. Use get-interpellation-text for the text of the interpellation or of a reply.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Number of the interpellation: the `num` field from get-interpellations |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-interpellation-text Get the text of an interpellation
Get the text of an interpellation (interpelacja) or of a reply to it, as plain text.
| Parameter | Type | Description |
|---|---|---|
num * | integer | Number of the interpellation: the `num` field from get-interpellations |
replyKey | string | Key of a reply (replies[].key from get-interpellation); omit to get the interpellation itself. A reply with onlyAttachment=true has its content only in the attached PDF |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-prints List prints
List Sejm prints (druki sejmowe: the numbered documents the Sejm works on, such as bills, committee reports and opinions) with number, title, dates and attachment file names. A bill's print number also identifies its legislative process (get-process).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
sort_by | string | Field to sort by, e.g. documentDate; prefix with - for descending order (e.g. -changeDate for the most recently changed) |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-print Get a print
Get one Sejm print (druk): title, dates, attachment file names, associated prints and the legislative processes it belongs to.
| Parameter | Type | Description |
|---|---|---|
printNumber * | string | Number of the print, e.g. 1070, or 1070-A for an additional print: the `number` field from get-prints |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-proceedings List plenary sittings
List the plenary sittings of the Sejm (posiedzenia Sejmu: numbered meetings of the whole chamber, each lasting one or more days) in a term, with number, title and dates. Planned sittings that have no number yet have number 0. The number is the `proceeding` or `sitting` parameter of get-proceeding, get-votings, get-voting, get-transcripts and get-mp-votings, and the dates are the days of the sitting. Agendas are returned by get-proceeding.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; all by default |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-proceeding Get a plenary sitting
Get one plenary sitting of the Sejm (posiedzenie Sejmu) with its number, dates and agenda (porządek dzienny) as plain text.
| Parameter | Type | Description |
|---|---|---|
proceeding * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-current-proceeding Get the current plenary sitting
Get the current plenary sitting of the Sejm, or the next one if none is in progress, with its number, dates, agenda (porządek dzienny), schedule, voting schedule and current affairs, as plain text.
| Parameter | Type | Description |
|---|---|---|
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-process Get a legislative process
Get one legislative process (proces legislacyjny: the path of a bill or resolution through the Sejm, Senate and President) with its stages and dates (readings, committee work, votings, Senate position, signature), whether it passed, and the ELI and citation of the published act.
| Parameter | Type | Description |
|---|---|---|
processNumber * | string | Number of the print that started the process, e.g. 1070: the `number` field from get-processes or get-passed-processes |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-processes List legislative processes
List legislative processes (procesy legislacyjne: bills and draft resolutions going through the Sejm) in a term with their number, title, document type, dates and whether they passed. Get the stages of one process with get-process.
| Parameter | Type | Description |
|---|---|---|
documentType | string | Type of the document, in Polish (e.g. projekt ustawy) |
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
title | string | Phrase to search for in the title of the process, in Polish (e.g. podatek dochodowy) |
get-passed-processes List passed legislative processes
List legislative processes that ended with the act being passed (uchwalone) in a term, with the title of the act as passed and the ELI and citation (Dz.U./M.P.) of the published act.
| Parameter | Type | Description |
|---|---|---|
documentType | string | Type of the document, in Polish (e.g. projekt ustawy) |
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
title | string | Phrase to search for in the title of the process, in Polish (e.g. podatek dochodowy) |
get-transcripts List statements of a sitting day
List the statements (wypowiedzi) in the transcript (stenogram) of one day of a plenary sitting: statement number, speaker, function, MP ID and time. Get the text of a statement with get-statement.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format |
proceeding * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-statement Get the text of a statement
Get the text of one statement (wypowiedź) from the transcript (stenogram) of a plenary sitting, as plain text.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format |
proceeding * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
statementNum * | integer | Number of the statement: the `num` field from get-transcripts; 0 is the course of the sitting |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-videos List video transmissions
List video transmissions (transmisje) of plenary sittings, committee sittings and other events in the Sejm in a term, with title, type, room, start time and links to the player and the video.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-videos-by-date List video transmissions of a day
List video transmissions (transmisje) from the Sejm on one day: plenary and committee sittings and other events, with title, type, room, start time and links to the player and the video.
| Parameter | Type | Description |
|---|---|---|
date | string | Day of the transmissions, in YYYY-MM-DD format; defaults to today |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
get-votings List votings of a sitting
List the votings (głosowania) held during one plenary sitting (posiedzenie), in order, with voting number, date and time, title, topic, kind, required majority and the number of YES, NO and ABSTAIN votes. A sitting often has over a hundred votings, so they are returned 50 per page; narrow them to one day of the sitting with date, or by subject with title. Get the breakdown by club with get-voting; find votings across sittings with search-votings.
| Parameter | Type | Description |
|---|---|---|
proceeding * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
date | string | Only votings held on this day of the sitting (one of its `dates` in get-proceedings), in YYYY-MM-DD format |
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
title | string | Only votings whose title, topic or description contains all these words, in Polish, e.g. budżet or poprawka; case and diacritics are ignored, and a stem such as podatk also matches podatku and podatk… |
get-voting Get a voting
Get the result of one voting (głosowanie) of the Sejm: title, topic, kind, required majority, totals of YES, NO and ABSTAIN votes, and the number of votes of each kind per club (votesByClub). Optionally also how each MP voted.
| Parameter | Type | Description |
|---|---|---|
sitting * | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
votingNumber * | integer | Number of the voting within the sitting: the `votingNumber` field from get-votings or search-votings |
club | string | Return the individual votes of this club only, e.g. KO or PiS (the `id` from get-clubs); implies includeVotes |
includeVotes | boolean | Also return how each MP voted (about 460 entries); defaults to false |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
search-votings Search votings
Search the votings (głosowania) of a term by a phrase in the title, by sitting and by date range. Returns the same fields as get-votings; get the breakdown by club with get-voting.
| Parameter | Type | Description |
|---|---|---|
dateFrom | string | Earliest voting date, in YYYY-MM-DD format |
dateTo | string | Latest voting date, in YYYY-MM-DD format |
limit | integer | Maximum number of items to return; defaults to 50 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
proceeding | integer | Number of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
title | string | Phrase to search for in the title of the voting, in Polish (e.g. podatek dochodowy) |
get-written-questions Search written questions
Search written questions (zapytania poselskie: questions from MPs to a minister on a specific, usually local or individual matter; simpler than interpellations, answered within 21 days). Returns number, title, author MP IDs, recipients, dates and replies.
| Parameter | Type | Description |
|---|---|---|
delayed | boolean | Only questions whose answer is overdue |
from | string | Only questions submitted by the MP with this ID (see get-members), e.g. 123 |
limit | integer | Maximum number of items to return; defaults to 50 |
modifiedSince | string | Only questions changed since this time (e.g. that received a reply), in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
since | string | Only questions sent on or after this date, in YYYY-MM-DD format |
sort_by | string | Field to sort by, e.g. num or receiptDate; prefix with - for descending order (e.g. -receiptDate) |
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
till | string | Only questions sent before this date, in YYYY-MM-DD format |
title | string | Phrase to search for in the title of the question, in Polish (e.g. podatek dochodowy) |
to | string | Only questions sent to this recipient, in Polish (e.g. minister zdrowia) |
get-bilateral-groups List bilateral groups
List the bilateral groups of the Sejm (grupy bilateralne: parliamentary friendship groups for relations with the parliament of another country) with their Polish and English names and appointment dates.
| Parameter | Type | Description |
|---|---|---|
term | integer | Term of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms) |
search-acts Search legal acts
Search Polish legal acts published in Dziennik Ustaw (DU, statutes and regulations) and Monitor Polski (MP, resolutions and announcements) by title, type, keywords, whether they are in force, and dates. Returns a compact list; get-act gives the details of one act and get-act-text its text.
| Parameter | Type | Description |
|---|---|---|
dateEffectFrom | string | Earliest date of entry into force, in YYYY-MM-DD format |
dateEffectTo | string | Latest date of entry into force, in YYYY-MM-DD format |
dateFrom | string | Earliest date of the act (its signing), in YYYY-MM-DD format |
dateTo | string | Latest date of the act (its signing), in YYYY-MM-DD format |
inForce | boolean | true to return only acts in force |
keywords | array | Keywords the acts must all have, exactly as listed by get-act-keywords (e.g. kodeks cywilny) |
limit | integer | Maximum number of acts to return; defaults to 20, at most 100 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
pubDateFrom | string | Earliest publication date, in YYYY-MM-DD format |
pubDateTo | string | Latest publication date, in YYYY-MM-DD format |
publisher | string | Journal: DU for Dziennik Ustaw or MP for Monitor Polski |
sortBy | string | Sort by publisher (default; newest acts first within a journal), position, title or change (time of the last change of the act's data) |
sortDir | string | Sort direction |
title | string | Words to find in the title, in Polish (e.g. kodeks cywilny) |
type | string | Type of act, e.g. Ustawa, Rozporządzenie, Obwieszczenie (consolidated texts are announced by one), Uchwała, Zarządzenie or Umowa międzynarodowa; several types separated by commas |
year | integer | Year of publication |
get-act Get a legal act
Get the details of a Polish legal act: status, dates, keywords, issuing authority, the Sejm prints of the bill and references to other acts (amending acts, consolidated texts, implementing acts…). Long reference lists are summarized per type; referenceType lists one type in full.
| Parameter | Type | Description |
|---|---|---|
position * | integer | Position in the journal: the last part of the ELI (1 in DU/2024/1) |
publisher * | string | Journal the act was published in: DU for Dziennik Ustaw or MP for Monitor Polski. The ELI field of a legislative process (get-process, get-passed-processes) such as DU/2024/1 is exactly publisher/year… |
year * | integer | Year of publication: the middle part of the ELI (2024 in DU/2024/1) |
referenceType | string | Return all references of one type, e.g. Akty zmieniające (amending acts), Akty wykonawcze (implementing acts), Inf. o tekście jednolitym (consolidated texts), Akty uchylone (repealed acts) or Podsta… |
get-act-text Get the text of a legal act
Get the text of a Polish legal act, or of one of its articles, as plain text. Whole acts come in pages of 20,000 characters by default (codes are over 400,000); continue with offset. The text is the act as published: the current wording of an amended act is in its newest consolidated text (references of type Inf. o tekście jednolitym in get-act). Acts published only as a PDF return the PDF link.
| Parameter | Type | Description |
|---|---|---|
position * | integer | Position in the journal: the last part of the ELI (1 in DU/2024/1) |
publisher * | string | Journal the act was published in: DU for Dziennik Ustaw or MP for Monitor Polski. The ELI field of a legislative process (get-process, get-passed-processes) such as DU/2024/1 is exactly publisher/year… |
year * | integer | Year of publication: the middle part of the ELI (2024 in DU/2024/1) |
article | string | Return only this article, e.g. 415, 3a or 18^3a for Art. 18 with superscript 3a; omit to get the whole act |
maxLength | integer | Maximum number of characters to return; defaults to 20000 |
offset | integer | Character at which to start; use the offset given at the end of a truncated text to continue |
get-act-keywords List keywords of legal acts
List the keywords used to classify Polish legal acts, optionally only those containing a phrase. search-acts matches keywords exactly (cywilny finds no acts, kodeks cywilny finds hundreds), so look them up here first.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return; defaults to 200 |
offset | integer | Number of items to skip, for pagination; defaults to 0 |
query | string | Part of a keyword to look for, ignoring case and Polish diacritics (e.g. podat); omit to page through all of about 2,500 |