Sign in
Explore
Add-ons · MCP serverEveryday codingReviewed

time

Gets the current time in an IANA timezone and converts a time between two timezones.

Kind
MCP server
Works with
Any agent
Source
MCP Reference Servers @ 51b6382a3e82
Path
src/time/README.md
License
Apache-2.0
Jobs
Implementation
InstallAdd it as an MCP server.
uvx mcp-server-time
# Time MCP Server

<!-- mcp-name: io.github.modelcontextprotocol/server-time -->

A Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.

Source: https://github.com/modelcontextprotocol/servers/tree/main/src/time

Requires MCP Python SDK 2.x (`mcp>=2.3,<3`).

### Available Tools

- `get_current_time` - Get current time in a specific timezone or system timezone.
  - Required arguments:
    - `timezone` (string): IANA timezone name (e.g., 'America/New_York', 'Europe/London')

- `convert_time` - Convert time between timezones.
  - Required arguments:
    - `source_timezone` (string): Source IANA timezone name
    - `time` (string): Time in 24-hour format (HH:MM)
    - `target_timezone` (string): Target IANA timezone name

A timezone name, here and in `--local-timezone`, must be an exact IANA key, case included: `Europe/Warsaw` is accepted and `europe/warsaw` is rejected on every platform, including macOS, whose case-insensitive filesystem would otherwise resolve it.

### Protocol versions
…