nbu_currency_rate
Pack: nbu-ua · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/nbu_currency_rate for the schema, then POST the same URL with its arguments for the data.
Official NBU rate for a SINGLE currency on one day. Pass valcode as an ISO-4217 code (e.g. USD, EUR, GBP). rate is UAH per 1 unit of that currency. Omit date for today. For a time series of one currency across a date range, use nbu_currency_history instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
valcode | string | yes | ISO-4217 currency code, e.g. “USD”, “EUR”, “PLN”. |
date | string | no | Day to fetch, format YYYYMMDD, e.g. “20240115”. Omit for the latest/today. |
Example call
Arguments
{
"valcode": "USD"
}
curl
curl -X POST https://gateway.pipeworx.io/nbu-ua/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nbu_currency_rate","arguments":{"valcode":"USD"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nbu_currency_rate', {
"valcode": "USD"
});
More examples
{
"valcode": "EUR",
"date": "20240115"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the nbu-ua pack
{
"mcpServers": {
"nbu-ua": {
"url": "https://gateway.pipeworx.io/nbu-ua/mcp"
}
}
}
See Getting Started for client-specific install steps.