GnistAI GnistAI
Log in

World Time

Current time, timezone conversions, and timezone information using the IANA tz database.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: calculator type type calculator calculator lifecycle: maintained lifecycle lifecycle maintained maintained Utilities

Data source: IANA tz database (built-in)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/world-time/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (5)

get_current_time

Get the current date and time in a specific timezone.

Returns date, time, UTC offset, DST status, and day of week.

Args:
timezone: IANA timezone name (e.g. "Europe/Oslo", "America/New_York", "UTC").

ParameterTypeRequiredDescription
timezonestringrequired
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_current_time",
    "arguments": {
      "timezone": "example"
    }
  }
}
convert_time

Convert a time from one timezone to another.

If no time is provided, converts the current time.

Args:
from_timezone: Source IANA timezone name (e.g. "Europe/London").
to_timezone: Target IANA timezone name (e.g. "Asia/Tokyo").
time: Optional ISO 8601 datetime without timezone (e.g. "2026-03-17T14:30:00").
If omitted, uses the current time.

ParameterTypeRequiredDescription
from_timezonestringrequired
to_timezonestringrequired
timeanyoptional
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "convert_time",
    "arguments": {
      "from_timezone": "example",
      "to_timezone": "example"
    }
  }
}
get_timezone_info

Get detailed information about a timezone.

Returns UTC offset, DST status, abbreviation, region, and current time.

Args:
timezone: IANA timezone name (e.g. "Europe/Oslo", "US/Eastern").

ParameterTypeRequiredDescription
timezonestringrequired
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_timezone_info",
    "arguments": {
      "timezone": "example"
    }
  }
}
list_timezones

List available IANA timezone names, optionally filtered by region.

Args:
region: Optional region prefix to filter by (e.g. "Europe", "America", "Asia").
If omitted, returns all timezones.

ParameterTypeRequiredDescription
regionanyoptional
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_timezones",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/world-time/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_current_time", "arguments": {"timezone": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/world-time/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_current_time",
    "arguments": {
      "timezone": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Utilities)

Resources