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
}社区
证据