Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

TCMB FX Rates

@mohammad-abbasi-shMCP server · External

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

Currency exchangev0.1.2Python
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPItcmb-mcpv0.1.2

Run

uvx tcmb-mcp

MCP client config

{
  "mcpServers": {
    "tcmb-fx-rates": {
      "command": "uvx",
      "args": [
        "tcmb-mcp"
      ]
    }
  }
}
README1 min read

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==0.1.2"]
    }
  }
}

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

Cite this project

If you use tcmb-mcp, build on it, or write about it, please credit the source:

Abbasi, Mohammad. tcmb-mcp. v0.1.2, 2026. https://github.com/mohammad-abbasi-sh/tcmb-mcp

A ready-to-copy citation is also available from GitHub's Cite this repository button (see CITATION.cff). Commercial use needs a separate license (see below).

License

PolyForm Noncommercial 1.0.0 — free for personal and non-commercial use; commercial use needs a separate license (see LICENSE).


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Similar modules

Browse Currency exchange