cn-holiday-mcp
cn-holiday-mcp
中国の法定祝日・振替出勤日を照会する MCP(Model Context Protocol)サーバー。ゼロ依存、オフライン対応、すぐに使えます。
データソース:国務院弁公庁『2025年の一部祝祭日の手配に関する通知』『2026年の一部祝祭日の手配に関する通知』(国弁発明電)。
特徴
✅ ゼロ依存:純粋な Node.js 標準ライブラリ、
node >= 18でそのまま動作✅ stdio トランスポート、MCP
2024-11-05プロトコル準拠✅ 2025年・2026年の完全なデータを収録(全振替出勤日を含む)
✅ 2つのツール:
query_holiday(特定日を照会)、list_holidays(年間を一覧表示)
クイックスタート
node src/server.mjs # 直接运行
npm start # 或通过 npm script
node tests/smoke.mjs # 冒烟测试Claude Desktop に接続
claude_desktop_config.json を編集:
{
"mcpServers": {
"cn-holiday": {
"command": "node",
"args": ["C:\\path\\to\\cn-holiday-mcp\\src\\server.mjs"]
}
}
}ツール
ツール | パラメータ | 例 |
|
|
|
|
|
|
サンプルQ&A
2026-02-14→ 「春節の振替出勤日、出勤が必要」2026-10-05→ 「国慶節の休暇、合計7日間」2026-03-10→ 「通常の平日」
ロードマップ(Pro版)
旧暦/こよみ/二十四節気(万年暦)
2027年以降のデータ(公式発表次第更新)
企業向けシフトAPI、サブスクリプション制(HTTP + token)
多言語の祝日
English
cn-holiday-mcp は、中国の祝日と振替出勤日(调休)のためのゼロ依存のMCPサーバーです。国務院の公式通知に基づき2025〜2026年をカバー。APIキー不要、ネットワーク呼び出し不要、完全オフライン。
ツール
query_holiday— 指定した日付(YYYY-MM-DD)が祝日か、振替出勤日か、通常の平日かを判定list_holidays— 振替出勤日を含む年間スケジュールを一覧表示
実行
node src/server.mjs # Node.js >= 18, nothing to installインストール — Claude Desktop の claude_desktop_config.json:
{
"mcpServers": {
"cn-holiday": {
"command": "node",
"args": ["C:\\path\\to\\cn-holiday-mcp\\src\\server.mjs"]
}
}
}ロードマップ — 旧暦/二十四節気;2027年以降のスケジュール;企業向けシフトAPI(サブスクリプション);他国対応
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
China facts a server outside China cannot get: real mainland reachability, 调休 holidays, ID/phone val
Hosted MCP server for business-day math, deadline planning, meeting overlap, and SLA calculations.
Hosted MCP server for personal tools: budgets, savings goals, spaced repetition, tips, countdowns.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qianwei2333/cn-holiday-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server