TSETMC Tehran Stock Exchange

v0.2.2
io.github.sepehr071/tsetmc-mcp Checked 3 days ago Published 16 days ago

Unofficial read-only Tehran Stock Exchange (TSETMC): quotes, movers, order book, history, indices.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ts_search_symbols Search symbols

Find Tehran Stock Exchange instruments (shares, funds, rights, bonds) by ticker or name. Pass a result's `symbol` or `ins_code` to the other ts_ tools. Empty list: retry a shorter name.

ParameterTypeDescription
query *stringTicker or company name, e.g. 'فولاد', 'بانک ملت'.
limitintegerMax matches.

ts_get_quote Stock quote

Latest price, daily range, volume and key facts of one instrument on the Tehran Stock Exchange. Use ts_order_book for bids and asks, ts_price_history for earlier days.

ParameterTypeDescription
symbol *stringTicker, exact name or ins_code, e.g. 'فولاد'.

ts_market_movers Market movers

Top traded instruments of a market today, ranked by gain, loss, volume, value or trade count. Only traded instruments. `limit_up`/`limit_down` = stuck at the daily limit. Pass a row's `symbol` to other ts_ tools.

ParameterTypeDescription
limitintegerMax rows.
marketstringbourse = Tehran shares, farabourse = Fara Bourse shares, plus rights and bonds.
sort_bystringgain/loss = last-trade change vs yesterday, value = Rial traded.

ts_order_book Order book

Best five bid and ask levels (price, volume, order count) of one instrument. Empty outside trading hours. Ask price 0 = buy queue (no sellers), bid price 0 = sell queue.

ParameterTypeDescription
symbol *stringTicker, exact name or ins_code, e.g. 'فولاد'.

ts_price_history Daily price history

Daily open, high, low, close, volume, trades and value of one instrument for its latest trading days, newest first. Prices are unadjusted for capital increases and dividends.

ParameterTypeDescription
symbol *stringTicker, exact name or ins_code, e.g. 'فولاد'.
daysintegerLatest trading days.

ts_indices Market indices

TSE total index, market state and trading totals, plus every sector and market index with its change. Pass an index `name` to ts_index_history for past values.

ParameterTypeDescription
limitintegerMax indices, strongest first.
queryPart of an index name, e.g. 'بانک', 'هم وزن'. Omit for all.

ts_index_history Index history

Daily close, high, low and percent change of a TSE index (total, equal-weight, sector...), newest first. Names: see ts_indices.

ParameterTypeDescription
daysintegerLatest trading days.
indexstringIndex name or part of it, or ins_code, e.g. 'بانک'.