gold_price
Pack: nbp-pl · Endpoint: https://gateway.pipeworx.io/nbp-pl/mcp
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).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | no | Single date, YYYY-MM-DD. Must be a working day or it 404s. |
last_n | integer | no | Return the N most recent prices. Ignored if date or start_date is given. |
start_date | string | no | Window start, YYYY-MM-DD. Pair with end_date. Max range ~93 days. |
end_date | string | no | Window end, YYYY-MM-DD. Used with start_date. |
Example call
curl -X POST https://gateway.pipeworx.io/nbp-pl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gold_price","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nbp-pl": {
"url": "https://gateway.pipeworx.io/nbp-pl/mcp"
}
}
}
See Getting Started for client-specific install steps.