UZCBU MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UZCBU MCP ServerConvert 100 USD to UZS using today's official rate"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 todayget_exchange_rate— returns today's rate for a single currency (e.g., USD)get_historical_rate— returns the rate for a specific past dateconvert_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.txtQuick start (for testing)
python -m uzcbu_mcp.serverThe 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.pyProject 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.mdWhy 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
This server cannot be deployed
Maintenance
Related MCP Connectors
Live & historical FX rates and currency conversion for AI agents. No API keys.
Live & historical FX rates and currency conversion for AI agents. No API keys.
ExchangeRate MCP — wraps open.er-api.com (free, no auth)
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
Related MCP Servers
AlicenseAqualityCmaintenanceCurrency conversion and exchange rates for AI assistants. 170+ currencies, historical data back to 1999.425 npmMIT- FlicenseNot gradedqualityDmaintenanceLocal service for currency rates and conversion using MCP and agent layer. Accepts user requests, selects appropriate tool, and returns structured responses.1-
- AlicenseAqualityBmaintenanceProvides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.4135 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables 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.-