UZCBU MCP Server
UZCBU MCP Server
这是一个模型上下文协议(MCP)服务器,可将乌兹别克斯坦中央银行(CBU.uz)的官方汇率连接到任何兼容 MCP 的 AI 助手(Claude Desktop、Claude Code 等)。
MCP 是 2024-2025 年出现、到 2026 年在 AI 领域广泛普及的开放标准,用于将 AI 模型连接到外部数据和系统。本项目就是为乌兹别克斯坦构建的此类服务器之一。
功能
get_all_rates— 返回今天所有货币的官方汇率get_exchange_rate— 返回单一货币(例如 USD)今天的汇率get_historical_rate— 返回指定历史日期的汇率convert_currency— 按官方汇率在两种货币之间进行换算(例如计算 100 USD 等于多少 EUR)
数据来源:cbu.uz 官方开放 JSON API。无需任何 API 密钥或注册。
Related MCP server: Currency MCP Agent
安装
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手动启动(用于测试)
python -m uzcbu_mcp.server服务器通过标准 MCP stdio 传输方式启动,并等待来自 MCP 客户端的请求。
连接到 Claude Desktop
打开 Claude Desktop 配置文件(claude_desktop_config.json)并添加以下内容:
{
"mcpServers": {
"uzcbu-currency": {
"command": "python",
"args": ["-m", "uzcbu_mcp.server"],
"cwd": "/to'liq/yo'l/uzcbu-mcp-server"
}
}
}重新启动 Claude Desktop。现在,如果您问 Claude“今天美元汇率是多少?”或“把 100 美元换成欧元”,它会自动调用您服务器上的工具。
测试
要在不联网的情况下(使用模拟数据)检查逻辑:
python test_offline.py项目结构
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本项目的独特之处
这不仅仅是一个“API 包装器”——它基于 AI 生态系统的新标准 Model Context Protocol 构建,这意味着任何兼容 MCP 的 AI 客户端(不仅仅是某个聊天机器人)都可以使用它。目前,处理乌兹别克斯坦本地数据(官方中央银行汇率)的 MCP 服务器还非常少。
扩展思路
添加其他 CBU 统计数据(通货膨胀、利率)
通过缓存结果(几分钟)来加速
与 Telegram 机器人或 N8N 工作流集成
添加 HTTP/SSE 传输,使其成为可远程运行的服务器
许可证
MIT
This server cannot be installed
Maintenance
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
AlicenseAqualityBmaintenanceCurrency conversion and exchange rates for AI assistants. 170+ currencies, historical data back to 1999.474MIT- 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.4219MIT
- 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.
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)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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