Queries the official Sejm RP open API for Polish parliamentary data: MPs (10th term), voting records, Sejm prints, legislative process, and interpellations. Useful for Polish political and legal research.
Ships in Sejm Rzeczypospolitej Polskiej. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Official skill integrating the open Sejm RP API via scripts/sejm.py.
Gives AI agents neutral access to official data on MPs, votings,
druki sejmowe (Sejm prints), the legislative process and interpelacje (interpellations). Returns clean JSON on stdout.
Run from the skill directory (or from the repository root path):
| Operating system | Command |
|---|---|
| Linux / macOS | python3 scripts/sejm.py <command> … |
| Windows | py scripts/sejm.py <command> … (or python) |
Zero external libraries (Python 3.8+ standard library).
MPs and committees database:
python3 scripts/sejm.py mps --district "Gdańsk"
python3 scripts/sejm.py mps --search "Kowalski"
python3 scripts/sejm.py mps --club "PiS"python3 scripts/sejm.py mps --id 133Votings and checking a specific MP's vote:
python3 scripts/sejm.py voting 1 2python3 scripts/sejm.py voting 1 2 --mp "Hołownia"python3 scripts/sejm.py votings
python3 scripts/sejm.py votings --sitting 1 --search "Wicemarszałków"Druki sejmowe and the legislative process:
python3 scripts/sejm.py prints --number 1python3 scripts/sejm.py prints --search "podatku"python3 scripts/sejm.py process 1Interpelacje poselskie (MPs' interpellations):
python3 scripts/sejm.py interpellations --search "CPK"
python3 scripts/sejm.py interpellations --number 1| Command | Description | Returned data |
|---|---|---|
mps [--search S] [--club C] [--district D] | List and search MPs | id, firstLastName, club, districtName, email, profession |
mps --id <id> | Full MP details and Sejm committees | birthDate, profession, committees (with the role held) |
voting <sitting> <number> [--mp MP] | Voting details and an MP's vote | results, clubSummary (votes by club), mpVote |
votings [--sitting S] [--search Q] | List of votings at a sitting | votingNumber, date, title, topic, yes, no, abstain |
prints [--number N] [--search Q] | Search druki sejmowe | number, title, documentDate, attachments |
process <print_number> | Stages of a bill's legislative process | documentType, passed, closureDate, chronological stages |
interpellations [--number N] [--search Q] | Interpellations and replies | number, title, sentDate, fromMpIds, replies |
terms | List of Sejm terms (kadencje I–X) | terms (dates, number, current flag) |
Detailed description of JSON schemas: references/output.md.
api.sejm.gov.pl),Clean JSON goes to stdout; errors go to stderr as {"error": "...", "type": "..."}.
| Code | Meaning | Action |
|---|---|---|
0 | Success | Process the JSON data |
2 | Not found | MP, voting, print or process does not exist |
64 | Invalid invocation / validation | Check the command parameters |
69 | Sejm RP server / network error | Temporary API problem; try again |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sejm:sejmfrom Sejm Rzeczypospolitej Polskiej
npx claudepluginhub b44x/ai-polish-skills --plugin sejm2 plugins in one repository ship this exact skill · first indexed Nov 8, 2026
Other plugins' skills for the same job