bnm_endpoint

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_endpoint for the schema, then POST the same URL with its arguments for the data.

Call any other confirmed Bank Negara Malaysia public endpoint by path and get its raw data.

Parameters

NameTypeRequiredDescription
pathstringyesEndpoint path under https://api.bnm.gov.my/public/ — e.g. “interest-rate”, “islamic-interbank-rate”, “kl-usd-reference-rate”. No leading slash needed.
queryobjectnoOptional query parameters as key/value pairs, e.g. {“session”:“1130”,“quote”:“rm”}.

Example call

Arguments

{
  "path": "interest-rate"
}

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_endpoint","arguments":{"path":"interest-rate"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('bnm_endpoint', {
  "path": "interest-rate"
});

More examples

{
  "path": "exchange-rate/USD",
  "query": {
    "session": "1700",
    "quote": "fx"
  }
}

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 15, 2026