temporal-mcp-server
Time, timezone and duration tools — IANA zones, conversion, DST-correct date arithmetic.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"temporal-mcp-server": {
"command": "npx",
"args": [
"temporal-mcp-server"
]
}
}
}可运行的软件包
0.2.3stdio远程端点
https://time.somamcp.com/mcpstreamable-http它能做什么
工具清单
工具(5)
⚪info
Returns identity and build information for this server (name, version, build commit, runtime, capability counts)
输入模式
{
"type": "object"
}🟢get_current_time(timezone)
Return the current time as an epoch, a UTC ISO-8601 timestamp, and the wall-clock time in a given timezone.
输入模式
{
"type": "object",
"properties": {
"timezone": {
"description": "IANA timezone identifier, e.g. 'America/New_York'. Defaults to UTC.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}⚪convert_timezone(isoTimestamp, sourceTimezone, targetTimezone)
Render an ISO-8601 timestamp as wall-clock time in a target timezone.
输入模式
{
"type": "object",
"properties": {
"isoTimestamp": {
"type": "string",
"description": "ISO-8601 timestamp to convert, e.g. '2026-08-17T14:30:00Z'."
},
"sourceTimezone": {
"description": "IANA timezone used to interpret `isoTimestamp` when it carries no 'Z' or offset. Ignored otherwise. Defaults to UTC.",
"type": "string"
},
"targetTimezone": {
"type": "string",
"description": "IANA timezone identifier to render in."
}
},
"required": [
"isoTimestamp",
"targetTimezone"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟡add_duration(duration, isoTimestamp, timezone)
Add an ISO-8601 duration to a timestamp, in a timezone. Date units (Y/M/D) are calendar-aware: P1D across a DST boundary keeps the same wall-clock time the next day, and P1M on Jan 31 clamps to the end of February. Time units (H/M/S) are exact elapsed time, so PT24H really is 24 hours. Prefix the duration with '-' to subtract.
输入模式
{
"type": "object",
"properties": {
"duration": {
"type": "string",
"description": "ISO-8601 duration, e.g. 'P1D', 'PT30M', 'P1Y2M3DT4H5M6S', or '-P1W'."
},
"isoTimestamp": {
"type": "string",
"description": "ISO-8601 timestamp to shift."
},
"timezone": {
"description": "IANA timezone governing the arithmetic — calendar units are applied to this zone's wall clock, and a timestamp with no 'Z' or offset is read as wall-clock time here. Defaults to UTC.",
"type": "string"
}
},
"required": [
"duration",
"isoTimestamp"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}⚪time_between(from, timezone, to)
Exact elapsed time between two ISO-8601 timestamps, broken into days/hours/minutes/seconds plus a human-readable summary. All components share one sign, so they sum correctly; `direction` is 'past', 'future', or 'same'.
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Start of the interval, as an ISO-8601 timestamp."
},
"timezone": {
"description": "IANA timezone used to interpret timestamps that carry no 'Z' or offset. Defaults to UTC.",
"type": "string"
},
"to": {
"type": "string",
"description": "End of the interval, as an ISO-8601 timestamp."
}
},
"required": [
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据