temporal-mcp-server

Time, timezone and duration tools — IANA zones, conversion, DST-correct date arithmetic.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
84%
命名品質
96%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~733Token(工具定義)
~1.1 KB典型回應大小
中等的注意力影響(128k 上下文的 0.57%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "temporal-mcp-server": {
      "command": "npx",
      "args": [
        "temporal-mcp-server"
      ]
    }
  }
}

可執行的套件

npmtemporal-mcp-server0.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
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具