parliament-poland-mcp-server

v2.1.0
io.github.pkolawa/parliament-poland-mcp-server Checked 1 day ago Published 11 days ago

Polish 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; all by default
offsetintegerNumber 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.

ParameterTypeDescription
activebooleantrue: 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
clubstringOnly 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
districtstringOnly 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)
fieldsarrayExtra fields to return for each MP, e.g. ["profession", "birthDate"]. By default only id, firstLastName, club, districtNum, districtName, voivodeship and active are returned
limitintegerMaximum number of items to return; defaults to 100
namestringOnly MPs whose name contains all these words, in any order, e.g. Tusk or Szymon Hołownia; case and Polish diacritics are ignored
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
voivodeshipstringOnly 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.

ParameterTypeDescription
id *integerID of the MP (poseł): the `id` field from get-members
termintegerTerm 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.

ParameterTypeDescription
id *integerID of the MP (poseł): the `id` field from get-members
termintegerTerm 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.

ParameterTypeDescription
date *stringDay of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format
id *integerID of the MP (poseł): the `id` field from get-members
sitting *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
termintegerTerm 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; all by default
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm 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.

ParameterTypeDescription
id *stringID of the club, e.g. KO or PiS: the `id` field from get-clubs
termintegerTerm 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; all by default
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm 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.

ParameterTypeDescription
id *stringCode of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees
termintegerTerm 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.

ParameterTypeDescription
code *stringCode of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees
cancelledbooleanAlso include cancelled sittings; defaults to false
dateFromstringEarliest sitting date, in YYYY-MM-DD format
dateTostringLatest sitting date, in YYYY-MM-DD format
limitintegerMaximum number of sittings to return after the date filter; all by default
offsetintegerNumber of sittings to skip after the date filter, for pagination; defaults to 0
termintegerTerm 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.

ParameterTypeDescription
code *stringCode of the committee (komisja), e.g. ASW or FPB: the `code` field from get-committees
num *integerNumber of the committee sitting: the `num` field from get-committee-sittings
termintegerTerm 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).

ParameterTypeDescription
dateFromstringOnly interpellations sent on or after this date, in YYYY-MM-DD format
dateTostringOnly interpellations sent before this date, in YYYY-MM-DD format
delayedbooleanOnly interpellations whose answer is overdue
limitintegerMaximum number of items to return; defaults to 50
modifiedSincestringOnly interpellations changed since this time (e.g. that received a reply), in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format
mpintegerOnly interpellations submitted by the MP with this ID (see get-members)
offsetintegerNumber of items to skip, for pagination; defaults to 0
recipientstringOnly interpellations sent to this recipient, in Polish (e.g. minister zdrowia)
sort_bystringField to sort by, e.g. num or receiptDate; prefix with - for descending order (e.g. -receiptDate)
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
titlestringPhrase 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.

ParameterTypeDescription
id *integerNumber of the interpellation: the `num` field from get-interpellations
termintegerTerm 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.

ParameterTypeDescription
num *integerNumber of the interpellation: the `num` field from get-interpellations
replyKeystringKey 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
termintegerTerm 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).

ParameterTypeDescription
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
sort_bystringField to sort by, e.g. documentDate; prefix with - for descending order (e.g. -changeDate for the most recently changed)
termintegerTerm 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.

ParameterTypeDescription
printNumber *stringNumber of the print, e.g. 1070, or 1070-A for an additional print: the `number` field from get-prints
termintegerTerm 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; all by default
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm 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.

ParameterTypeDescription
proceeding *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
termintegerTerm 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.

ParameterTypeDescription
termintegerTerm 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.

ParameterTypeDescription
processNumber *stringNumber of the print that started the process, e.g. 1070: the `number` field from get-processes or get-passed-processes
termintegerTerm 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.

ParameterTypeDescription
documentTypestringType of the document, in Polish (e.g. projekt ustawy)
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
titlestringPhrase 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.

ParameterTypeDescription
documentTypestringType of the document, in Polish (e.g. projekt ustawy)
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
titlestringPhrase 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.

ParameterTypeDescription
date *stringDay of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format
proceeding *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
termintegerTerm 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.

ParameterTypeDescription
date *stringDay of the sitting (one of the `dates` of the sitting in get-proceedings), in YYYY-MM-DD format
proceeding *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
statementNum *integerNumber of the statement: the `num` field from get-transcripts; 0 is the course of the sitting
termintegerTerm 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm 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.

ParameterTypeDescription
datestringDay of the transmissions, in YYYY-MM-DD format; defaults to today
termintegerTerm 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.

ParameterTypeDescription
proceeding *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
datestringOnly votings held on this day of the sitting (one of its `dates` in get-proceedings), in YYYY-MM-DD format
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
titlestringOnly 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.

ParameterTypeDescription
sitting *integerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
votingNumber *integerNumber of the voting within the sitting: the `votingNumber` field from get-votings or search-votings
clubstringReturn the individual votes of this club only, e.g. KO or PiS (the `id` from get-clubs); implies includeVotes
includeVotesbooleanAlso return how each MP voted (about 460 entries); defaults to false
termintegerTerm 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.

ParameterTypeDescription
dateFromstringEarliest voting date, in YYYY-MM-DD format
dateTostringLatest voting date, in YYYY-MM-DD format
limitintegerMaximum number of items to return; defaults to 50
offsetintegerNumber of items to skip, for pagination; defaults to 0
proceedingintegerNumber of the plenary sitting (posiedzenie Sejmu): the `number` field from get-proceedings
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
titlestringPhrase 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.

ParameterTypeDescription
delayedbooleanOnly questions whose answer is overdue
fromstringOnly questions submitted by the MP with this ID (see get-members), e.g. 123
limitintegerMaximum number of items to return; defaults to 50
modifiedSincestringOnly questions changed since this time (e.g. that received a reply), in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format
offsetintegerNumber of items to skip, for pagination; defaults to 0
sincestringOnly questions sent on or after this date, in YYYY-MM-DD format
sort_bystringField to sort by, e.g. num or receiptDate; prefix with - for descending order (e.g. -receiptDate)
termintegerTerm of the Sejm (kadencja), e.g. 10; defaults to the current term (see get-terms)
tillstringOnly questions sent before this date, in YYYY-MM-DD format
titlestringPhrase to search for in the title of the question, in Polish (e.g. podatek dochodowy)
tostringOnly 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.

ParameterTypeDescription
termintegerTerm 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.

ParameterTypeDescription
dateEffectFromstringEarliest date of entry into force, in YYYY-MM-DD format
dateEffectTostringLatest date of entry into force, in YYYY-MM-DD format
dateFromstringEarliest date of the act (its signing), in YYYY-MM-DD format
dateTostringLatest date of the act (its signing), in YYYY-MM-DD format
inForcebooleantrue to return only acts in force
keywordsarrayKeywords the acts must all have, exactly as listed by get-act-keywords (e.g. kodeks cywilny)
limitintegerMaximum number of acts to return; defaults to 20, at most 100
offsetintegerNumber of items to skip, for pagination; defaults to 0
pubDateFromstringEarliest publication date, in YYYY-MM-DD format
pubDateTostringLatest publication date, in YYYY-MM-DD format
publisherstringJournal: DU for Dziennik Ustaw or MP for Monitor Polski
sortBystringSort by publisher (default; newest acts first within a journal), position, title or change (time of the last change of the act's data)
sortDirstringSort direction
titlestringWords to find in the title, in Polish (e.g. kodeks cywilny)
typestringType 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
yearintegerYear 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.

ParameterTypeDescription
position *integerPosition in the journal: the last part of the ELI (1 in DU/2024/1)
publisher *stringJournal 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 *integerYear of publication: the middle part of the ELI (2024 in DU/2024/1)
referenceTypestringReturn 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.

ParameterTypeDescription
position *integerPosition in the journal: the last part of the ELI (1 in DU/2024/1)
publisher *stringJournal 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 *integerYear of publication: the middle part of the ELI (2024 in DU/2024/1)
articlestringReturn only this article, e.g. 415, 3a or 18^3a for Art. 18 with superscript 3a; omit to get the whole act
maxLengthintegerMaximum number of characters to return; defaults to 20000
offsetintegerCharacter 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.

ParameterTypeDescription
limitintegerMaximum number of items to return; defaults to 200
offsetintegerNumber of items to skip, for pagination; defaults to 0
querystringPart of a keyword to look for, ignoring case and Polish diacritics (e.g. podat); omit to page through all of about 2,500