Paņem brīvdienu

Latvian public holidays, days off and annual leave for 2026 and 2027, computed from Latvian law.

사용해야 할까요

품질 및 안전성

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

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

컨텍스트 비용

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

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

설치

원클릭 설치

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

{
  "mcpServers": {
    "mcp": {
      "url": "https://panembrivdienu.lv/mcp"
    }
  }
}

원격 엔드포인트

https://panembrivdienu.lv/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (4)

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

Count working days, weekend days, holidays and total days off in 2026 or 2027 for a Monday-to-Friday week. Use it for yearly totals, such as how many working days a year has; for the holiday dates use latvia_holidays, and for leave suggestions use latvia_plan_time_off. year must be 2026 or 2027. apply_transfers=true (2026 only) moves working days and days off as the 2026 transfers do, which bind only specified state-funded institutions; the moved counts are then non-zero.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "description": "calendar year: 2026 or 2027"
    },
    "apply_transfers": {
      "type": "boolean",
      "description": "apply the 2026 workday transfers (2026 only; they bind only specified state-funded institutions)"
    }
  },
  "required": [
    "year"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer"
    },
    "transfers_applied": {
      "type": "boolean"
    },
    "total_days": {
      "type": "integer"
    },
    "working_days": {
      "type": "integer"
    },
    "weekend_days": {
      "type": "integer"
    },
    "holidays": {
      "type": "integer"
    },
    "moved_working_days": {
      "type": "integer"
    },
    "moved_days_off": {
      "type": "integer"
    },
    "total_days_off": {
      "type": "integer"
    }
  },
  "required": [
    "year",
    "transfers_applied",
    "total_days",
    "working_days",
    "weekend_days",
    "holidays",
    "moved_working_days",
    "moved_days_off",
    "total_days_off"
  ],
  "additionalProperties": false
}
🟢latvia_holidays(year, apply_transfers)

List Latvia's public holidays in 2026 or 2027, sorted by date, each with its Latvian and English name. Use it when you need the dates themselves; for totals use latvia_calendar_statistics, and to turn holidays into long breaks use latvia_plan_time_off. year must be 2026 or 2027; any other year is an error. apply_transfers=true (2026 only) adds the moved days off, flagged is_moved_day. Set it only for staff of the state-funded institutions the transfers bind.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "description": "calendar year: 2026 or 2027"
    },
    "apply_transfers": {
      "type": "boolean",
      "description": "apply the 2026 workday transfers (2026 only; they bind only specified state-funded institutions)"
    }
  },
  "required": [
    "year"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer"
    },
    "transfers_applied": {
      "type": "boolean"
    },
    "holidays": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "name_lv": {
            "type": "string"
          },
          "name_en": {
            "type": "string"
          },
          "is_moved_day": {
            "type": "boolean"
          }
        },
        "required": [
          "date",
          "name_lv",
          "name_en",
          "is_moved_day"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "year",
    "transfers_applied",
    "holidays"
  ],
  "additionalProperties": false
}
🟢latvia_leave_entitlement(employment_start_date, birth_date, year, fte_percentage, annual_base)

Estimate annual paid leave under the Latvian Labour Law, in calendar days excluding public holidays. Use it to answer how much leave someone has in a year; to find when to take it use latvia_plan_time_off, which counts leave in working days, a different unit. Pass annual_base=28 (the legal minimum) unless the contract grants more, and fte_percentage=1 for full time; part-time work does not shorten leave. birth_date matters only for employees under 18, who get one calendar month. If employment_start_date is on or after 1 January of year, the result is an accrual estimate; the full leave may be requested after six months of work.

입력 스키마

{
  "type": "object",
  "properties": {
    "employment_start_date": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "birth_date": {
      "type": "string",
      "description": "YYYY-MM-DD; employees under 18 get one calendar month"
    },
    "year": {
      "type": "integer",
      "description": "year to estimate, 2020 to 2100"
    },
    "fte_percentage": {
      "type": "number",
      "description": "working time as a fraction of full time, 0.1 to 1.0 (part-time work does not shorten leave)"
    },
    "annual_base": {
      "type": "integer",
      "description": "annual leave in calendar days, 28 (the legal minimum) to 60"
    }
  },
  "required": [
    "employment_start_date",
    "year",
    "fte_percentage",
    "annual_base"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "entitlement_days": {
      "type": "number"
    },
    "unit": {
      "type": "string"
    },
    "is_accrual_estimate": {
      "type": "boolean"
    },
    "under_18_calendar_month": {
      "type": "boolean"
    },
    "six_month_threshold_reached_by_year_end": {
      "type": "boolean"
    },
    "is_under_18": {
      "type": "boolean"
    },
    "base_used": {
      "type": "integer"
    }
  },
  "required": [
    "entitlement_days",
    "unit",
    "is_accrual_estimate",
    "under_18_calendar_month",
    "six_month_threshold_reached_by_year_end",
    "is_under_18",
    "base_used"
  ],
  "additionalProperties": false
}
🟢latvia_plan_time_off(year, pto_days, apply_transfers, employment_start_date, extra_days_off)

Suggest up to ten long breaks in 2026 or 2027, best first, where a few leave days bridge weekends and Latvian holidays. Use it to decide when to take leave; for the holiday dates alone use latvia_holidays, and for how much leave the user has use latvia_leave_entitlement. pto_days caps the working days of leave each break may use on its own; it is not a yearly budget to split. A break takes every working day between runs of days off and holds a holiday or other day off on a weekday, so a week that only joins two weekends is not listed. Leave is never planned before today in Latvia or before employment_start_date. extra_days_off adds days the employer gives, so breaks can build on them. Breaks rank by days off, then fewer leave days, then date; efficiency is days off per leave day.

입력 스키마

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "description": "year to plan leave in: 2026 or 2027"
    },
    "pto_days": {
      "type": "integer",
      "description": "most working days of leave one break may use, 1 to 100"
    },
    "apply_transfers": {
      "type": "boolean",
      "description": "apply the 2026 workday transfers (2026 only)"
    },
    "employment_start_date": {
      "type": "string",
      "description": "YYYY-MM-DD; no leave is planned before it (nor before today in Latvia)"
    },
    "extra_days_off": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "description": "extra days off such as ones the employer gives, YYYY-MM-DD in 2026 or 2027, at most 100"
    }
  },
  "required": [
    "year",
    "pto_days"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "opportunities": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string"
          },
          "end_date": {
            "type": "string"
          },
          "pto_days": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "total_days_off": {
            "type": "integer"
          },
          "efficiency": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "start_date",
          "end_date",
          "pto_days",
          "total_days_off",
          "efficiency",
          "description"
        ],
        "additionalProperties": false
      }
    },
    "transfers_applied": {
      "type": "boolean"
    },
    "statistics": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer"
        },
        "total_days": {
          "type": "integer"
        },
        "working_days": {
          "type": "integer"
        },
        "weekend_days": {
          "type": "integer"
        },
        "holidays": {
          "type": "integer"
        },
        "moved_working_days": {
          "type": "integer"
        },
        "moved_days_off": {
          "type": "integer"
        },
        "total_potential_days_off": {
          "type": "integer"
        }
      },
      "required": [
        "year",
        "total_days",
        "working_days",
        "weekend_days",
        "holidays",
        "moved_working_days",
        "moved_days_off",
        "total_potential_days_off"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "opportunities",
    "transfers_applied",
    "statistics"
  ],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

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