get_china_holiday_schedule

Pack: holidays · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_china_holiday_schedule for the schema, then POST the same URL with its arguments for the data.

China’s official public holiday arrangement for a year: every day off for each holiday (New Year, Spring Festival, Qingming, Labour Day, Dragon Boat, Mid-Autumn, National Day) as a full date range, and every make-up working day (调休: the Saturdays and Sundays that are official working days), each tied to its holiday. Use this instead of get_holidays for China, which lists only the first day of each holiday and no make-up workdays. Provide year (e.g. 2026); omit it for the current year. Source: State Council General Office of China, annual notice on holiday arrangements.

Parameters

NameTypeRequiredDescription
yearnumbernoYear of the holiday arrangement, e.g. 2026. Default: the current year.

Example call

Arguments

{
  "year": 2026
}

curl

curl -X POST https://gateway.pipeworx.io/holidays/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_china_holiday_schedule","arguments":{"year":2026}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_china_holiday_schedule', {
  "year": 2026
});

Response shape

FieldTypeDescription
foundboolean
country_codestring
yearnumber
completeboolean
total_days_offnumber | null
makeup_workday_countnumber
makeup_workdaysarray
holidaysarray
noticeobject
notestring
sourcestring
data_as_ofstring
reasonstring
messagestring
years_with_a_noticearray
unread_holidaysarray
incomplete_notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "country_code": {
      "type": "string"
    },
    "year": {
      "type": "number"
    },
    "complete": {
      "type": "boolean"
    },
    "total_days_off": {
      "type": [
        "number",
        "null"
      ]
    },
    "makeup_workday_count": {
      "type": "number"
    },
    "makeup_workdays": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "weekday": {
            "type": "string"
          },
          "for_holiday": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "holidays": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name_zh": {
            "type": "string"
          },
          "name_en": {
            "type": "string"
          },
          "off_start": {
            "type": "string"
          },
          "off_end": {
            "type": "string"
          },
          "days_off": {
            "type": "number"
          },
          "off_dates": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "adjusted": {
            "type": "boolean"
          },
          "makeup_workdays": {
            "type": "array",
            "items": {
              "type": [
                "string",
                null
              ]
            }
          }
        },
        "additionalProperties": true
      }
    },
    "notice": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "document_number": {
          "type": "string"
        },
        "published": {
          "type": "string"
        },
        "publisher": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "note": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "years_with_a_notice": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "unread_holidays": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name_zh": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "incomplete_note": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the holidays pack
{
  "mcpServers": {
    "holidays": {
      "url": "https://gateway.pipeworx.io/holidays/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 4, 2026