Skip to main content
Glama
bnm-malaysia-central-bank-fx-mcp

bnm-malaysia-central-bank-fx-mcp

README.md
# bnm-malaysia-central-bank-fx-mcp

Official Bank Negara Malaysia (BNM) foreign exchange and monetary policy data over Model Context Protocol (MCP). ASEAN treasury desks, corporate FX teams, and macro analysts can pull official MYR reference rates, the Overnight Policy Rate (OPR), Islamic interbank money market rates, and daily interbank rate summaries with zero API keys and zero sign-up. It works right out of the box.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://bnm-malaysia-central-bank-fx-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_bnm_exchange_rates` | Fetch official Bank Negara Malaysia MYR reference exchange rates across all currencies |
| `get_bnm_overnight_policy_rate` | Fetch the current Bank Negara Malaysia Overnight Policy Rate (OPR) decision |
| `get_currency_rate_against_myr` | Fetch the official BNM buying, selling, and middle rate for one ISO-3 currency against MYR |
| `get_bnm_base_lending_rates` | Fetch BNM OPR and Islamic interbank money market benchmark rates anchoring Malaysian lending |
| `get_bnm_interest_rates_summary` | Fetch BNM interbank interest rates, money market volumes, and USD/MYR intraday range |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "bnm-malaysia-central-bank-fx": {
      "url": "https://bnm-malaysia-central-bank-fx-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `api.bnm.gov.my/public/` with the required `Accept: application/vnd.BNM.API.v1+json` header, a polite `User-Agent` header (`mcpstamp-bnm-malaysia-central-bank-fx/1.0.1 (hello@mcpstamp.com)`), and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.bnm-malaysia-central-bank-fx-mcp) with hosted commercial servers and priority endpoints.