Nbp Pl

v0.2.1
io.github.pipeworx-io/nbp-pl Checked 2 days ago Published 1 month ago

Narodowy Bank Polski (National Bank of Poland) Web API MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

exchange_rate_table

Full NBP exchange-rate table of PLN rates for many currencies at once. Pick a table: A = major currencies (mid-rate), B = other/minor currencies (mid-rate), C = bid/ask trading rates for the major set. Rates are PLN per 1 unit of each currency (per 100 for some minor units). Defaults to the latest published table; optionally pass a single date (YYYY-MM-DD) or last_n for the N most recent tables. Weekends/Polish holidays have no data (404).

ParameterTypeDescription
datestringSingle publication date, YYYY-MM-DD, e.g. "2026-05-29". Must be a working day or it 404s.
last_nintegerReturn the N most recent tables instead of just today. Ignored if date is given.
tablestringTable letter: "A" (major mid), "B" (other mid), or "C" (bid/ask). Default "A".

currency_rate

PLN exchange rate for one currency over time. Specify the table (A/B for mid-rate, C for bid/ask) and a 3-letter ISO 4217 code (e.g. USD, EUR, GBP, CHF, JPY). Defaults to the latest rate; optionally pass a single date, last_n recent points, or a start_date/end_date window (max ~93 days, working days only). Use this for one currency; use exchange_rate_table for the whole list.

ParameterTypeDescription
code *stringISO 4217 currency code, e.g. "USD", "EUR", "GBP".
datestringSingle date, YYYY-MM-DD. Must be a working day or it 404s.
end_datestringWindow end, YYYY-MM-DD. Used with start_date.
last_nintegerReturn the N most recent rates. Ignored if date or start_date is given.
start_datestringWindow start, YYYY-MM-DD. Pair with end_date. Max range ~93 days.
tablestringTable letter: "A" or "B" (mid-rate) or "C" (bid/ask). Default "A".

gold_price

NBP accounting price of gold (cena złota): PLN per 1 gram of pure gold (1000 fineness). Defaults to the latest published price; optionally pass a single date, last_n recent points, or a start_date/end_date window (max ~93 days, working days only). Weekends/Polish holidays have no data (404).

ParameterTypeDescription
datestringSingle date, YYYY-MM-DD. Must be a working day or it 404s.
end_datestringWindow end, YYYY-MM-DD. Used with start_date.
last_nintegerReturn the N most recent prices. Ignored if date or start_date is given.
start_datestringWindow start, YYYY-MM-DD. Pair with end_date. Max range ~93 days.