Repository avatar
Other Tools
v1.0.1
active

bnm-malaysia-central-bank-fx-mcp

io.github.theluckystrike/bnm-malaysia-central-bank-fx-mcp

Official Bank Negara Malaysia API for MYR exchange rates, OPR, and interbank benchmarks.

Documentation

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.

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

Available tools

ToolPurpose
get_bnm_exchange_ratesFetch official Bank Negara Malaysia MYR reference exchange rates across all currencies
get_bnm_overnight_policy_rateFetch the current Bank Negara Malaysia Overnight Policy Rate (OPR) decision
get_currency_rate_against_myrFetch the official BNM buying, selling, and middle rate for one ISO-3 currency against MYR
get_bnm_base_lending_ratesFetch BNM OPR and Islamic interbank money market benchmark rates anchoring Malaysian lending
get_bnm_interest_rates_summaryFetch 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.

{
  "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.

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.