# TCMB FX Rates

> TCMB FX Rates is an open-source MCP server for finance and payments. Unofficial read-only access to Turkish central bank daily FX rates for 22 currencies. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/mohammad-abbasi-sh/tcmb-mcp
- **MCP Registry name:** io.github.mohammad-abbasi-sh/tcmb-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

Rates come straight from the TCMB public feed at tcmb.gov.tr/kurlar, expressed as Turkish Lira per unit of foreign currency. Each entry gives forex buying and selling (interbank) and banknote buying and selling (physical cash), so an agent can tell the two apart.

History is available by date, but only for business days: the bank publishes no bulletin on weekends or holidays, and the historical tool returns an error then. The README shows an example USD record dated 03.11.2026.

The author calls it a pilot of a Turkey MCP factory and says it is not affiliated with TCMB. It needs no key or login and is tested offline against a captured bulletin plus two cautious live requests.

## Features

- **All 22 rates:** Returns today's indicative rates for every listed currency.
- **Single currency:** Looks up one currency code such as USD, EUR or GBP.
- **Historical bulletins:** Fetches rates for a past business day.
- **Buying and selling split:** Separates forex and banknote prices.
- **Currency listing:** Lists codes and names in today's bulletin.

## Good for

- Converting Turkish Lira invoices at the official indicative rate
- Looking up the USD rate on a past business day
- Showing the spread between forex and banknote rates
- Pulling a daily rate table into a report

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add tcmb-mcp -- uvx tcmb-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

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

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add tcmb-mcp -- uvx tcmb-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.tcmb-mcp]
command = "uvx"
args = ["tcmb-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user tcmb-mcp uvx -- tcmb-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

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

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, all 4 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `tcmb_get_rates` (name suggests: reads): Today's indicative rates for all 22 currencies.
- `tcmb_get_rate` (name suggests: reads): One currency's rate today.
- `tcmb_list_currencies` (name suggests: reads): All currency codes and names in today's bulletin.
- `tcmb_get_rates_on` (name suggests: reads): Historical rates for a business day.

## FAQ

### Is TCMB FX Rates official?

No. It is unofficial and not affiliated with TCMB.

### Can I query weekends?

No. The bank publishes no bulletin on weekends or holidays.

### Does TCMB FX Rates need a key?

No key or login is needed.

### How do I run TCMB FX Rates?

uvx tcmb-mcp==0.1.2 over stdio.

### Is TCMB FX Rates free?

Yes. TCMB FX Rates is open source, so you can use and self-host it for free.

### How do I add TCMB FX Rates to Claude Code?

Run this command in your terminal: claude mcp add tcmb-mcp -- uvx tcmb-mcp

### What are the best alternatives to TCMB FX Rates?

The closest alternatives to TCMB FX Rates are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and Crypto Perp Pulse & Outage Radar (x402).

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Crypto Perp Pulse & Outage Radar (x402)](https://ai-powered.com/mcp/crypto-perp-pulse-and-outage-radar-x402): Crypto Perp Pulse & Outage Radar (x402) is a paid MCP server for finance and payments.
- [LATAM Business, Fiscal & FX (x402)](https://ai-powered.com/mcp/latam-business-fiscal-and-fx-x402): LATAM Business, Fiscal & FX (x402) is a paid MCP server for finance and payments.
- [Base & EVM DeFi Pre-Trade Shield (x402)](https://ai-powered.com/mcp/base-and-evm-defi-pre-trade-shield-x402): Base & EVM DeFi Pre-Trade Shield (x402) is a paid MCP server for finance and payments.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/tcmb-fx-rates
