Japan & World Public Holidays

Public holidays, business days and long weekends for Japan (Cabinet Office) and 245 other countries.

我該用這個嗎

品質與安全性

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

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

上下文成本

~1,413Token(工具定義)
~2.6 KB典型回應大小
中等的注意力影響(128k 上下文的 1.10%)

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

安裝

一鍵安裝

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

{
  "mcpServers": {
    "holiday": {
      "url": "https://holiday.omikuji.dev/mcp"
    }
  }
}

遠端端點

https://holiday.omikuji.dev/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢check_dates(dates, year_end_closed, country, region, include_government)

For each date, tell whether it is a Japanese national holiday (with name and kind: 祝日 / 振替休日 / 国民の休日), a weekend, and a business day. Also returns today in Japan time. With country, the same for that country (holiday names, status, make-up workdays such as China's 调休).

輸入結構描述

{
  "type": "object",
  "properties": {
    "dates": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
        "description": "YYYY-MM-DD"
      },
      "minItems": 1,
      "maxItems": 62
    },
    "year_end_closed": {
      "type": "boolean",
      "default": false,
      "description": "Japan only: treat 12/29-1/3 as non-business days (common in Japanese companies)."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "default": "JP",
      "description": "ISO 3166-1 alpha-2 country code (e.g. JP, US, CN, GB). Default JP."
    },
    "region": {
      "type": "string",
      "description": "Outside Japan: state/province code (ISO 3166-2 suffix, e.g. CA for California) to include regional holidays."
    },
    "include_government": {
      "type": "boolean",
      "default": false,
      "description": "Outside Japan: also treat days off only for government offices (e.g. Indonesia's cuti bersama, Canadian federal holidays) as days off."
    }
  },
  "required": [
    "dates"
  ],
  "additionalProperties": false
}
🟢list_holidays(year, from, to, limit, country, ...)

List Japanese national holidays for a year, or between from and to. With no arguments, lists the next 10 holidays from today (Japan time). With country, lists that country's public holidays (and make-up workdays, if any).

輸入結構描述

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer"
    },
    "from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Start date (default: today in Japan)."
    },
    "to": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "End date (inclusive)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "default": "JP",
      "description": "ISO 3166-1 alpha-2 country code (e.g. JP, US, CN, GB). Default JP."
    },
    "region": {
      "type": "string",
      "description": "Outside Japan: state/province code (ISO 3166-2 suffix, e.g. CA for California) to include regional holidays."
    },
    "include_government": {
      "type": "boolean",
      "default": false,
      "description": "Outside Japan: also treat days off only for government offices (e.g. Indonesia's cuti bersama, Canadian federal holidays) as days off."
    }
  },
  "additionalProperties": false
}
🟢business_days(start, end, add, year_end_closed, country, ...)

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). Business day = weekday that is not a national holiday. Set year_end_closed to also skip 12/29-1/3. With country, uses that country's weekend days, holidays and make-up workdays.

輸入結構描述

{
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD"
    },
    "end": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Count up to this date (inclusive)."
    },
    "add": {
      "type": "integer",
      "minimum": -2000,
      "maximum": 2000,
      "description": "Move this many business days from start."
    },
    "year_end_closed": {
      "type": "boolean",
      "default": false,
      "description": "Japan only."
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "default": "JP",
      "description": "ISO 3166-1 alpha-2 country code (e.g. JP, US, CN, GB). Default JP."
    },
    "region": {
      "type": "string",
      "description": "Outside Japan: state/province code (ISO 3166-2 suffix, e.g. CA for California) to include regional holidays."
    },
    "include_government": {
      "type": "boolean",
      "default": false,
      "description": "Outside Japan: also treat days off only for government offices (e.g. Indonesia's cuti bersama, Canadian federal holidays) as days off."
    }
  },
  "required": [
    "start"
  ],
  "additionalProperties": false
}
🟢find_long_weekends(year, from, min_length, limit, country, ...)

Find 連休 (3+ consecutive days off made of weekends and national holidays), e.g. Golden Week, Silver Week. Give a year, or from (default today) to list upcoming ones. With country, the same for that country.

輸入結構描述

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer"
    },
    "from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "List long weekends ending on or after this date (default: today in Japan)."
    },
    "min_length": {
      "type": "integer",
      "minimum": 3,
      "maximum": 10,
      "default": 3
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    },
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "default": "JP",
      "description": "ISO 3166-1 alpha-2 country code (e.g. JP, US, CN, GB). Default JP."
    },
    "region": {
      "type": "string",
      "description": "Outside Japan: state/province code (ISO 3166-2 suffix, e.g. CA for California) to include regional holidays."
    },
    "include_government": {
      "type": "boolean",
      "default": false,
      "description": "Outside Japan: also treat days off only for government offices (e.g. Indonesia's cuti bersama, Canadian federal holidays) as days off."
    }
  },
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

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