lookup-holiday
Real public holiday lookup for 206 countries via a rule-based calendar engine. Paid via x402.
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~590토큰 (도구 정의)
~6.2 KB일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.46%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"lookup-holiday": {
"url": "https://lookup-holiday.encodari.workers.dev/mcp"
}
}
}원격 엔드포인트
https://lookup-holiday.encodari.workers.dev/mcpstreamable-http할 수 있는 일
도구 목록
도구 (1)
🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪lookup_holiday(country, state, region, year, language, ...)
Looks up real public/bank/school holidays for a country (and optionally a state/region) and year from a real rule-based calendar engine covering 206 countries — moveable holidays like Easter are computed astronomically, not guessed. Costs $0.01 USDC (Base) per call.
입력 스키마
{
"type": "object",
"properties": {
"country": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO 3166-1 alpha-2 country code (e.g. \"US\", \"FR\", \"JP\")."
},
"state": {
"description": "Optional subdivision code within the country (e.g. \"CA\" for California in \"US\").",
"type": "string"
},
"region": {
"description": "Optional sub-region code within the state. Requires `state` to also be set.",
"type": "string"
},
"year": {
"description": "Calendar year to look up. Defaults to the current UTC year. Between 1900 and 2200.",
"type": "integer",
"minimum": 1900,
"maximum": 2200
},
"language": {
"description": "Optional ISO 639-1 language code for holiday names (e.g. \"es\"). Falls back to the country default.",
"type": "string"
},
"types": {
"description": "Optional filter: only return holidays of these types (e.g. [\"public\"]). Default: all types.",
"type": "array",
"items": {
"type": "string",
"enum": [
"public",
"bank",
"school",
"optional",
"observance"
]
}
}
},
"required": [
"country"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}출력 스키마
{
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"description": "false if the input (country/state/region/year/type) was invalid."
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Error message if valid is false; null otherwise."
},
"country": {
"type": "string"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"year": {
"type": "number"
},
"holidays": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "ISO date (YYYY-MM-DD) of the holiday."
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"public",
"bank",
"school",
"optional",
"observance"
]
},
"substitute": {
"type": "boolean",
"description": "true if this entry is a substitute day for a holiday that fell on a weekend."
}
},
"required": [
"date",
"name",
"type",
"substitute"
],
"additionalProperties": false
},
"description": "Holidays for the requested year, sorted by date."
}
},
"required": [
"valid",
"error",
"country",
"state",
"region",
"year",
"holidays"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}커뮤니티
증거
최근 관측
검증됨버전이 기록되지 않음도구 1개
검증됨버전이 기록되지 않음도구 1개