TCMB FX Rates

io.github.mohammad-abbasi-sh由 GitHub 帳號 mohammad-abbasi-sh 發布v0.1.1更新於 Nov 4, 2026

非官方唯讀 MCP 伺服器,提供 TCMB 指示性匯率——22 種貨幣的即時 TRY 匯率。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Unofficial read-only MCP server for TCMB indicative FX rates — live TRY rates for 22 currencies.

已驗證STDIO僅桌面

概覽

TCMB FX Rates 的本機 MCP 服務;無需登入;STDIO;4 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 TCMB FX Rates,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

tcmb-mcp 🇹🇷

mcp-name: io.github.mohammad-abbasi-sh/tcmb-mcp

Unofficial read-only MCP server for the Central Bank of the Republic of Türkiye (TCMB) indicative exchange rates — live TRY rates for 22 currencies, plus history.

Pilot of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with TCMB.

For AI agents

Add to your MCP client config (stdio):

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

Or run locally: python -m tcmb_mcp.server (needs mcp<2, httpx).

Tools

ToolDescription
tcmb_get_ratesToday's indicative rates for all 22 currencies (TRY)
tcmb_get_rateOne currency today — code: USD, EUR, GBP… (case-insensitive)
tcmb_list_currenciesAll currency codes + names in today's bulletin
tcmb_get_rates_onHistorical rates — date: YYYY-MM-DD (business days only)

Example output (tcmb_get_rate / USD):

json
{"date": "03.11.2026", "code": "USD", "name": "US DOLLAR", "unit": 1, "forex_buying": 49.9094, "forex_selling": 49.9993, "banknote_buying": 49.8744, "banknote_selling": 50.0743}

Notes:

  • Rates are Turkish Lira per <unit> of foreign currency.
  • Forex = interbank; banknote = physical cash.
  • TCMB publishes no bulletin on weekends/holidays (tcmb_get_rates_on returns an error then).
  • Data: TCMB public feed tcmb.gov.tr/kurlar — no key, no login, read-only.

Development

bash
python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest.venv/bin/python -m pytest tests/ -q
  • tests/test_rates.py — offline, parses a real captured bulletin fixture
  • tests/test_live.py — 2 cautious live requests against tcmb.gov.tr

License

MIT

來源:README.md,提交 0dbf6b2

工具

4

tcmb_get_rates

Today's TCMB indicative exchange rates for all currencies (TRY).

無需輸入參數。

tcmb_get_rate

One currency's rates today. code: ISO code like USD, EUR, GBP (case-insensitive).

輸入參數code必填

tcmb_list_currencies

List all currency codes and names in today's TCMB bulletin.

無需輸入參數。

tcmb_get_rates_on

Historical TCMB rates for a date (YYYY-MM-DD). Business days only — no bulletin on weekends/holidays.

輸入參數date必填

版本歷史

1
  1. v0.1.1最新Nov 4, 2026

評分

已滿足適用檢查項的 80%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。