Cbar

io.github.azerbaijan-mcp由 GitHub 账号 azerbaijan-mcp 发布v0.1.0更新于 Nov 3, 2026

Official Central Bank of Azerbaijan exchange rates: rate tables and AZN conversion.

已验证STDIO仅桌面金融

概览

AI 生成的概览

获取阿塞拜疆中央银行以马纳特(AZN)计价的官方汇率,并按这些参考汇率进行货币换算。

可以做什么
  • 查询 38 种货币和 4 种贵金属的官方 AZN 汇率表,可指定日期或按货币代码筛选
  • 按官方参考汇率在两种货币之间换算金额,也支持以 AZN 作为币种
  • 返回所用汇率表的日期,因为周末和公共假日不发布新汇率表
适用场景
当助手需要特定日期的阿塞拜疆马纳特官方参考汇率或货币换算时适用,例如涉及 AZN 的报表、开票或出行费用计算。
运行要求
以 Python 包形式通过 uvx 在本地运行(需要 uv)。无需 API 密钥或账号,但需联网读取 CBAR 的公开 XML 数据源。
安装前请注意
这些是官方参考汇率,而非银行买卖价;周末或假日日期会返回最近一次发布的汇率表。该项目为非官方项目,未获 CBAR 认可,且数据源页面未声明许可或复用条件,复用条款不明确。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Cbar,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

azerbaijan-mcp-cbar

MCP server for the official exchange rates of the Central Bank of the Republic of Azerbaijan (CBAR). It reads CBAR's public XML feed (https://cbar.az/currencies/DD.MM.YYYY.xml): no API key, no scraping.

Tools

ToolWhat it does
get_rates(date?, codes?)Official AZN rates for 38 currencies and 4 precious metals. date is YYYY-MM-DD (default: today, Baku time). codes filters, for example ["USD", "EUR"].
convert(amount, from_currency, to_currency, date?)Converts through AZN with the official rates. AZN is accepted as a code.

Things worth knowing:

  • Rates are AZN per nominal units. Seven currencies are quoted per 100 (JPY, KRW, KZT, HUF, UZS, PKR, RUB). per_unit is already divided.
  • Metals are AZN per troy ounce.
  • CBAR publishes no new sheet on weekends and public holidays. The response says which sheet it used (sheet_date, note).
  • These are official reference rates, not bank buy/sell rates.

Install

Add to your MCP client configuration (requires uv):

json
{  "mcpServers": {    "cbar": {      "command": "uvx",      "args": ["azerbaijan-mcp-cbar"]    }  }}

In Claude Code: claude mcp add cbar -- uvx azerbaijan-mcp-cbar.

Data source and terms

The data is published by CBAR at https://cbar.az/currency/rates, which invites importing the XML URL into applications. The page states no licence or reuse conditions, so this server relies on that implied permission, caches responses (past dates forever, today for 10 minutes) and sends an honest User-Agent. Every response carries an attribution field. Unofficial project, not affiliated with or endorsed by CBAR.

tests/fixtures/rates-2026-10-30.xml is a snapshot of the public feed for 2026-10-30.

来源:packages/cbar/README.md,提交 466d9ea

工具

2

get_rates

Get Rates

Official CBAR exchange rates against the Azerbaijani manat (AZN). Returns 38 currencies and 4 precious metals. `value` is AZN for `nominal` units (seven currencies are quoted per 100); `per_unit` is AZN for one unit. On weekends and public holidays CBAR publishes no new sheet, so `sheet_date` and `note` say which one was used.

输入参数datecodes

convert

Convert

Convert an amount between two currencies through AZN using official CBAR rates.

输入参数dateamount必填to_currency必填from_currency必填

版本历史

1
  1. v0.1.0最新Nov 1, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分