T-Bank Invest MCP Server (read-only)
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., "@T-Bank Invest MCP Server (read-only) What's my current portfolio value and positions?"
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.
T-Bank Invest MCP Server (read-only)
MCP-сервер для работы с инвестиционным портфелем Т-Банка (Тинькофф) через AI-ассистентов. Предоставляет только чтение — сервер не может совершать сделки, выводить средства или изменять настройки счёта.
Возможности
Портфель и счета — просмотр счетов, позиций, доходности, маржинальных показателей
История операций — сделки, дивиденды, купоны, налоги, комиссии с фильтрацией и пагинацией
Поиск инструментов — по тикеру, названию, ISIN, FIGI; детальная информация по акциям, облигациям, ETF, валютам, фьючерсам
Рыночные данные — свечи (OHLCV), стакан заявок, статус торгов, цены закрытия
Аналитика — технический анализ (SMA, EMA, RSI, MACD, Bollinger Bands), фундаментальные показатели (P/E, EPS, ROE), консенсус-прогнозы аналитиков, а также
get_stock_snapshot— сводка по тикеру одним вызовом (фундаментал + изменение цены + консенсус)Облигации — купонный календарь, НКД, события (амортизации, оферты)
Дивиденды — история и предстоящие выплаты
Related MCP server: tinkoff-wealth-mcp
Требования
uv — запускает сервер одной командой: сам подбирает Python 3.11+ и ставит зависимости в изолированное окружение
Токен T-Invest API — выпустить на tbank.ru/invest/settings/api
Какой токен выпускать
Выпускайте токен только для чтения (readonly). Сервер вызывает только методы чтения, права на сделки ему не нужны, а с таким токеном торговые поручения невозможны уже на стороне Т-Банка — это вторая линия защиты помимо кода сервера. Токен можно дополнительно ограничить одним счётом.
MCP-клиенты хранят токен в своей конфигурации открытым текстом — ещё одна причина не давать ему прав на сделки.
Подключение
Сервер опубликован на PyPI: клонировать репозиторий не нужно, uvx скачает и запустит его сам. Токен передаётся через переменную окружения TBANK_INVEST_TOKEN в конфигурации MCP-клиента.
Claude Code
claude mcp add t-bank-invest -e TBANK_INVEST_TOKEN=your_token_here -- uvx t-bank-invest-mcp-read-onlyПо умолчанию сервер подключается только к текущему проекту; чтобы он был доступен во всех проектах, добавьте --scope user. С --scope project конфигурация вместе с токеном записывается в .mcp.json в корне проекта — не коммитьте этот файл.
Claude Desktop
Добавьте сервер в claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) и перезапустите приложение:
{
"mcpServers": {
"t-bank-invest": {
"command": "uvx",
"args": ["t-bank-invest-mcp-read-only"],
"env": {
"TBANK_INVEST_TOKEN": "your_token_here"
}
}
}
}Если Claude Desktop не находит uvx, укажите в command полный путь к нему (его покажет which uvx).
Другие MCP-клиенты
Сервер работает по stdio. В любом клиенте укажите ту же команду, те же аргументы и переменную окружения, что в примере для Claude Desktop.
Сервер также есть в реестре MCP-серверов под именем io.github.Sicness/t-bank-invest-mcp-read-only.
Конкретная версия
uvx берёт последнюю версию с PyPI и обновляется сам. Чтобы закрепить версию, укажите её после имени — t-bank-invest-mcp-read-only@1.0.0; что менялось от версии к версии — в истории изменений.
Ещё не выпущенное состояние ветки main: uvx --from git+https://github.com/Sicness/t-bank-invest-mcp-read-only t-bank-invest-mcp-read-only.
Установка из исходников
Для разработки или если uv не подходит:
git clone https://github.com/Sicness/t-bank-invest-mcp-read-only.git
cd t-bank-invest-mcp-read-only
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"В конфигурации MCP-клиента тогда указывается полный путь к команде: /path/to/t-bank-invest-mcp-read-only/.venv/bin/t-bank-invest-mcp-read-only, без args.
Запуск напрямую
Сервер не загружает .env файл — переменную нужно экспортировать в shell:
export TBANK_INVEST_TOKEN=your_token_here
uvx t-bank-invest-mcp-read-onlyИз установленного окружения то же самое делает команда t-bank-invest-mcp-read-only или python -m tbank_invest_mcp.
Доступные инструменты
Счета и пользователь
Инструмент | Описание |
| Список инвестиционных счетов |
| Тариф, статус квал. инвестора, уровень риска |
| Маржинальные показатели счёта |
Портфель и позиции
Инструмент | Описание |
| Полный портфель с ценами и доходностью; у позиций опущены нулевые поля |
| Балансы позиций без расчёта цен |
| Доступные средства для вывода |
Операции
Инструмент | Описание |
| История операций за период |
| История операций с пагинацией и расширенными фильтрами |
Инструменты
Инструмент | Описание |
| Поиск по тикеру, названию, ISIN, FIGI. По умолчанию — только торгуемые через API бумаги, не больше 20; есть фильтр по типу инструмента |
| Детальная информация по идентификатору |
| Информация об облигации |
| Информация об акции |
| Информация об ETF/фонде |
| Информация о валютном инструменте |
| Информация о фьючерсном контракте |
| Купонный календарь облигации |
| События облигации: купоны, оферты, погашение, конвертации; фильтр по типу и периоду |
| История и будущие дивиденды |
| НКД (накопленный купонный доход) |
| P/E, EPS, ROE, капитализация |
| Консенсус-прогноз аналитиков по одному инструменту (сканирует страницы и фильтрует по |
| Прогнозы инвестдомов по инструменту |
| Даты отчётностей эмитента |
| Сводка по акции одним вызовом: резолвит тикер → UID → UID актива и объединяет фундаментал, изменение цены за N торговых сессий и консенсус-прогноз |
| Избранные инструменты пользователя |
| Расписание торгов бирж |
Рыночные данные
Инструмент | Описание |
| Исторические свечи (OHLCV) строками |
| Последние цены сделок |
| Цены закрытия предыдущей сессии |
| Стакан заявок (bids/asks) |
| Текущий статус торгов |
| Технические индикаторы (SMA, EMA, RSI, MACD, BB) |
Заявки
Инструмент | Описание |
| Активные заявки на счёте |
| Статус конкретной заявки |
Списки инструментов
Инструмент | Описание |
| Полный справочник акций — около 2 МБ |
| Полный справочник облигаций — около 2,4 МБ |
| Полный справочник ETF/фондов — около 300 КБ |
| Все валютные инструменты — около 13 КБ |
| Полный справочник фьючерсов — около 700 КБ |
Справочники, кроме валютного, — выгрузки для скриптов: в контекст модели они не помещаются, клиент сохранит такой ответ в файл или отклонит его. Чтобы найти бумагу, используйте find_instrument.
Формат данных
Ответы рассчитаны на то, что их читает модель, поэтому сервер не пересылает ответ API как есть:
Цены и суммы — обычные числа, а не пары
units/nano. Валюта указана один раз, в полеcurrencyтого же объекта; сумма в другой валюте записана как{"value": ..., "currency": ...}.В списках позиций, операций и событий облигаций опущены нулевые и пустые поля. Отсутствие поля означает ноль, «нет» или пусто.
Инструмент можно назвать как угодно: тикером, FIGI, ISIN или UID — в любом параметре, который принимает инструмент. Если под одним тикером торгуются разные бумаги (
T— это и Т-Технологии, и AT&T), сервер попросит уточнить в видеТИКЕР_КЛАСС, напримерT_TQBR. По названию ищетfind_instrument.Даты — в UTC. Дата без времени в
to_dateвключает весь этот день.
Примеры запросов к ассистенту
«Покажи мой портфель и общую доходность»
«Какие дивиденды я получил за последний год?»
«Найди облигации Газпрома и покажи купонный календарь»
«Сравни P/E Сбера и ВТБ»
«Дай сводку по SBER: фундаментал, динамика цены, консенсус аналитиков»
«Построй RSI для AAPL за последние 3 месяца»
«Какие у меня активные заявки?»
Лицензия
Available Tools
39 toolsfind_instrumentARead-only
Search for instruments by text query (ticker, name, ISIN, FIGI).
Returns {"instruments": [...], "total": N}. Each instrument has ticker, classCode, name, instrumentType, uid, figi, isin and lot; forQualInvestorFlag appears when it is true and apiTradeAvailableFlag when it is false. An instrument whose ticker, ISIN or FIGI equals the query comes first, then shares, funds, bonds and the rest. "total" counts every match; "note" says when the list was cut to limit or when nothing tradable matched and non-tradable listings are shown instead.
A paper has many listings (one per board, most of them not tradable), and a company's name also matches all its bonds — narrow the search with instrument_kind.
Args: query: Search string (e.g. "SBER", "Газпром", "Apple") instrument_kind: Only this kind — share, bond, etf, currency, futures, option, sp, clearing_certificate, index, commodity (empty = any) tradable_only: Only listings tradable through the API (default: true). False also returns delisted papers and technical boards. limit: Maximum number of instruments to return (1-200, default: 20)
Inputs: query (required), limit, tradable_only, instrument_kind.
get_accountsARead-only
Get list of all user investment accounts with their types and statuses.
Returns account IDs needed for other operations (portfolio, positions, operations). Account types: TINKOFF (broker), TINKOFF_IIS (individual investment account), INVEST_BOX, INVEST_FUND, DFA (digital financial assets). closedDate of 1970-01-01 means the account is open.
Inputs: no named parameters.
get_accrued_interestsARead-only
Get accrued coupon interest (NKD) history for a bond.
Args: instrument_id: Bond ticker, FIGI, ISIN or UID from_date: Start date (YYYY-MM-DD), default: 30 days ago to_date: End date (YYYY-MM-DD, inclusive), default: now
Inputs: instrument_id (required), to_date, from_date.
get_asset_fundamentalsARead-only
Get fundamental financial data for assets: P/E, P/BV, EPS, ROE, revenue, market cap, etc.
The API keys fundamentals by asset UID, which is not the instrument UID; whatever is passed here is converted. Each item of the result carries its assetUid, and the items come in the order of the request. A value of 0 means the API has no figure (P/E of a company at a loss, EBITDA of a bank), not zero. Bonds and funds have no fundamentals.
Args: assets: Comma-separated list of tickers, FIGIs, ISINs, instrument UIDs or asset UIDs
Inputs: assets (required).
get_asset_reportsARead-only
Get upcoming and past earnings report dates for an instrument's issuer.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID from_date: Start date (YYYY-MM-DD), default: now to_date: End date (YYYY-MM-DD, inclusive), default: 1 year ahead
Inputs: instrument_id (required), to_date, from_date.
get_bond_byARead-only
Get detailed bond info: maturity date, coupon rate, nominal, ACI, issue size, risk level.
Args: id: Bond ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several
Inputs: id (required), id_type, class_code.
get_bond_couponsARead-only
Get bond coupon payment schedule: dates, amounts, coupon periods.
Args: figi: Deprecated, kept for existing callers — pass the FIGI as instrument_id instead instrument_id: Bond ticker, FIGI, ISIN or UID (required) from_date: Start date (YYYY-MM-DD), default: now to_date: End date (YYYY-MM-DD, inclusive), default: 1 year from now
Inputs: figi, to_date, from_date, instrument_id.
get_bond_eventsARead-only
Get bond events: coupon payments, offers (calls), maturity, conversions.
Without dates the API returns only a window of a few years around today, so a bond's maturity or a distant offer needs an explicit from_date/to_date range to show up. A field of an event that is zero or empty is left out.
A coupon event carries couponInterestRate, the coupon's rate in percent a year — the
bond itself (get_bond_by) does not have it. Partial repayments (amortization) come as
MTY events with operationType "OA" and value in percent of the nominal; the final
repayment is the MTY event with operationType "OM".
Args: instrument_id: Bond ticker, FIGI, ISIN or UID type: Event type filter (empty = all): CPN (coupon), CALL (offer), MTY (maturity and amortization), CONV (conversion) from_date: Start date (YYYY-MM-DD), default: chosen by the API to_date: End date (YYYY-MM-DD, inclusive), default: chosen by the API
Inputs: instrument_id (required), type, to_date, from_date.
get_candlesARead-only
Get historical candles (OHLCV) for an instrument.
Returns {"columns": ["time", "open", "high", "low", "close", "volume", "volumeBuy", "volumeSell"], "candles": [...]}: one row per candle, oldest first, in the order of "columns". Volumes are in lots; the two columns splitting volume into buys and sells are there when the API has them. For day, week and month candles "time" is a date. "last_candle_complete": false appears when the last candle's period is still running — its close is the current price, not a close. A bond's prices are in percent of its nominal, not in money. Candles from before a split or a consolidation usually come recalculated to today's shares, while operations keep the prices and quantities of their day.
The API limits the period one request may span: a day for minute candles, a week for 5-10 minute ones, 3 weeks for 15-30 minute ones, 3 months for hourly ones, 6 years for daily ones. A year of daily candles is about 22,000 characters; several years of them do not fit into a client's limit — ask for weekly or monthly candles instead.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID from_date: Start date (YYYY-MM-DD), default: 30 days ago to_date: End date (YYYY-MM-DD, inclusive), default: now interval: Candle interval — CANDLE_INTERVAL_1_MIN, CANDLE_INTERVAL_5_MIN, CANDLE_INTERVAL_15_MIN, CANDLE_INTERVAL_HOUR, CANDLE_INTERVAL_DAY, CANDLE_INTERVAL_WEEK, CANDLE_INTERVAL_MONTH (also 5/10/30_SEC, 2/3/10/30_MIN, 2/4_HOUR)
Inputs: instrument_id (required), to_date, interval, from_date.
get_close_pricesARead-only
Get previous trading session close prices for instruments.
One record per requested identifier, in the order of the request. An identifier no instrument matches gives {"requested": ..., "error": ...} in its place. A bond's price is in percent of its nominal, not in money.
Args: instrument_ids: Comma-separated list of tickers, FIGIs, ISINs or UIDs
Inputs: instrument_ids (required).
get_consensus_forecastsARead-only
Get the analyst consensus forecast for one instrument: target price, recommendation, number of analysts.
GetConsensusForecasts has no server-side instrument filter — it only returns pages of forecasts for the whole instrument universe, keyed by asset UID. This resolves instrument_id to its asset UID, scans pages internally and returns just the matching item, or {"error": ...} if there is none.
Args: instrument_id: Ticker, FIGI, ISIN, instrument UID or asset UID page_limit: Page size used while scanning (default: 100; a non-positive value means 100) max_pages: Safety cap on how many pages to scan before giving up (default: 50, at least 1) page_number: Deprecated and ignored, kept for existing callers: the tool reads the pages itself
Inputs: instrument_id (required), max_pages, page_limit, page_number.
get_currency_byCRead-only
Get detailed currency instrument info.
Args: id: Currency ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several
Inputs: id (required), id_type, class_code.
get_dividendsARead-only
Get dividend payment history and upcoming dividends for an instrument.
Returns: record date, payment date, dividend per share, yield, currency.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID from_date: Start date (YYYY-MM-DD), default: 2 years ago to_date: End date (YYYY-MM-DD, inclusive), default: 1 year ahead
Inputs: instrument_id (required), to_date, from_date.
get_etf_byARead-only
Get detailed ETF/fund info: management fee, tracking index, rebalance frequency.
Args: id: ETF ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several
Inputs: id (required), id_type, class_code.
get_favoritesBRead-only
Get list of user's favorite instruments.
Inputs: no named parameters.
get_forecast_byARead-only
Get investment house price forecasts for an instrument.
Returns: analyst name, target price, recommendation (buy/hold/sell), date.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID
Inputs: instrument_id (required).
get_future_byBRead-only
Get detailed futures contract info: expiration, basic asset, margin requirements.
Args: id: Future ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several
Inputs: id (required), id_type, class_code.
get_instrument_byARead-only
Get detailed instrument info by its identifier.
Returns: name, ticker, figi, uid, lot size, currency, country, sector, trading status, etc.
Args: id: Instrument ticker, FIGI, ISIN or UID — which one it is gets recognised automatically id_type: Only needed with class_code: INSTRUMENT_ID_TYPE_TICKER. Otherwise leave the default. class_code: Board of a ticker (e.g. "TQBR"), to pick one listing out of several
Inputs: id (required), id_type, class_code.
get_last_pricesARead-only
Get last trade prices for one or more instruments.
One record per requested identifier, in the order of the request, each with its ticker and classCode. An identifier no instrument matches gives {"requested": ..., "error": ...} in its place. A bond's price is in percent of its nominal, not in money.
Args: instrument_ids: Comma-separated list of tickers, FIGIs, ISINs or UIDs
Inputs: instrument_ids (required).
get_margin_attributesARead-only
Get margin trading attributes for an account: liquid portfolio value, starting/minimal margin, funds sufficiency.
Args: account_id: Account ID (get from get_accounts)
Inputs: account_id (required).
get_operationsARead-only
Get list of operations (transactions) for an account within a date range.
Returns: buys, sells, dividends, coupons, taxes, commissions, deposits, withdrawals, etc. Each operation has: id, operationType (the code, e.g. OPERATION_TYPE_BUY), type (the same in Russian words), date, state, payment, price, quantity, quantityRest, figi, instrumentUid, positionUid, trades. A field that is zero or empty is left out; assetUid is left out too.
Canceled orders are operations as well, and carry the quantity and the payment they asked for: pass state="EXECUTED" before adding up money or quantities. quantity is what the order asked for and quantityRest what was not executed, so the executed quantity is their difference. A bond repayment has no quantity. Prices and quantities are as they were at the time: unlike candles, they are not adjusted for later splits.
Note: this method has no paging. An operation is about 450 characters, so about 100 of them fit into a client's limit, and a month of an active account can be twice that — keep the range to a week or two, or use get_operations_by_cursor, which pages. The API returns no more than 1000 operations, the latest ones; when that happens the result starts with a "note" saying so, and the earlier operations are not in it.
Args: account_id: Account ID from_date: Start date (YYYY-MM-DD), default: 14 days ago — about as much as a client's limit takes for an active account to_date: End date (YYYY-MM-DD, inclusive), default: now state: Filter by state: EXECUTED, CANCELED, PROGRESS (empty = all) figi: Filter by instrument — FIGI, ticker, ISIN or UID (empty = all instruments)
Inputs: account_id (required), figi, state, to_date, +1 more.
get_operations_by_cursorARead-only
Get operations with cursor-based pagination. Better for large histories.
Returns hasNext and nextCursor for pagination: pass nextCursor as cursor to get the next page. Each operation item includes detailed info: id, type (the code, e.g. OPERATION_TYPE_BUY), name and description, state, date, payment, price, commission, yield, accruedInt, quantity, quantityDone, quantityRest, ticker, classCode, figi, instrumentType, instrumentUid, positionUid, tradesInfo.trades (the trades of the order) and childOperations (its commissions and taxes). A field that is zero or empty is left out, and so are fields that repeat another one or the request (instrumentKind, assetUid, brokerAccountId, the per-item cursor).
Canceled orders are operations as well, and carry the quantity and the payment they asked for — a canceled buy with a positive payment, where an executed one is negative: pass state="EXECUTED" before adding up money or quantities. quantity is what the order asked for, quantityDone what was executed (left out when nothing was) and quantityRest what was not — an order can be executed in part. A bond repayment has no quantity. Prices and quantities are as they were at the time: unlike candles, they are not adjusted for later splits. positionUid is the key of a position: one paper can come under several figi and instrumentUid. The API can send an operation twice under one id; within a page the two are merged, across pages add up by unique id.
Common operation types: BUY, SELL, DIVIDEND, COUPON, TAX, BOND_TAX, INPUT, OUTPUT, BROKER_FEE, BOND_REPAYMENT_FULL, BOND_REPAYMENT; DIV_EXT is a dividend paid out to a card, which never reaches the account.
Args: account_id: Account ID from_date: Start date (YYYY-MM-DD), default: 1 year ago to_date: End date (YYYY-MM-DD, inclusive), default: now cursor: Cursor from previous response for pagination limit: Number of operations per page (1-1000, default: 50; a page of 50 is about 28,000 characters, and a client refuses a result twice that) instrument_id: Filter by instrument — ticker, FIGI, ISIN or UID operation_types: Comma-separated operation types (e.g. "BUY,SELL,DIVIDEND"); a type the API does not have is an error state: Filter by state: EXECUTED, CANCELED, PROGRESS without_commissions: Exclude commission operations without_trades: Exclude trade details from response
Inputs: account_id (required), limit, state, cursor, +6 more.
get_order_bookARead-only
Get order book (market depth) for an instrument: bids, asks, last price, spread.
A bond's prices are in percent of its nominal, not in money.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID depth: Order book depth 1-50 (default: 20)
Inputs: instrument_id (required), depth.
get_ordersBRead-only
Get list of active (pending) orders for an account.
Returns: order_id, direction, type, status, price, quantity, instrument info.
Args: account_id: Account ID
Inputs: account_id (required).
get_order_stateBRead-only
Get detailed status of a specific order: execution status, filled quantity, average price.
Args: account_id: Account ID order_id: Order ID
Inputs: order_id (required), account_id (required).
get_portfolioARead-only
Get full portfolio for an account: total values by asset type, all positions with prices, yields, and quantities.
Each position has ticker, classCode, figi, instrumentUid, positionUid, instrumentType,
quantity, averagePositionPrice, currentPrice, expectedYield, dailyYield, currentNkd
(bonds) and its currency. Amounts are plain numbers; a field that is zero or false is
left out, and so are the two fields the API has deprecated.
expectedYield and dailyYield of a position are amounts of money in the position's currency, not percentages; the portfolio's own expectedYield, at the top level, is a percentage. A bond's averagePositionPrice and currentPrice are money per bond, and currentNkd is the accrued interest per bond in the same currency — while get_last_prices, get_candles and get_order_book give a bond's price in percent of its nominal. positionUid is the key of a position: one paper can come under several figi and instrumentUid (its listings), all with the same positionUid.
Args: account_id: Account ID (get from get_accounts) currency: Portfolio currency — RUB, USD, or EUR (default: RUB)
Inputs: account_id (required), currency.
get_positionsARead-only
Get all positions in an account: securities, futures, options, and cash balances.
Unlike get_portfolio, this returns raw position balances without price calculations. A field that is zero or false (blocked, exchangeBlocked) is left out. balance is a string holding an integer — for a fund held in fractions of a unit it is cut down to whole units, and the exact quantity is in get_portfolio; positionUid is the key of the position, the same one the portfolio and the operations carry.
Args: account_id: Account ID (get from get_accounts)
Inputs: account_id (required).
get_stock_snapshotARead-only
Get a one-call overview of a share: fundamentals, recent price change, and analyst consensus.
Convenience wrapper around FindInstrument + GetInstrumentBy + GetAssetFundamentals + GetCandles + GetConsensusForecasts, so a caller doesn't need separate round trips (and the manual ticker → UID → asset UID resolution) to get a compact picture of one share.
Returns ticker, class_code, uid, asset_uid and name of the share it resolved to — check them when the query is ambiguous — plus price, fundamentals and consensus. Returns {"error": ...} if no share matches.
price holds last_close and last_close_date (the latest finished session), change_pct over change_sessions finished sessions, and — only while today's session is still open — current_price, which is not a close.
Args: ticker: Ticker, name, ISIN, or FIGI of a share (searched with FindInstrument; an exact ticker/ISIN/FIGI match is preferred over the first search hit) candle_days: Number of daily candles (trading sessions) the price change spans (default: 5) class_code: Optional class code to disambiguate listings (e.g. "TQBR")
Inputs: ticker (required), class_code, candle_days.
get_tech_analysisARead-only
Get technical analysis indicators (SMA, EMA, RSI, MACD, BB) for an instrument.
Returns technicalIndicators: one item per interval with a timestamp and the indicator's values — signal (SMA, EMA, RSI), macd and signal (MACD), or middleBand, upperBand and lowerBand (BB).
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID indicator_type: INDICATOR_TYPE_SMA, INDICATOR_TYPE_EMA, INDICATOR_TYPE_RSI, INDICATOR_TYPE_MACD, INDICATOR_TYPE_BB from_date: Start date (YYYY-MM-DD), default: 90 days ago to_date: End date (YYYY-MM-DD, inclusive), default: now interval: INDICATOR_INTERVAL_ONE_DAY (default), _ONE_HOUR, _WEEK, MONTH and the minute and hour steps listed in the schema. The API names intervals differently here than in get_candles; the CANDLE_INTERVAL* names of the same steps are taken too. type_of_price: TYPE_OF_PRICE_CLOSE, TYPE_OF_PRICE_OPEN, TYPE_OF_PRICE_HIGH, TYPE_OF_PRICE_LOW, TYPE_OF_PRICE_AVG length: Indicator period in intervals (default: 14); MACD ignores it deviation: BB only — number of standard deviations between the middle and outer bands (default: 2) fast_length: MACD only — period of the fast EMA (default: 12) slow_length: MACD only — period of the slow EMA (default: 26) signal_smoothing: MACD only — period of the signal line (default: 9)
Inputs: instrument_id (required), indicator_type (required), length, to_date, +7 more.
get_trading_schedulesARead-only
Get trading schedules for exchanges: trading hours, auction times, clearing times.
Args: exchange: Exchange name (e.g. "MOEX", "SPB"). Empty = all exchanges. from_date: Start date (YYYY-MM-DD), default: today to_date: End date (YYYY-MM-DD, inclusive), default: 7 days ahead
Inputs: to_date, exchange, from_date.
get_trading_statusBRead-only
Get current trading status for an instrument: is it tradeable, auction phase, etc.
Args: instrument_id: Instrument ticker, FIGI, ISIN or UID
Inputs: instrument_id (required).
get_user_infoARead-only
Get user information: tariff, qualified investor status, premium status, risk level.
Inputs: no named parameters.
get_withdraw_limitsARead-only
Get available withdrawal limits for an account: free cash, blocked amounts, futures guarantees.
Args: account_id: Account ID (get from get_accounts)
Inputs: account_id (required).
list_bondsARead-only
Get the full reference list of bonds: every field of every bond.
A dump for scripts, not something to read: about 1,600 bonds and 2.4 MB of JSON with INSTRUMENT_STATUS_BASE — far more than fits in a model's context; a client saves such a result to a file or refuses it. INSTRUMENT_STATUS_ALL is 38 MB, and the API drops the connection before sending it all. To find particular bonds use find_instrument with instrument_kind="bond", and get_bond_by for the details of one.
Args: instrument_status: INSTRUMENT_STATUS_BASE (tradeable) or INSTRUMENT_STATUS_ALL
Inputs: instrument_status.
list_currenciesARead-only
Get list of all available currency instruments.
Small enough to read: about 15 instruments and 13 KB with INSTRUMENT_STATUS_BASE, twice that with INSTRUMENT_STATUS_ALL.
Args: instrument_status: INSTRUMENT_STATUS_BASE (tradeable) or INSTRUMENT_STATUS_ALL
Inputs: instrument_status.
list_etfsARead-only
Get the full reference list of ETFs and funds: every field of every fund.
A dump for scripts, not something to read: about 280 funds and 300 KB of JSON with INSTRUMENT_STATUS_BASE, 2.3 MB with INSTRUMENT_STATUS_ALL — more than fits in a model's context; a client saves such a result to a file or refuses it. To find particular funds use find_instrument with instrument_kind="etf", and get_etf_by for one.
Args: instrument_status: INSTRUMENT_STATUS_BASE (tradeable) or INSTRUMENT_STATUS_ALL
Inputs: instrument_status.
list_futuresARead-only
Get the full reference list of futures contracts: every field of every contract.
A dump for scripts, not something to read: about 530 contracts and 700 KB of JSON with INSTRUMENT_STATUS_BASE, 3.5 MB with INSTRUMENT_STATUS_ALL — far more than fits in a model's context; a client saves such a result to a file or refuses it. To find particular contracts use find_instrument with instrument_kind="futures", and get_future_by for one.
Args: instrument_status: INSTRUMENT_STATUS_BASE (tradeable) or INSTRUMENT_STATUS_ALL
Inputs: instrument_status.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 39 tools
Most tools target distinct resources or actions, and the descriptions actively separate easily confused pairs like get_portfolio vs get_positions, get_operations vs get_operations_by_cursor, and list_* dumps vs find_instrument. However, the generic get_instrument_by overlaps with the five asset-specific *_by tools, get_last_prices and get_close_prices are similar, and get_share_by vs get_stock_snapshot compete, so several boundaries require reading long descriptions.
Tool names consistently use snake_case with a clear verb_noun pattern: get_* for lookups, list_* for bulk reference lists, find_instrument for search, and get_*_by for detail-by-identifier. The only minor terminology wobble is 'stock' in get_stock_snapshot versus 'share' elsewhere, but the naming convention itself is predictable throughout.
39 tools is well above the typical 3-15 range and exceeds the 25-tool threshold for 'too many' in the rubric, making the surface heavy for an agent. The set includes overlapping instrument-detail lookups and five list_* bulk dumps that descriptions themselves warn are script dumps rather than agent-friendly queries, so not every tool clearly earns its place.
For a read-only investment server the coverage is broad: accounts, portfolios, positions, operations, instrument search/details, bond coupons/events, dividends, market data, analytics, orders, schedules, and reference lists are all present. Minor gaps remain, such as no direct portfolio performance/risk summary beyond margin attributes and no non-dump way to enumerate all instruments, but agents can work around these.
Maintenance
Related MCP Connectors
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.
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Read-only MetaTrader 5 for AI agents: balances, positions, history and prices. Sign in with OAuth.
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.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with the T-Invest (Tinkoff Investments) API to manage investment portfolios, access market analytics, and retrieve technical analysis data. It supports executing trading operations, including placing and canceling market or stop orders, with optional confirmation workflows.25MIT
- FlicenseBqualityCmaintenanceEnables personal AI-driven portfolio analysis and management for Tinkoff Investments through natural language chat, providing risk assessment, goal tracking, and market-aware recommendations in read-only mode.191-
- AlicenseAqualityDmaintenanceEnables natural language interaction with your T-Invest brokerage account for portfolio analysis, dividend tracking, and optional trading with safety confirmations.2030 npm3Apache 2.0
- AlicenseNot gradedqualityCmaintenanceProvides read-only access to Trading 212 accounts, enabling AI assistants to retrieve portfolio positions, account summaries, instrument data, and transaction history.32 npm5MIT