一个用于连接马来西亚国家银行(BNM)开放API的模型上下文协议(MCP)服务器。该项目提供工具,用于获取BNM的各种金融数据,如汇率、基数......
概览
一个用于连接马来西亚国家银行(BNM)开放API的模型上下文协议(MCP)服务器。该项目提供工具,用于获取BNM的各种金融数据,如汇率、基准利率、黄金价格等。 该MCP服务器既不隶属于BNM,也未获得BNM的认可;该服务器利用BNM的OpenAPI端点,仅包含BNM API的部分部分。 - 从吉隆坡的银行间外汇市场获取汇率。选定国家货币的价格与令吉的关系被报价。 - 获取最新的美元兑米尔(美元 - 马来西亚令吉)银行间日内最高和最低汇率。利率来源于商业银行对马来西亚令吉的最佳银行间最高和最低交易利率。 - 获取基于国内金融机构交易的银行间美元兑米尔外汇现货加权平均交易量计算的最新参考利率,并于每日下午3:30发布。
概述(AI 翻译)
一个用于连接马来西亚国家银行(BNM)开放API的模型上下文协议(MCP)服务器。 该项目提供了工具,用于获取BNM的各种金融数据,如汇率、基准利率、黄金价格等。
免责声明
该MCP服务器既不隶属于BNM,也未获得BNM的认可;该服务器利用BNM的OpenAPI端点,仅包含BNM API的部分部分。
可用工具 📊💰🏦💹
汇率与货币 🪙
get_exchange_rate - 从吉隆坡的银行间外汇市场获取汇率。选定国家货币的价格与令吉的关系被报价。
get_usd_myr_intraday_rate - 获取最新的美元兑米尔(美元 - 马来西亚令吉)银行间盘内最高和最低汇率。汇率来源于商业银行对马来西亚令吉的最佳银行间最高和最低交易利率。
get_usd_myr_reference_rate - 获取基于国内金融机构交易的银行间美元兑米尔外汇现货加权平均交易量计算的最新参考利率,并于每日下午3:30发布。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
💹💹 BNM-MCP 📊📊
A Model Context Protocol (MCP) Server for connecting to the Bank Negara Malaysia (BNM) Open API. This project provides tools to fetch various financial data from BNM, such as exchange rates, base rates, gold prices, and more.
Disclaimer
This MCP server is neither affiliated with BNM nor endorsed by BNM; the server leverages on BNM’s OpenAPI endpoints and contains just a subset of BNM’s API.
Available Tools 📊💰🏦💹
Exchange Rates & Currency 🪙
get_exchange_rate - Get currency exchange rates from the Interbank Foreign Exchange Market in Kuala Lumpur. Prices of selected countries’ currencies are quoted in relation to Ringgit.
get_usd_myr_intraday_rate - Get latest USD/MYR (US Dollar - Malaysian Ringgit) interbank intraday highest and lowest exchange rate. Rates are obtained from the best U.S. dollar against Malaysian ringgit interbank highest and lowest dealt rates by commercial banks.
get_usd_myr_reference_rate - Get latest reference rate that is computed based on weighted average volume of the interbank USD/MYR FX spot rate transacted by the domestic financial institutions and published daily at 3:30 p.m.
get_daily_FX_turnover - Get daily foreign exchange turnover for all currencies including interbank and customer deals.
Interest Rates 🪙
get_base_rate - Get current Base Rates or Base Lending Rates for retail loans or financing facilities and Indicative Effective Lending Rates for a standard housing loan/home financing offered by financial institutions in Malaysia.
get_overnight_policy_rate - Get Overnight Policy Rate (OPR) decided by the Monetary Policy Committee.
get_malaysia_overnight_rate_i - Get Malaysia overnight rate from Bank Negara Malaysia.
get_islamic_interbank_rate - Get daily weighted average of Islamic interbank deposit rates for various tenures.
get_interest_rates_banking_institution - Get interest rates by banking institution.
Money & Banking 🪙
get_reserve_money - Get latest reserve money data by Bank Negara Malaysia.
get_currency_circulation_by_denomination - Get Currency in Circulation by Denomination of:
- Coins: one cent, five cent, ten cent, twenty cent, fifty cent, one ringgit
- Notes: one ringgit, five ringgit, ten ringgit, twenty ringgit, fifty ringgit, one hundred ringgit
get_monetary_aggregates_M1_M2_M3 - Get monetary aggregates M1, M2, and M3 data by Bank Negara Malaysia.
get_broad_money_M3 - Get Broad Money M3 data by Bank Negara Malaysia.
get_bnm_statement_assets - Get statement of assets of Bank Negara Malaysia.
get_banking_system_statement_assets - Get statement of assets for banking systems. Available banking institution types: commercial, islamic, investment, total.
Market Data 🪙
get_interbank_swap - Get daily interbank swap volume by tenure.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"mcp-server": {
"command": "uv", # It's better to use the absolute path to the uv command
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/YOUR/bnm-mcp",
"run",
"main.py"
]
}
}
}