bnm_endpoint
Pack: bnm-my · Endpoint: https://gateway.pipeworx.io/bnm-my/mcp
Call any other confirmed Bank Negara Malaysia public endpoint by path and get its raw data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
path | string | yes | Endpoint path under https://api.bnm.gov.my/public/ — e.g. “interest-rate”, “islamic-interbank-rate”, “kl-usd-reference-rate”. No leading slash needed. |
query | object | no | Optional 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, or use one-click install buttons:
{
"mcpServers": {
"bnm-my": {
"url": "https://gateway.pipeworx.io/bnm-my/mcp"
}
}
}
See Getting Started for client-specific install steps.