Zenrus MCP
Click on "Install 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., "@Zenrus MCPWhat is the current USD exchange rate and Brent oil price?"
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.
Zenrus MCP Server
MCP-сервер для получения актуальных курсов валют и цен на нефть с сайта zenrus.ru.
Возможности
Сервер предоставляет следующие инструменты:
Базовые инструменты (получение данных)
get_usd_rate- Get current USD/RUB exchange rateget_eur_rate- Get current EUR/RUB exchange rateget_brent_usd_rate- Get current Brent crude oil price in USD per barrelget_brent_rub_rate- Get current Brent crude oil price in RUB per barrel
Расчетные инструменты (вычисления)
calculate_barrels_for_rub- Calculate how many barrels can be purchased for given amount in RUBcalculate_barrels_for_usd- Calculate how many barrels can be purchased for given amount in USDcalculate_barrels_for_eur- Calculate how many barrels can be purchased for given amount in EUR
Формат возвращаемых данных
Все инструменты возвращают структурированные JSON данные с числовыми значениями, которые могут быть использованы в вычислениях:
Курсы валют (get_usd_rate, get_eur_rate):
{
"rate": 81.08,
"currency": "USD/RUB",
"description": "US Dollar to Russian Ruble exchange rate"
}Цены на нефть (get_brent_usd_rate, get_brent_rub_rate):
{
"price": 62.17,
"commodity": "Brent Crude Oil",
"currency": "USD",
"unit": "per barrel"
}Расчеты (calculate_barrels_for_rub, calculate_barrels_for_usd, calculate_barrels_for_eur):
{
"amount": 100000,
"currency": "RUB",
"barrels": 19.8374,
"pricePerBarrel": 5041,
"commodity": "Brent Crude Oil"
}Такой подход позволяет AI-модели:
Использовать данные в математических вычислениях
Форматировать вывод по своему усмотрению
Легко парсить и обрабатывать результаты
Сохранять семантику данных
Примеры использования
Для расчетных инструментов передавайте параметр amount:
{
"name": "calculate_barrels_for_usd",
"arguments": {
"amount": 1000
}
}Результат покажет, сколько баррелей можно купить:
{
"amount": 1000,
"currency": "USD",
"barrels": 16.0848,
"pricePerBarrel": 62.17,
"commodity": "Brent Crude Oil"
}Related MCP server: Financial MCP Server
Установка
Из npm (рекомендуется)
Пакет будет автоматически загружен при первом использовании с npx:
npx -y zenrus-mcpДля разработки
git clone https://github.com/DarkGenius/zenrus-mcp.git
cd zenrus-mcp
npm install
npm run buildИспользование
Конфигурация
Добавьте следующую конфигурацию в файл настроек ваших AI-инструментов:
{
"mcpServers": {
"zenrus": {
"command": "npx",
"args": ["-y", "zenrus-mcp"]
}
}
}Запуск сервера вручную
npm startРазработка
# Сборка проекта
npm run build
# Режим разработки с автоматической пересборкой
npm run dev
# Запуск тестов
npm test
# Запуск тестов в watch-режиме
npm run test:watch
# Отладка (выполняет запрос к API и выводит данные)
npm run debugОтладка
Для проверки работоспособности сервера используйте команду:
npm run debugЭтот скрипт выполнит реальный запрос к zenrus.ru и выведет:
Полученные данные в JSON формате
Результаты работы каждого MCP-инструмента
Статистику выполнения
Структура проекта
zenrus-mcp/
├── src/
│ ├── index.ts # Основной код MCP сервера
│ ├── api.ts # API модуль с кешированием
│ ├── debug.ts # Скрипт для отладки
│ └── __tests__/
│ └── parser.test.ts # Тесты парсинга данных
├── dist/ # Скомпилированные файлы
├── package.json
├── tsconfig.json
├── vitest.config.ts
└── README.mdКак это работает
Получение данных
Сервер получает данные с zenrus.ru из JavaScript файла currents.js, который содержит актуальные курсы в формате:
var current = {0:81.08,1:94.15,2:62.17,...}Где:
0- курс USD в рублях1- курс EUR в рублях2- цена Brent в долларах
Цена Brent в рублях вычисляется автоматически: USD * Brent(USD)
Кеширование
Данные кешируются на 60 минут для снижения нагрузки на удаленный API. При каждом запросе:
Проверяется наличие и актуальность кешированных данных
Если данные устарели (прошло > 60 минут), выполняется новый запрос
Новые данные сохраняются в кеш
URL использует Unix timestamp для cache busting: currents.js?v1234567890
Технологии
@modelcontextprotocol/sdk - SDK для создания MCP серверов
TypeScript
Node.js
Лицензия
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
v1.0.0- First observed
calculate_barrels_for_eur - First observed
calculate_barrels_for_rub - First observed
calculate_barrels_for_usd - First observed
get_brent_rub_rate - First observed
get_brent_usd_rate - First observed
get_eur_rate - First observed
get_usd_rate
TDQS
Scored across 7 tools
The tools are clearly distinguished by their specific purposes: three calculate barrels for different currencies (EUR, RUB, USD), two get Brent crude prices in different currencies (RUB, USD), and two get exchange rates (EUR/RUB, USD/RUB). There is minimal overlap, as each tool targets a distinct combination of currency and operation type, though the 'calculate_barrels_for_rub' might be slightly redundant given the direct price tools, but descriptions clarify the difference.
All tool names follow a consistent verb_noun pattern with clear, descriptive naming. The verbs 'calculate' and 'get' are used appropriately across tools, and the naming structure (e.g., calculate_barrels_for_eur, get_brent_rub_rate) is uniform throughout, making it easy to predict and understand each tool's function without confusion.
With 7 tools, the count is well-scoped for the server's purpose of providing Brent crude oil price calculations and exchange rates. Each tool serves a specific, necessary function in this domain, covering key operations like price retrieval and conversion calculations without being overly sparse or bloated, ensuring efficient coverage of the intended use cases.
The tool set provides complete coverage for the domain of Brent crude oil price calculations and exchange rates. It includes all necessary operations: getting current prices in key currencies (USD, RUB), retrieving relevant exchange rates (EUR/RUB, USD/RUB), and calculating barrel purchases for major currencies (EUR, RUB, USD). There are no obvious gaps, allowing agents to perform comprehensive calculations without dead ends.
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 Connectors
Live and historical FX rates (ECB via Frankfurter) — paid per call (x402/credits), 2 tools
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
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.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical foreign exchange rates for 31+ currencies, enabling currency conversion, historical rate lookups, and time series analysis using data from the Frankfurter API.-
- FlicenseNot gradedqualityDmaintenanceProvides access to real-time currency exchange rates, live stock market data via Alpha Vantage, and local transaction analysis from CSV databases. It enables AI assistants to perform currency conversions, stock comparisons, and budget tracking through natural language.-
- AlicenseAqualityAmaintenanceCentral Bank of Russia (CBR) data for AI agents — daily and historical currency rates, key rate, inflation, and macro statistics. Five typed MCP tools, in-memory TTL cache, MIT-licensed, no API key required.52MIT
- AlicenseBqualityDmaintenanceProvides access to Moscow Exchange data including quotes, trade history, candles, securities info, indices, and currency rates. Enables AI assistants to query financial market data through natural language.2014MIT