GnistAI GnistAI
Log in

World Time

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

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Utilities

Data source: IANA tz database (built-in)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/world-time/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-world-time": {
      "url": "https://context.gnist.ai/mcp/world-time/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
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"}}}'

API REST API

API Root https://context.gnist.ai/rest/world-time/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/world-time/get_current_time?timezone=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/world-time/get_current_time",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "timezone": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc world-time

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_current_time
Get the current date and time in a specific timezone.
ParameterTypeRequiredDescription
timezonestringrequired
convert_time
Convert a time from one timezone to another.
ParameterTypeRequiredDescription
from_timezonestringrequired
to_timezonestringrequired
timeanyoptional
get_timezone_info
Get detailed information about a timezone.
ParameterTypeRequiredDescription
timezonestringrequired
list_timezones
List available IANA timezone names, optionally filtered by region.
ParameterTypeRequiredDescription
regionanyoptional
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related