cn-holiday-mcp
cn-holiday-mcp
Ein MCP-Server (Model Context Protocol) zur Abfrage chinesischer gesetzlicher Feiertage und Ausgleichsarbeitstage – ohne Abhängigkeiten, offline nutzbar und sofort einsatzbereit.
Datenquelle: Mitteilungen des Büros des Staatsrats über die Anordnung der Feiertage im Jahr 2025 und im Jahr 2026 (国办发明电).
Funktionen
✅ Keine Abhängigkeiten: pure Node.js-Standardbibliothek, läuft direkt mit
node >= 18✅ stdio-Transport, konform mit dem MCP-Protokoll
2024-11-05✅ Vollständige Daten für 2025 und 2026 (einschließlich aller Ausgleichsarbeitstage)
✅ Zwei Werkzeuge:
query_holiday(bestimmten Tag abfragen),list_holidays(das ganze Jahr auflisten)
Related MCP server: taiwan-holiday-mcp
Schnellstart
node src/server.mjs # 直接运行
npm start # 或通过 npm script
node tests/smoke.mjs # 冒烟测试Anbindung an Claude Desktop
claude_desktop_config.json bearbeiten:
{
"mcpServers": {
"cn-holiday": {
"command": "node",
"args": ["C:\\path\\to\\cn-holiday-mcp\\src\\server.mjs"]
}
}
}Werkzeuge
Werkzeug | Parameter | Beispiel |
|
|
|
|
|
|
Beispielfragen und Antworten
2026-02-14→ „Ausgleichsarbeitstag zum Frühlingsfest, Arbeit erforderlich“2026-10-05→ „Feiertage zum Nationalfeiertag, insgesamt 7 Tage“2026-03-10→ „normaler Arbeitstag“
Roadmap (Pro-Version)
Mondkalender / Almanach / Solarterme (Ewiger Kalender)
Daten ab 2027 (Aktualisierung nach offizieller Veröffentlichung)
Unternehmens-Schichtplanungs-API, Abo-Modell (HTTP + token)
Feiertage in mehreren Ländern
Englisch
cn-holiday-mcp ist ein MCP-Server ohne Abhängigkeiten für chinesische gesetzliche Feiertage und Ausgleichsarbeitstage (调休) gemäß den offiziellen Bekanntmachungen des Staatsrats für den Zeitraum 2025–2026. Keine API-Schlüssel, keine Netzwerkaufrufe, vollständig offline.
Werkzeuge
query_holiday– prüft, ob ein bestimmtes Datum (YYYY-MM-DD) ein gesetzlicher Feiertag, ein Ausgleichsarbeitstag oder ein normaler Werktag ist.list_holidays– vollständiger Jahresplan einschließlich Ausgleichsarbeitstagen.
Ausführen
node src/server.mjs # Node.js >= 18, nothing to installInstallation – Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"cn-holiday": {
"command": "node",
"args": ["C:\\path\\to\\cn-holiday-mcp\\src\\server.mjs"]
}
}
}Roadmap – Mondkalender / Solarterme; Zeitpläne ab 2027+; Schichtplanungs-API für Unternehmen (Abo); weitere Länder.
Lizenz
MIT
Available Tools
2 toolslist_holidaysA
列出某一年(或全部已收录年份)的法定节假日安排,包括放假区间、天数与调休上班日。
Inputs: year.
query_holidayA
查询某一天(YYYY-MM-DD)是法定节假日、调休上班日还是普通工作日。返回节假日名称、放假区间和该区间内的调休上班日。
Inputs: date (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
query_holiday targets a single specific date while list_holidays returns full annual arrangements, so their purposes are clearly distinct. There is no practical overlap that would cause an agent to misselect.
Both tool names follow a consistent verb_noun pattern: query_holiday and list_holidays. The only minor difference is singular versus plural noun, which is natural and does not harm consistency.
Two tools is slightly thin, but each tool earns its place for the server's narrow read-only purpose. It falls at the borderline edge of the typical 3-15 tool range.
The server covers the core holiday use cases: checking a specific day and listing a year's holiday schedule. Minor gaps exist, such as date-range lookups or upcoming-holiday queries, but they are workable conveniences rather than critical dead ends.
Maintenance
Related MCP Connectors
MCP server for China public holidays and lunar calendar: solar-lunar conversion and yearly schedule.
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
MCP server for China administrative divisions: province/city/district lookup, adcode resolution and
Related MCP Servers
- AlicenseBqualityDmaintenanceA Taiwan holiday query server based on Model Context Protocol (MCP), providing accurate information on scheduled holidays and make-up working days, supporting multiple query methods and integration with AI tools.32Apache 2.0
- AlicenseAqualityDmaintenanceA Taiwan holiday query server based on the Model Context Protocol, providing accurate Taiwan public holiday and compensatory work day information.315 npmMIT
- AlicenseNot gradedqualityFmaintenanceProvides MCP servers for Chinese services: holiday checking (statutory holidays and makeup workdays), WeChat push notifications via Server酱, and Baidu translation.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server providing A-share market data tools (daily OHLCV, real-time quotes, financials, northbound capital flow, sector lists) with zero dependencies, also serving as a template for building custom MCP servers.2MIT