Chinese Calendar Mcp

Chinese Calendar Mcp

By youaodu GitHub

-

chinese-calendar holiday-service
Overview

what is Chinese Calendar Mcp?

Chinese Calendar Mcp is a holiday query service based on the FastMCP framework, designed to provide information about Chinese holidays and workdays.

how to use Chinese Calendar Mcp?

To use the service, input dates in the format YYYY-MM-DD to check if a specific date is a holiday or workday, or to retrieve detailed information about holidays within a specified date range.

key features of Chinese Calendar Mcp?

  • Check if a specific date is a holiday or workday
  • Retrieve detailed information about holidays (e.g., holiday names)
  • Query all holidays within a specified date range
  • Query all workdays within a specified date range

use cases of Chinese Calendar Mcp?

  1. Planning vacations around Chinese holidays
  2. Scheduling work tasks based on workdays
  3. Educational purposes for understanding Chinese holiday traditions

FAQ from Chinese Calendar Mcp?

  • What date format is supported?

The service supports the YYYY-MM-DD format for all date inputs.

  • Can I query a range of dates?

Yes, you can query a range of dates, but ensure the start date is earlier than or equal to the end date.

  • Are weekends included in the holiday count?

By default, weekends are counted as holidays, but you can configure this using the include_weekend parameter.

Content

中国节假日日历 MCP 服务

这是一个基于 FastMCP 框架开发的中国节假日查询服务,主要提供以下功能:

  • 查询指定日期是否为节假日
  • 查询指定日期是否为工作日
  • 获取指定日期的节假日详细信息(节日名称等)
  • 查询指定时间范围内的所有节假日
  • 查询指定时间范围内的所有工作日

使用说明

所有日期输入格式均为 YYYY-MM-DD,支持单个日期查询和日期范围查询。

注意事项

  1. 所有日期输入格式均为 YYYY-MM-DD
  2. 日期范围查询时,开始日期必须早于或等于结束日期
  3. 默认情况下周末会被计入节假日,可通过 include_weekend 参数进行配置

错误处理

服务会对输入的日期格式进行验证,如果格式不正确会返回相应的错误提示信息。

许可证

MIT License

No tools information available.
No content found.