Mcp_time_workdays_node

Created at 3 months ago

by tanranv5

starstarstarstarstar

Categories

research-and-data

Tags

mcp

time

workdays

node

What is MCP Time & Workdays (Node)?

MCP Time & Workdays (Node) is a Node.js server based on the Model Context Protocol (MCP) that provides functionalities to retrieve the current time in a specified timezone and to obtain official workdays, holidays, and makeup workdays for a given year and month from multiple data sources.

How to use MCP Time & Workdays (Node)?

To use this project, you can either install it globally using npm or run it directly with npx. After installation, you can call the server to get the current time or workdays data.

Key features of MCP Time & Workdays (Node)?

  • Online data sources: Timor year aggregation API (default) and NateScarlet holiday-cn (as a free backup).
  • Unified output format for workdays, holidays, and makeup workdays.
  • Compatible with strict MCP clients, returning data in a text format.
  • Runs natively on Node.js 18+ without additional dependencies (except MCP SDK).

Use cases of MCP Time & Workdays (Node)?

  1. Retrieving the current time in different time zones.
  2. Getting official workdays and holidays for planning purposes.
  3. Integrating with other applications that require date and holiday information.

FAQ from MCP Time & Workdays (Node)?

  • What data sources does MCP Time & Workdays use?

It uses the Timor year aggregation API by default and supports NateScarlet holiday-cn as a backup.

  • Is there a need for an API key?

No, both data sources used are free and do not require an API key.

  • What is the output format?

The output is returned as a text type, which is a JSON string or plain text for better compatibility with MCP clients.

View More