Skip to main content
Glama
Javohirxon04

UZCBU MCP Server

by Javohirxon04

UZCBU MCP Server

An Model Context Protocol (MCP) server that connects the official exchange rates of the Central Bank of Uzbekistan (CBU.uz) to any MCP-compatible AI assistant (Claude Desktop, Claude Code, and others).

MCP is an open standard that emerged in 2024-2025 and by 2026 is becoming widespread in the AI world. It is used to connect AI models to external data and systems. This project is one such server for Uzbekistan.

What it can do

  • get_all_rates — returns the official rates for all currencies for today

  • get_exchange_rate — returns today's rate for a single currency (e.g., USD)

  • get_historical_rate — returns the rate for a specific past date

  • convert_currency — performs a conversion between two currencies based on the official rate (e.g., calculates how many EUR 100 USD equals)

Data source: the official open JSON API of cbu.uz. No API key or registration is required.

Related MCP server: Currency MCP Agent

Installation

git clone https://github.com/<sizning-username>/uzcbu-mcp-server.git
cd uzcbu-mcp-server
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -r requirements.txt

Quick start (for testing)

python -m uzcbu_mcp.server

The server runs via the standard MCP stdio transport and waits for requests from an MCP client.

Connecting to Claude Desktop

Open the Claude Desktop configuration file (claude_desktop_config.json) and add the following:

{
  "mcpServers": {
    "uzcbu-currency": {
      "command": "python",
      "args": ["-m", "uzcbu_mcp.server"],
      "cwd": "/to'liq/yo'l/uzcbu-mcp-server"
    }
  }
}

Restart Claude Desktop. Now if you ask Claude "what is the dollar rate today?" or "convert 100 dollars to euros," it will automatically call the tools on your server.

Testing

To test the logic without going online (with mock data):

python test_offline.py

Project structure

uzcbu-mcp-server/
├── uzcbu_mcp/
│   ├── __init__.py
│   └── server.py          # MCP server va barcha tool'lar
├── test_offline.py        # Mock ma'lumot bilan offline testlar
├── requirements.txt
├── pyproject.toml
└── README.md

Why this project stands out

This is not just an "API wrapper" — it is built on the Model Context Protocol, the new standard of the AI ecosystem, meaning any MCP-compatible AI client (not just a single chatbot) can use it. MCP servers that work with Uzbekistan-specific data (official Central Bank rates) are currently very rare.

Extension ideas

  • Add other CBU statistical data (inflation, interest rates)

  • Speed up by caching results (for a few minutes)

  • Integrate with a Telegram bot or N8N workflow

  • Add HTTP/SSE transport to make the server work remotely

License

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Currency conversion and exchange rates for AI assistants. 170+ currencies, historical data back to 1999.
    4
    74
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Local service for currency rates and conversion using MCP and agent layer. Accepts user requests, selects appropriate tool, and returns structured responses.
    1
  • A
    license
    A
    quality
    B
    maintenance
    Provides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.
    4
    219
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables real-time currency exchange rate retrieval and conversion for over 200 currencies. Supports operations like getting rates, converting amounts, and comparing currencies through natural language.

View all related MCP servers

Related MCP Connectors

  • Live & historical FX rates and currency conversion for AI agents. No API keys.

  • Live & historical FX rates for AI agents, from European Central Bank data. No API keys.

  • ExchangeRate MCP — wraps open.er-api.com (free, no auth)

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Javohirxon04/uzcbu-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server