moex-mcp
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., "@moex-mcp what is the current price of SBER?"
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.
MOEX MCP Server
MCP-сервер для доступа к данным Московской Биржи через ISS API.
Позволяет AI-ассистентам (Claude Code, Claude Desktop и др.) получать котировки, историю торгов, свечи, информацию о бумагах, индексах, валютных курсах и многое другое.
Требования
Node.js 18+
Related MCP server: nse-mcp
Установка
git clone <repo-url> moex-mcp
cd moex-mcp
npm install
npm run buildПодключение
Claude Code
claude mcp add moex node /path/to/moex-mcp/dist/index.jsClaude Desktop / ручная настройка
Добавить в конфигурацию MCP-серверов:
{
"mcpServers": {
"moex": {
"command": "node",
"args": ["/path/to/moex-mcp/dist/index.js"]
}
}
}Инструменты (20 шт.)
Поиск и информация о бумагах
Инструмент | Описание |
| Поиск бумаг по тикеру, названию или ISIN |
| Спецификация бумаги: ISIN, номинал, даты, площадки |
| Индексы, в которые входит бумага |
Рыночные данные
Инструмент | Описание |
| Текущие данные: цена, объём, bid/ask, изменение |
| Стакан заявок |
| Последние сделки |
| OHLCV-свечи (1, 10, 60 мин или дневные) |
Исторические данные
Инструмент | Описание |
| Итоги торгов за период |
| Доступный диапазон дат для бумаги |
| Исторические свечи за период |
Справочники
Инструмент | Описание |
| Торговые системы (stock, currency, futures и др.) |
| Рынки торговой системы |
| Режимы торгов |
Аналитика и статистика
Инструмент | Описание |
| Аналитика индексов, состав и веса (IMOEX, RTSI) |
| Валютные курсы: фиксинг MOEX, ЦБ РФ, индикативные |
| Обороты по рынкам |
| Кривая бескупонной доходности (ZCYC) |
| Открытые позиции по фьючерсам |
Корпоративные действия
Инструмент | Описание |
| История дивидендных выплат |
| График купонных выплат по облигациям |
Примеры использования
После подключения сервера можно обращаться к данным биржи на естественном языке:
«Найди акции Сбербанка»
«Покажи текущую цену GAZP»
«Дай историю торгов SBER за январь 2025»
«Какие дивиденды платил Лукойл?»
«Покажи состав индекса IMOEX»
«Курс доллара по фиксингу ЦБ»
«Свечи YNDX за последний месяц с интервалом 1 день»
Параметры по умолчанию
Большинство инструментов используют значения по умолчанию для удобства:
engine="stock"(фондовый рынок)market="shares"(акции)
Для работы с другими рынками (облигации, валюта, фьючерсы) укажите параметры явно.
Аутентификация
Сервер работает без аутентификации. В этом режиме рыночные данные приходят с 15-минутной задержкой. Индексы всегда доступны в реальном времени.
Архитектура
Vertical Slice + Hexagonal (Ports & Adapters):
src/
├── index.ts # Composition root
├── server.ts # Регистрация MCP-инструментов
├── shared/
│ ├── ports/ # Интерфейсы (порты)
│ ├── adapters/ # Реализации (адаптеры)
│ ├── pagination.ts # Авто-пагинация
│ └── formatter.ts # Форматирование для LLM
└── features/ # 20 вертикальных слайсов
└── <tool-name>/
├── schema.ts # Zod-схема параметров
├── query.ts # Бизнес-логика запроса
└── handler.ts # MCP-обработчикЛицензия
MIT
Available Tools
20 toolsget_bond_yield_curveB
Get zero-coupon yield curve (ZCYC) data for bonds
Inputs: date, engine.
get_candlesB
Get OHLCV candlestick data for a security. Use interval=24 for daily candles, 60 for hourly, 10 or 1 for minutes.
Inputs: interval (required), security (required), from, till, +3 more.
get_couponsA
Get coupon payment schedule for a bond
Inputs: security (required).
get_currency_ratesB
Get currency exchange rates: MOEX fixing, Central Bank of Russia (CBRF), or indicative rates for futures
Inputs: type (required), date.
get_dividendsA
Get dividend payment history for a security
Inputs: security (required).
get_futures_open_positionsB
Get open interest / open positions for futures market
Inputs: date, asset, market.
get_historical_candlesB
Get historical OHLCV candles over a date range from the history endpoint
Inputs: interval (required), security (required), from, till, +3 more.
get_historyB
Get historical end-of-day trading data for a security over a date range. Defaults to stock/shares.
Inputs: security (required), from, till, board, +3 more.
get_history_date_rangeB
Get the available date range for historical data of a security
Inputs: security (required), board, engine, market.
get_index_analyticsB
Get MOEX index analytics and optionally index composition with weights (e.g. IMOEX, RTSI)
Inputs: date, index, tickers.
get_market_dataC
Get current market data for securities: price, volume, bid/ask, change. Defaults to stock/shares market.
Inputs: board, engine, market, security.
get_market_turnoversB
Get summary turnover statistics across MOEX markets
Inputs: date, engine, market.
get_orderbookB
Get current order book (bid/ask depth) for a security
Inputs: security (required), board, engine, market.
get_recent_tradesC
Get most recent trades for a security
Inputs: security (required), board, limit, engine, +1 more.
get_security_indicesA
Get all indices that contain a given security
Inputs: security (required).
get_security_infoA
Get full specification of a security: ISIN, face value, issue date, trading boards, etc.
Inputs: security (required).
list_boardsB
List trading boards for a given engine and market
Inputs: engine, market.
list_enginesA
List all available trading engines on MOEX (stock, currency, futures, etc.)
Inputs: no named parameters.
list_marketsB
List all markets available for a given trading engine
Inputs: engine.
search_securitiesA
Search for securities on MOEX by ticker, name, or ISIN
Inputs: query (required), limit, engine, market, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target distinct data types, but get_candles, get_historical_candles, and get_history overlap significantly. get_market_data also broadly overlaps with more specific quote and trade tools, requiring careful tool selection.
All tools follow a consistent get_/list_/search_ verb + resource-object pattern with snake_case. Compound names like get_history_date_range still fit the established convention.
With 20 tools, the surface is on the heavy side of the 16-25 borderline range. Most tools earn their place, but candle/history variants could plausibly be consolidated.
The set provides strong read-only coverage for MOEX: securities, market hierarchy, quotes, order books, trades, candles, history, indices, rates, bonds, futures positions, dividends, and coupons. Minor gaps like trading status or bulk batch endpoints exist but are not critical.
Maintenance
Related MCP Connectors
Live stock quotes, a stock screener, crypto prices and FX rates as agent tools.
Licensed Borsa Istanbul (BIST) data for AI assistants: live or 15-minute delayed prices, OHLCV bars from 1 minute to monthly, financial statements, ratios, KAP disclosures, indices and sectors, indicator backtests and portfolio tracking for 600+ Turkish stocks. OAuth sign-in with an istfin subscription. Never places orders.
Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes
Read-only access to your MetaTrader 4 and 5 accounts for AI agents: balances, open positions, trade history with win rate, live quotes, symbol specs and candles. It cannot place, modify or close orders.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server providing financial data from Moscow Exchange and Bank of Russia, including quotes, bond metrics, interest rates, and portfolio analysis. Enables AI agents to analyze Russian financial markets through natural language.-
- FlicenseCqualityDmaintenanceEnables AI assistants to access National Stock Exchange of India (NSE) data, including live quotes, market status, indices, option chains, corporate actions, and historical data, through natural language.8241-
- AlicenseBqualityCmaintenanceProvides real-time market data, technical analysis, screeners, and backtesting for stocks, crypto, forex, and futures across global exchanges, enabling AI assistants to fetch quotes, indicators, and strategy results via natural language.371MIT
- AlicenseAqualityCmaintenanceEnables Claude to read Moscow Exchange market data and T-Invest brokerage account data, including quotes, candles, order books, dividends, portfolio, and operations. It is read-only and does not place orders.7MIT