time

Local
15
GitHub Repo

Overview

Provides time information and IANA timezone conversions with auto system timezone detection.

Transport

stdio

Tools

  • get_current_time
  • convert_time

Key Capabilities

  • Get current time in any IANA timezone or automatically detect system timezone
  • Convert time between different timezones with IANA timezone support
  • Automatic system timezone detection for seamless local time queries
  • Returns detailed timezone information including datetime and time differences

How It Works

The time MCP server uses Python’s timezone libraries to provide accurate time information:

  1. get_current_time: Queries the current time in a specified IANA timezone (e.g., ‘America/New_York’, ‘Europe/London’). If no timezone is specified, it automatically detects and uses the system’s local timezone.
  2. convert_time: Converts a time from one timezone to another. You provide a source timezone, a time in 24-hour format (HH:MM), and a target timezone. The server returns both times with full datetime information and calculates the time difference between the zones.

All responses include timezone-aware datetime strings in ISO 8601 format and indicate whether Daylight Saving Time is active (is_dst flag).