Queries official NFZ (Polish National Health Fund) data on healthcare queues, estimated waiting times, and nearby facilities. Search medical services like MRI, CT, colonoscopy, cardiology, orthopedist; check waiting days and patient counts for stable/urgent cases; find nearest facilities by radius using Haversine.
Ships in NFZ Kolejki i Czas Oczekiwania (PCUŚ). 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 open data from the Narodowy Fundusz Zdrowia (NFZ) Terminy Leczenia / PCUŚ v1.4 API
via the scripts/nfz.py tool. Works without registration and without API keys, uses only the Python standard
library, and returns structured JSON on stdout.
Important: PCUŚ (Prognozowany Czas Oczekiwania na Świadczenie, estimated waiting time for a service) is a statistical estimate calculated by NFZ — it is not the date of the first free appointment.
Run from the skill directory (or from the repository root path):
| Operating system | Command |
|---|---|
| Linux / macOS | python3 scripts/nfz.py <command> … |
| Windows | py scripts/nfz.py <command> … (or python) |
Zero external libraries (Python 3.8+ stdlib).
Looking up the official service name:
python3 scripts/nfz.py benefits rezonans
python3 scripts/nfz.py benefits kardiolog
python3 scripts/nfz.py benefits kolonoskopiaQueues and waiting times in a given city / voivodeship (województwo):
python3 scripts/nfz.py queues --benefit "REZONANS MAGNETYCZNY" --locality Gdańsk
python3 scripts/nfz.py queues --benefit "ŚWIADCZENIA Z ZAKRESU KARDIOLOGII" --locality Warszawapython3 scripts/nfz.py queues --benefit "REZONANS MAGNETYCZNY" --locality Gdańsk --urgentGeographic search for facilities within a radius in kilometers (near):
python3 scripts/nfz.py near Gdańsk --benefit "rezonans" --radius-km 50
python3 scripts/nfz.py near 54.35 18.64 --benefit "kolonoskopia" --radius-km 30--sort time) or smallest distance (--sort distance).Comparing facilities and shortest queues (compare):
python3 scripts/nfz.py compare --benefit "rezonans" --locality Gdańsk
python3 scripts/nfz.py compare --benefit "kardiolog" --province pomorskieList of NFZ voivodeship codes (provinces):
11 for pomorskie, 07 for mazowieckie):
python3 scripts/nfz.py provinces| Command | Description | Returned data |
|---|---|---|
benefits <query> | Dictionary of official service names | query, count, benefits |
queues [--benefit B] [--province P] [--locality L] [--urgent] | Waiting times and list of facilities | place, provider, locality, address, phone, waitingTime (pcus, averagePeriodDays, awaiting), accessibility |
near <location|lat> [lon] --benefit <B> [--radius-km R] | Facilities within a radius in km, with distances | Facility objects with computed distanceKm, sorted by the chosen criterion |
compare --benefit <B> [--locality L] [--province P] | Comparative summary of facilities | highlights (shortestWaitClinic, fewestAwaitingClinic, closestClinic), list of facilities |
provinces | Dictionary of the 16 voivodeships and NFZ codes | Two-digit codes and voivodeship names (offline) |
Detailed description of JSON schemas: references/output.md.
Clean JSON goes to stdout; errors go to stderr as {"error": "...", "type": "..."}.
| Code | Meaning | Action |
|---|---|---|
0 | Success | Use the JSON data from stdout |
2 | Not found | No facilities or no such service in the NFZ register |
64 | Invalid invocation / validation | Check the parameters (min. 3-character phrase, valid voivodeship code) |
69 | NFZ server / network error | apinfz.nfz.gov.pl API error or network problem |
phone field) before going there in person.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/nfz:nfzfrom NFZ Kolejki i Czas Oczekiwania (PCUŚ)
npx claudepluginhub b44x/ai-polish-skills --plugin nfz2 plugins in one repository ship this exact skill · first indexed Nov 8, 2026
Other plugins' skills for the same job