Time

Author:@modelcontextprotocol
View on GitHub

Overview

The Time MCP Server is a Model Context Protocol (MCP) server designed to deliver time-related data and conversions. It allows LLMs to retrieve the current time and perform conversions between timezones using IANA identifiers, featuring automatic system timezone detection.

To use this server, install it via pip or run it directly with uvx. Once installed, configure it within your Claude or Zed application settings. It offers tools such as get_current_time to obtain the current time in a chosen timezone and convert_time to convert times between different timezones.

Key capabilities include providing the current time for any IANA timezone, converting time across different timezones, automatic system timezone detection with manual override options, and straightforward integration with platforms like Claude and Zed through configuration.

Typical applications involve fetching the current time in a specific timezone, converting times for scheduling and coordination across regions, and automating time-based queries within various applications and services.

Frequently asked questions confirm that the server supports all IANA timezones, is open-source and free under the MIT License, and provides highly accurate time information by relying on system time and precise IANA timezone data.

Configuration

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": [
        "mcp-server-time",
        "--local-timezone=America/New_York"
      ]
    }
  }
}