Türkiye Business Days & Public Holidays

io.github.foster-ops由 GitHub 账号 foster-ops 发布v1.0.0更新于 Oct 29, 2026

Türkiye public holidays (incl. half-day eves, Diyanet dates) and business-day math, 2022–2035.

已验证Streamable HTTP可网页运行位置与生活效率与工作流

概览

AI 生成的概览

远程 MCP 服务器,提供土耳其公共假日与工作日计算,让助手查询 2022 至 2035 年的假日,并推算或统计工作日。

可以做什么
  • 列出某年的公共假日,含土耳其语和英语名称、类型、半天假前夕及公布的行政休假
  • 判断某个日期是否为工作日、当天是哪个假日,以及是否只有下午放假
  • 从起始日期加上或减去 N 个工作日,用于付款期限或法定期限
  • 统计两个日期之间的工作日数,首尾两天都计入
适用场景
适合需要依据土耳其工作日安排日程、计算付款期限、交付日期或法定期限的场景,也适合确认某个具体日期在土耳其是否为假日。
运行要求
需要一个远程 streamable HTTP 端点;未声明任何软件包、账号、API 密钥或请求头。
安装前请注意
日历仅覆盖 2022-01-01 至 2035-12-31,宗教节日日期依据 Diyanet 公布的日历,超出该范围或日后调整的情况可能不适用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Türkiye Business Days & Public Holidays,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.foster-ops%2Fturkey-business-calendar/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "t-rkiye-business-days-public-holidays": {
      "type": "http",
      "url": "https://foster-mcp.esakiz.workers.dev/calendar/mcp"
    }
  }
}

工具

4

list_holidays

List Türkiye public holidays

Lists all public holidays of a year in Türkiye, with Turkish/English names, type, half-day eves and announced administrative leave. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).

输入参数year必填

check_business_day

Is this a business day in Türkiye?

Tells whether a date is a business day in Türkiye, which holiday falls on it and whether only the afternoon is off. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).

输入参数date必填calendarhalf_days

add_business_days

Add business days (Türkiye)

Returns the date that is N business days after (or before, if N is negative) a start date in Türkiye, e.g. for payment terms or legal deadlines. The start date is not counted. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).

输入参数date必填days必填calendarhalf_days

count_business_days

Count business days (Türkiye)

Counts business days between two dates in Türkiye, both dates included. Türkiye's official calendar (Law 2429 holidays plus Diyanet's religious holidays), covering 2022-01-01 to 2035-12-31. Business days are Monday–Friday minus official holidays. Eves of Republic Day and the religious holidays are half days (holiday from 13:00).

输入参数to必填from必填calendarhalf_days

版本历史

1
  1. v1.0.0最新Oct 29, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。