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 个工具