NBP MCP
v1.0.0Official Polish central bank (NBP) exchange rates, currency conversion and gold prices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
nbp_exchange_rates NBP exchange-rate table
Get a full NBP (Polish central bank) exchange-rate table against PLN — the latest published table by default, or the table in force on a historical date. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used. Rates data starts 2002-01-02.
| Parameter | Type | Description |
|---|---|---|
date | string | Optional historical date (YYYY-MM-DD). Omit for the latest table. |
no_cache | boolean | Force a fresh NBP fetch and bypass this server's result cache. Default false. |
table | string | NBP table: 'a' (default) = official mid rates of ~35 major currencies, published every business day; 'b' = mid rates of ~115 less-traded currencies, published Wednesdays; 'c' = bid/ask (buy/sell) rate… |
nbp_exchange_rate NBP currency rate vs PLN
Get the official NBP rate for one currency against PLN (Polish złoty) — the latest rate by default, or the rate in force on a historical date. Tables 'a'/'b' return the mid rate; table 'c' returns bid/ask. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used. Use nbp_rate_series for a multi-day history.
| Parameter | Type | Description |
|---|---|---|
code * | string | Three-letter ISO 4217 currency code (e.g. USD, EUR, CHF). Case-insensitive. |
date | string | Optional historical date (YYYY-MM-DD). Omit for the latest rate. |
no_cache | boolean | Force a fresh NBP fetch and bypass this server's result cache. Default false. |
table | string | NBP table: 'a' (default) = official mid rates of ~35 major currencies, published every business day; 'b' = mid rates of ~115 less-traded currencies, published Wednesdays; 'c' = bid/ask (buy/sell) rate… |
nbp_rate_series NBP currency rate history
Get a historical time series of NBP rates for one currency against PLN: either the last N published quotes (last_n, default 30, max 255) or an explicit start_date/end_date window (max 93 days per query — NBP's hard limit; chain calls for longer spans). Quotes exist only for publication days: business days for tables 'a'/'c', Wednesdays for 'b'. Data starts 2002-01-02.
| Parameter | Type | Description |
|---|---|---|
code * | string | Three-letter ISO 4217 currency code (e.g. USD, EUR, CHF). Case-insensitive. |
end_date | string | Window end (YYYY-MM-DD, inclusive). Requires start_date; span ≤ 93 days. |
last_n | integer | Return the last N published quotes (1-255). Default 30. Mutually exclusive with start_date/end_date. |
no_cache | boolean | Force a fresh NBP fetch and bypass this server's result cache. Default false. |
start_date | string | Window start (YYYY-MM-DD, inclusive). Requires end_date. |
table | string | NBP table: 'a' (default) = official mid rates of ~35 major currencies, published every business day; 'b' = mid rates of ~115 less-traded currencies, published Wednesdays; 'c' = bid/ask (buy/sell) rate… |
nbp_convert Convert currencies via NBP rates
Convert an amount between two currencies using official NBP mid rates, cross-rated through PLN. Supports PLN and every currency NBP quotes: table A is used first and table B (exotic currencies, published Wednesdays) is consulted automatically for codes A doesn't carry — each side of the response shows the rate, table and effectiveDate used. Latest rates by default, or historical with date. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount in the source currency to convert. |
from * | string | Source currency code (e.g. USD, PLN). Case-insensitive. |
to * | string | Target currency code (e.g. EUR, PLN). Case-insensitive. |
date | string | Optional historical date (YYYY-MM-DD). Omit for the latest rates. |
no_cache | boolean | Force a fresh NBP fetch and bypass this server's result cache. Default false. |
nbp_gold_price NBP gold price
Get the official NBP gold price — PLN per 1 gram of 1000-fineness gold. Latest price by default; or one historical date; or the last N quotes (last_n, max 255); or a start_date/end_date range (max 93 days per query). Published every business day. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used. Gold data starts 2013-01-02.
| Parameter | Type | Description |
|---|---|---|
date | string | One historical date (YYYY-MM-DD). Mutually exclusive with last_n and the range. |
end_date | string | Range end (YYYY-MM-DD, inclusive). Requires start_date; span ≤ 93 days. |
last_n | integer | Return the last N published prices (1-255). Mutually exclusive with date and the range. |
no_cache | boolean | Force a fresh NBP fetch and bypass this server's result cache. Default false. |
start_date | string | Range start (YYYY-MM-DD, inclusive). Requires end_date. |