TradeTi.me — Market Hours
Read-only trading hours for 30 stock exchanges — open now, next open, holidays, sessions.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 get_trading_sessions 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"tradetime-mcp": {
"command": "npx",
"args": [
"tradetime-mcp"
]
}
}
}可執行的套件
0.1.2stdio遠端端點
https://mcp.tradeti.me/mcpstreamable-http它能做什麼
工具清單
工具(8)
🟢is_market_open(exchange, at)
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",
"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."
},
"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?\"."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}🟢get_exchange_status(exchange, at)
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",
"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."
},
"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?\"."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}🟢markets_open_now(at)
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(exchange, at)
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",
"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."
},
"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?\"."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}🟢list_exchanges(region)
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
}🟢get_exchange(exchange)
The full record for one exchange: sessions (in exchange-local decimal hours), holidays, early closes, and official source links.
輸入結構描述
{
"type": "object",
"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."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}🟢get_holidays(exchange)
The closure calendar for one exchange: full-day holidays (YYYY-MM-DD, exchange-local) and early-close days with their close times.
輸入結構描述
{
"type": "object",
"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."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}🟢get_trading_sessions(exchange)
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",
"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."
}
},
"required": [
"exchange"
],
"additionalProperties": false
}社群
證據