kw-time-mcp
v1.0.0MCP server providing current time, timezone conversion, duration arithmetic, and Japanese holiday lookup — no API key required
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_current_time
Returns the current date and time in the given IANA timezone (default Asia/Tokyo) as ISO 8601 with UTC offset, plus UTC and unix seconds.
| Parameter | Type | Description |
|---|---|---|
timezone | string | IANA timezone name (e.g. "Asia/Tokyo", "America/New_York", "Europe/London"). Defaults to "Asia/Tokyo". |
convert_timezone
Converts a datetime to another IANA timezone, with correct daylight-saving handling. Input with an offset or Z is used as-is (from_tz ignored). Input without an offset is local time in from_tz; for a time that does not exist (clock springs forward) it is shifted forward, and for an ambiguous time (clock falls back) the first (earlier) occurrence is used.
| Parameter | Type | Description |
|---|---|---|
datetime * | string | ISO 8601 datetime (e.g. "2024-01-01T09:00:00" or "2024-01-01T00:00:00Z"). Impossible dates such as 2024-02-30 are rejected. |
from_tz * | string | Source IANA timezone (e.g. "Asia/Tokyo"). |
to_tz * | string | Target IANA timezone (e.g. "America/New_York"). |
add_duration
Adds a fixed duration to a datetime and returns the result in UTC. Format: non-negative integer + unit s/m/h/d/w (e.g. "3h", "1d", "2w"); "d" is exactly 24 hours (not a calendar day across DST) and "w" is 7 such days. A datetime without an offset is treated as UTC.
| Parameter | Type | Description |
|---|---|---|
datetime * | string | ISO 8601 datetime (e.g. "2024-01-01T00:00:00Z"). No offset means UTC. |
duration * | string | Duration such as "30s", "15m", "3h", "1d", "2w". |
is_japanese_holiday
Checks whether a date (YYYY-MM-DD) is a Japanese national holiday, including substitute holidays (振替休日) and 国民の休日. Returns the holiday name. Supports 2024-2028; other years return an error rather than a guess.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date in YYYY-MM-DD format (e.g. "2026-05-03"). |
list_japanese_holidays
Lists all Japanese national holidays (incl. substitute holidays and 国民の休日) for a year. Supported years: 2024-2028.
| Parameter | Type | Description |
|---|---|---|
year * | integer | Year (2024-2028). |