Time FastMCP Server

Time FastMCP Server

By fykong GitHub

Used FastMCP to replicate the official repo's Time Mcp Server feature.

time timezone
Overview

What is Time FastMCP Server?

Time FastMCP Server is a Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to access current time information and perform timezone conversions using IANA timezone names with automatic system timezone detection.

How to use Time FastMCP Server?

To use the Time FastMCP Server, install it using the uv command, configure it to detect your system's timezone or set a specific timezone, and then use the available tools to get current time or convert time between timezones.

Key features of Time FastMCP Server?

  • Get current time in a specific timezone or system timezone.
  • Convert time between different timezones.
  • Automatic detection of system timezone.

Use cases of Time FastMCP Server?

  1. Querying the current time in various timezones.
  2. Converting time from one timezone to another for scheduling.
  3. Integrating with applications that require accurate time and timezone data.

FAQ from Time FastMCP Server?

  • How do I get the current time?

You can use the get_current_time tool with the desired IANA timezone name.

  • Can I convert time between any two timezones?

Yes, you can convert time between any two IANA timezone names using the convert_time tool.

  • Is there a default timezone setting?

Yes, the server automatically detects your system's timezone unless overridden in the configuration.

Content

Time FastMCP Server

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.

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

Installation

Using uv

uv add mcp tzdata datetime

Configuration

Add to your settings:

By default, the server automatically detects your system's timezone. You can override this by adding the argument --local-timezone to the args list in the configuration.

"mcpServers": {
  "time": {
    "command": "uv",
    "args": [
      "--directory",
      "C:\\Users\\kongfy\\time_fastmcp_server",
      "run",
      "main.py",
      "--local-timezone=America/New_York" (optional)
    ]
  }
}

Examples of Questions for Claude

  1. "What time is it now?" (will use system timezone)
  2. "What time is it in Tokyo?"
  3. "When it's 4 PM in New York, what time is it in London?"
  4. "Convert 9:30 AM Tokyo time to New York time"
No tools information available.
Time
Time by fisher1006

-

time timezone
View Details
Time MCP Server
Time MCP Server by modelcontextprotocol

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.

time timezone
View Details

Advanced MCP server providing comprehensive time and timezone tools.

datetime timezone
View Details

Model Context Protocol Time Server - A robust timezone-aware time server implementation

time-server timezone
View Details