time
Read-only system clock and timezone conversion. No filesystem or network access; nothing to sandbox.
Usage
bash
native-mcp time [--default-tz TZ]Flags
| Flag | Default | Description |
|---|---|---|
--default-tz | UTC | IANA timezone used when current_time is called without an argument |
Tools
current_time
Returns the current time in the requested IANA timezone, formatted as RFC 3339.
Arguments
| Field | Type | Required | Description |
|---|---|---|---|
timezone | string | no | IANA timezone name (e.g. Europe/Paris). Falls back to --default-tz. |
Example
json
{ "name": "current_time", "arguments": { "timezone": "Asia/Tokyo" } }→ "2026-05-10T21:00:00+09:00"
convert_time
Converts an RFC 3339 timestamp from one IANA timezone to another.
Arguments
| Field | Type | Required | Description |
|---|---|---|---|
time | string | yes | RFC 3339 timestamp |
from_tz | string | yes | Source IANA timezone |
to_tz | string | yes | Target IANA timezone |
Example
json
{
"name": "convert_time",
"arguments": {
"time": "2026-05-10T12:00:00Z",
"from_tz": "UTC",
"to_tz": "Asia/Tokyo"
}
}→ "2026-05-10T21:00:00+09:00"
Register in Claude Code
bash
claude mcp add native-time native-mcp time
# or with a default timezone
claude mcp add native-time-paris native-mcp time --default-tz Europe/Paris