World Public Holidays

dev.omikuji由 omikuji.dev 發布官方發布者v1.2.0更新於 Oct 30, 2026

Public holidays, business days and long weekends for about 250 countries, in each local time zone.

發布方自己的服務:Japan Restaurant Calories

已驗證Streamable HTTP可網頁執行位置與生活效率與工作流

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理依各國當地時區查詢約 250 個國家的國定假日、工作日與長週末。

可以做什麼
  • 檢查日期:判斷每個日期是國定假日、週末或工作日,並提供假日名稱、狀態以及該國時區的今天日期
  • 列出假日:查詢某國一年或某段日期區間的國定假日,或從今天起接下來 10 個假日
  • 計算工作日:依當地週末、假日與補班日計算兩個日期之間的工作日數,或求出從起始日算起第 N 個工作日
  • 尋找長週末:列出連續 3 天以上的休假日,例如日本黃金週、中國國慶黃金週
適用情境
適合在安排行程、截止期限、物流或旅遊時避開假日,或助理需要判斷某個日期在特定國家是否為工作日時使用。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。國家以 ISO 3166-1 alpha-2 代碼傳入,省略時預設為 JP。
安裝前請注意
資料大致涵蓋去年到未來兩年;標示為 estimated 的假日尚未公布或取決於觀月,日本尚未公布的年份會回報為 unknown。僅限政府機關的休假日會被列出但預設不計為休假日,除非設定 include_government,因此工作日計算可能與當地實際做法不同。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "world-public-holidays": {
      "type": "http",
      "url": "https://holiday.omikuji.dev/mcp"
    }
  }
}

工具

4

check_dates

Check dates

For each date, tell whether it is a public holiday in the country (with its name and status), a weekend, and a business day, including make-up working days such as China's 调休. Also returns today in that country's time zone. For Japan, the kind is also given: 祝日 (national holiday) / 振替休日 (substitute holiday) / 国民の休日 (citizens' holiday).

輸入參數dates必填regioncountryyear_end_closedinclude_government

list_holidays

List holidays

List a country's public holidays for a year, or between from and to (and make-up working days, if any). With no year or range, lists the next 10 holidays from today in that country.

輸入參數tofromyearlimitregioncountryinclude_government

business_days

Business days

Count business days between start and end (inclusive), or find the date that is N business days after start (add=N; negative N goes backward; start itself is not counted). Uses the country's weekend days, public holidays and make-up working days. For Japan, set year_end_closed to also skip 12/29-1/3.

輸入參數addendstart必填regioncountryyear_end_closedinclude_government

find_long_weekends

Find long weekends

Find long weekends: 3+ consecutive days off made of weekends and public holidays in the country (e.g. Japan's Golden Week, China's National Day Golden Week). Give a year, or from (default today) to list upcoming ones.

輸入參數fromyearlimitregioncountrymin_lengthinclude_government

版本歷史

3
  1. v1.2.0最新Oct 30, 2026
  2. v1.1.0Oct 15, 2026
  3. v1.0.0Oct 15, 2026

評分

已滿足適用檢查項的 83%

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

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

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

  • 授權條款不適用

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

其他 Omikuji 整合