Epoch Calculator

com.epochcalc由 epochcalc.com 發布官方發布者v1.0.0更新於 Oct 24, 2026

Unix timestamps, DST-aware time zone conversion, durations, cron schedules, and holiday countdowns

已驗證Streamable HTTP可網頁執行效率與工作流開發者工具

概覽

AI 產生的概覽

遠端 MCP 時間計算伺服器:目前時間、Unix 時間戳轉換、時區與日光節約時間處理、時長、cron 排程及節日倒數

可以做什麼
取得目前時間,以 Unix 紀元秒/毫秒、ISO 8601 和指定 IANA 時區的當地時間回傳,並附上 UTC 偏移與日光節約時間狀態,適合在任何相對日期推理前呼叫。將秒或毫秒級 Unix 時間戳轉為可讀日期,含 ISO 8601、RFC 2822、星期與相對描述,也可把日期字串解析回時間戳。在 IANA 時區之間轉換當地時間並正確處理日光節約時間切換,計算兩個日期之間的精确時長,包括工作日、閏年和日光節約時間。對時間戳依日曆年月等單位加減,解釋 5 或 6 欄位 cron 表示式並列出下次執行時間,以及倒數到節日或指定日期。
適用情境
適合需要可靠日期時間運算的情境:解讀日誌或 API 中的時間戳、在時區之間換算時間、確認 cron 工作下次執行時間,或計算距節日或截止日期的天數。當時區與日光節約時間正確性重要、又不想依賴模型自身的日期推理時,值得加入。
執行需求
位於 epochcalc.com 的遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。需要能連線至該端點的網路。
安裝前請注意
所有工具看起來都是唯讀的,也不要求任何憑證。查詢內容(包括時間戳、時區、cron 表示式和日期)會傳送給第三方服務,請避免送出不便外流的敏感排程資訊。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Epoch Calculator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.epochcalc%2Fepochcalc/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "epoch-calculator": {
      "type": "http",
      "url": "https://epochcalc.com/mcp"
    }
  }
}

工具

8

time_now

Current time

The current time: Unix epoch in seconds and milliseconds, ISO 8601, and the local wall-clock time in a given IANA time zone with its current UTC offset and DST status. Use this before any relative date reasoning.

輸入參數timezone

convert_timestamp

Convert Unix timestamp

Convert a Unix timestamp (seconds or milliseconds; auto-detected unless unit is given) to a human-readable date in a time zone, with ISO 8601, RFC 2822, UTC offset, DST flag, weekday, and a relative phrase like "3 days ago".

輸入參數unittimezonetimestamp必填

parse_datetime

Parse date/time

Parse a date/time string (ISO 8601, RFC 2822, HTTP date, SQL "YYYY-MM-DD HH:mm:ss", or a Unix timestamp) into a Unix timestamp and a normalized description. Strings without an offset are interpreted in the given time zone.

輸入參數input必填timezone

convert_timezone

Convert between time zones

Convert a wall-clock date/time from one IANA time zone to another, correctly across daylight-saving transitions. Returns both sides with offsets, the hour difference at that instant, and whether either zone is on DST.

輸入參數datetime必填to_timezone必填from_timezone必填

date_duration

Duration between dates

The exact duration between two dates or date-times: calendar years/months/days, plus total days, hours, minutes and seconds, and the number of weekdays (Mon-Fri). Handles leap years and DST via the IANA database.

輸入參數end必填start必填timezoneinclude_end

epoch_math

Epoch arithmetic

Add to or subtract from a Unix timestamp in calendar-aware units (years, months, weeks, days, hours, minutes, seconds) in a time zone, e.g. "now + 30 days" or "1748736543 - 3 months". Returns the resulting timestamp in every format.

輸入參數addsubtracttimezonetimestamp

cron_next_runs

Next cron runs

Explain a 5- or 6-field cron expression in plain English and list its next run times in a time zone (as ISO 8601 and Unix timestamps). Use to answer "when does this cron job run next?" or to validate an expression.

輸入參數fromcounttimezoneexpression必填

days_until

Days until an event

Countdown to a holiday or to a date: days, hours and minutes remaining, and the next occurrence date. Pass an event slug (e.g. "christmas", "thanksgiving", "easter", "super-bowl") or a date (YYYY-MM-DD). Call with no arguments to list the known events.

輸入參數dateeventtimezone

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。