Chinese-Holidays MCP server

January 24, 2025 ยท View on GitHub

Query information about Chinese holidays

Tools

  1. get-all-holidays: Get all holidays for a year
  2. is-holiday: Check if a date is a holiday

Configuration

1. Development/Unpublished Servers Configuration:

{
  "mcpServers": {
    "chinese-holidays": {
      "command": "uv",
      "args": [
        "--directory",
        "the absolute path of chinese-holidays",
        "run",
        "chinese-holidays"
      ]
    }
  }
}

2. Published Servers Configuration

{
  "mcpServers": {
    "chinese-holidays": {
      "command": "uvx",
      "args": [
        "chinese-holidays"
      ],
      "env": {
        "PYTHONIOENCODING": "utf-8"
      }
    }
  }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.