Holiday Calendar

U.S. federal holidays with observed dates and business-day math. Example from an open-source kit.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
98%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,107토큰 (도구 정의)
~1.2 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.86%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "holiday-calendar": {
      "url": "https://starter.modernmustardseed.com/holidays"
    }
  }
}

원격 엔드포인트

https://starter.modernmustardseed.com/holidaysstreamable-http

할 수 있는 일

도구 목록

도구 (5)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢list_federal_holidays(year)

List the eleven U.S. federal holidays for one calendar year (2021 through 2100): each holiday's name, its actual date and weekday, the date it is observed when it falls on a weekend (Saturday moves to the Friday before, Sunday to the Monday after), and the rule that sets it, from 5 U.S.C. 6103. Use it to answer which days federal offices close in a year.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Calendar year, 2021 through 2100."
    }
  },
  "required": [
    "year"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢next_federal_holidays(from_date, count)

Find the next one to eleven U.S. federal holidays observed on or after a date, with each one's observed date and how many calendar days away it is. Without from_date it starts from today's date in America/New_York and says which date it used.

입력 스키마

{
  "type": "object",
  "properties": {
    "from_date": {
      "type": "string",
      "maxLength": 40,
      "description": "Start looking on this date, inclusive, written YYYY-MM-DD (for example 2026-11-26). Covers 2021 through 2100."
    },
    "count": {
      "description": "How many upcoming holidays to return, 1 to 11. Defaults to 1.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢check_business_day(date)

Check whether a date is a U.S. business day (a weekday that is not an observed federal holiday). Returns the weekday, the holiday observed that day if any, and the business days just before and just after it.

입력 스키마

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "maxLength": 40,
      "description": "The date to check, written YYYY-MM-DD (for example 2026-11-26). Covers 2021 through 2100."
    }
  },
  "required": [
    "date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢add_business_days(start_date, business_days)

Move a number of U.S. business days forward or backward from a date, skipping weekends and observed federal holidays, for due dates, delivery windows and notice periods. The start date is not counted: 1 business day after a Friday is the next Monday, or Tuesday when that Monday is a holiday. Returns the resulting date and every holiday it skipped. Up to 1,000 business days either way.

입력 스키마

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "maxLength": 40,
      "description": "The date to count from. It is not counted itself, written YYYY-MM-DD (for example 2026-11-26). Covers 2021 through 2100."
    },
    "business_days": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Business days to move, -1000 to 1000. Negative counts backward. 0 returns the start date if it is a business day, otherwise the next one."
    }
  },
  "required": [
    "start_date",
    "business_days"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢count_business_days(start_date, end_date)

Count the U.S. business days between two dates, both dates included, leaving out weekends and observed federal holidays. Returns the business day count, the weekend days, and each holiday that fell in the span. Spans up to 3,660 calendar days.

입력 스키마

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "maxLength": 40,
      "description": "First date of the span, counted if it is a business day, written YYYY-MM-DD (for example 2026-11-26). Covers 2021 through 2100."
    },
    "end_date": {
      "type": "string",
      "maxLength": 40,
      "description": "Last date of the span, counted if it is a business day, written YYYY-MM-DD (for example 2026-11-26). Covers 2021 through 2100."
    }
  },
  "required": [
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 5개