MCP Time Server logo

MCP Time Server

by MCP-Mirror

The MCP Time Server is a Python-based microservice providing advanced time-related utilities across different timezones. It offers functionality for retrieving current times and converting times between various global timezones.

View on GitHub

Last updated: N/A

What is MCP Time Server?

The MCP Time Server is a Python microservice designed to provide current time retrieval and time zone conversion functionalities.

How to use MCP Time Server?

The server can be used via a command-line interface or programmatically within Python. It allows users to get the current time for a specified IANA timezone or convert time between two timezones by providing the source timezone, time, and target timezone.

Key features of MCP Time Server

  • Current Time Retrieval

  • Time Zone Conversion

  • Comprehensive Validation using Pydantic

  • Async Server Architecture

  • Flexible Configuration

Use cases of MCP Time Server

  • Applications requiring accurate time information

  • Systems needing time zone conversions

  • Services that need to adjust for Daylight Saving Time

  • Global scheduling applications

FAQ from MCP Time Server

What timezones are supported?

The server supports any IANA timezone.

What is the minimum Python version required?

Python 3.11 or higher is required.

How do I configure the server?

Configuration can be done through environment variables and configuration files.

How do I install the server?

You can install it from PyPI using pip or from the source code.

What are the core dependencies?

The core dependencies are mcp, pydantic, PyYAML, and pyz.