MCP 服务器

TradeTi.me — Market Hours

io.github.NicolaiJohannesen/tradetime-mcp
金融与投资 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Reports stock-exchange trading hours, sessions, holidays, current status, and upcoming market openings.

get_exchange
The full record for one exchange: sessions (in exchange-local decimal hours), holidays, early closes, and official source links.
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
get_exchange_status
Full live status for one exchange: open flag, status enum (main_open / session_open / opening_soon / closed), session type, hours to the next transition, hours to close (if open), and why it is closed (holiday / weekend) if applicable.
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'at': {'type': 'string', 'description': 'Optional ISO 8601 timestamp to evaluate AT a specific moment (e.g. "2026-07-06T14:30:00Z"). Defaults to now. Use it for "will the NYSE be open at 3pm ET on Monday?".'}, 'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
get_holidays
The closure calendar for one exchange: full-day holidays (YYYY-MM-DD, exchange-local) and early-close days with their close times.
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
get_trading_sessions
The trading-session structure for one exchange, in exchange-local decimal hours (9.5 = 09:30). A four-number "main" means a lunch break (e.g. Tokyo 9–11.5, 12.5–15).
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
is_market_open
Is a stock exchange open for trading right now (or at a given time)? Returns { open: true/false } plus status, when it next opens (weekends and holidays are skipped), and when it closes if currently open. The fastest answer to "is <exchange> open?".
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'at': {'type': 'string', 'description': 'Optional ISO 8601 timestamp to evaluate AT a specific moment (e.g. "2026-07-06T14:30:00Z"). Defaults to now. Use it for "will the NYSE be open at 3pm ET on Monday?".'}, 'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
list_exchanges
List the tracked stock exchanges as lightweight summaries (id, name, city, country, timezone, region, importance). Optionally filter by region (e.g. "Asia", "Americas", "Europe"). Use this to discover valid exchange ids.
只读 幂等
输入模式
{'type': 'object', 'properties': {'region': {'type': 'string', 'description': 'Optional region filter, case-insensitive (e.g. "Asia", "Americas", "Europe").'}}, 'additionalProperties': False}
markets_open_now
Which of the world's stock exchanges are open right now (or at a given time)? Returns every tracked exchange with its open flag and status — ideal for "which markets are trading?".
只读 幂等
输入模式
{'type': 'object', 'properties': {'at': {'type': 'string', 'description': 'Optional ISO 8601 timestamp to evaluate AT a specific moment (e.g. "2026-07-06T14:30:00Z"). Defaults to now. Use it for "will the NYSE be open at 3pm ET on Monday?".'}}, 'additionalProperties': False}
time_until_next_open
When does an exchange next open? Returns hours until the next open (weekends and holidays skipped), or — if it is already open — hours until it closes.
只读 幂等
输入模式
{'type': 'object', 'required': ['exchange'], 'properties': {'at': {'type': 'string', 'description': 'Optional ISO 8601 timestamp to evaluate AT a specific moment (e.g. "2026-07-06T14:30:00Z"). Defaults to now. Use it for "will the NYSE be open at 3pm ET on Monday?".'}, 'exchange': {'type': 'string', 'description': 'Exchange id (e.g. "nyse", "nasdaq", "lse", "nikkei", "hkex") OR common name/city (e.g. "New York Stock Exchange", "Tokyo", "London"). Case-insensitive.'}}, 'additionalProperties': False}
已添加
get_trading_sessions
2026年9月17日 12:45
已添加
get_holidays
2026年9月17日 12:45
已添加
get_exchange
2026年9月17日 12:45
已添加
list_exchanges
2026年9月17日 12:45
已添加
time_until_next_open
2026年9月17日 12:45
已添加
markets_open_now
2026年9月17日 12:45
已添加
get_exchange_status
2026年9月17日 12:45
已添加
is_market_open
2026年9月17日 12:45