bnm_exchange_rates

Pack: bnm-my · 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/bnm_exchange_rates for the schema, then POST the same URL with its arguments for the data.

Foreign exchange rates against the Malaysian Ringgit (MYR) from Bank Negara Malaysia.

Parameters

NameTypeRequiredDescription
currencystringnoISO currency code, e.g. “USD”, “SGD”, “EUR”. Omit to get all currencies. Required if “date” is given.
datestringnoHistorical date YYYY-MM-DD, e.g. “2026-05-28”. Only valid together with a “currency”. Omit for latest.
sessionstringnoRate snapshot session time (24h). Defaults to BNM default if omitted.
quotestringnoQuote basis: “rm” (units of MYR per 1 foreign) or “fx” (units of foreign per 1 MYR).

Example call

Arguments

{
  "currency": "USD"
}

curl

curl -X POST https://gateway.pipeworx.io/bnm-my/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bnm_exchange_rates","arguments":{"currency":"USD"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('bnm_exchange_rates', {
  "currency": "USD"
});

More examples

{
  "currency": "SGD",
  "date": "2026-05-28",
  "session": "1130",
  "quote": "rm"
}

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 bnm-my pack
{
  "mcpServers": {
    "bnm-my": {
      "url": "https://gateway.pipeworx.io/bnm-my/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 2, 2026