Labsco
beordle logo

Time MCP Server

from beordle

Provides time-related functions such as current time queries, timezone conversions, and time difference calculations.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Time MCP Server

A Model Context Protocol server that provides time-related capabilities. This server enables LLMs to access current time information and convert times between different timezones. This is a Swift implementation of a time MCP server using the MCP Swift SDK.

โœจ Features

  • Current Time Queries: Get the current time in any timezone
  • Time Zone Conversions: Convert time between different timezones
  • Daylight Saving Time Information: Check if a timezone is currently in DST
  • Time Difference Calculation: Get the time difference between timezones when converting

Available Tools

  • get_current_time - Get the current time in a specific timezone

    • timezone (string, required): IANA timezone name (e.g., 'America/New_York', 'Europe/London'). If empty or not provided, the system timezone will be used.
  • convert_time - Convert time between timezones

    • source_timezone (string, required): Source IANA timezone name. If empty or not provided, the system timezone will be used.
    • time (string, required): Time to convert in 24-hour format (HH:MM)
    • target_timezone (string, required): Target IANA timezone name. If empty or not provided, the system timezone will be used.

Command Line Arguments

The server supports the following command line arguments:

  • -h, --help: Display help information about the server, its usage, and available options
  • -v, --version: Display the version number of the time-mcp-server

Example usage:

# Display help information
time-mcp-server --help

# Display version information
time-mcp-server --version

Configure for Claude.app

Add to your Claude settings:

"mcpServers": {
  "RealTime": {
    "command": "time-mcp-server"
  }
}

Configure for Cursor

Add the following configuration to your Cursor editor's Settings - mcp.json:

{
  "mcpServers": {
    "RealTime": {
      "command": "time-mcp-server"
    }
  }
}

cursor

Configure for ChatWise

Add the memory MCP server to your Chatwise Settings - Tools.

chatwise-settings-tools

Example System Prompt

You can use the following system prompt to help Claude utilize the time-mcp-server effectively:

You have access to time-related tools through MCP. Use these to help users:

- Get the current time in any timezone
- Convert times between timezones
- Calculate time differences between locations
- Plan meetings across different timezones

Use the following tools appropriately:
- `get_current_time` for checking the current time in a specific timezone
- `convert_time` when the user needs to convert between timezones

Always use proper IANA timezone names (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo') 
rather than abbreviations or common names.

Use Cases

  • International Meeting Planning: Schedule meetings across different timezones
  • Travel Planning: Check local times at destination
  • Remote Work Coordination: Coordinate work hours with international teams
  • Event Scheduling: Set up global events with correct local times
  • Time-Sensitive Operations: Ensure operations happen at the correct local time

Version History

See GitHub Releases for version history and changelog.

โ˜•๏ธ Support the Project

If you find time-mcp-server helpful, please consider supporting its development:

  • โญ๏ธ Star the project on GitHub
  • ๐Ÿ› Report bugs or suggest features
  • ๐Ÿ’ Support via:

About

A Swift implementation of a time server for Model Context Protocol (MCP), enabling AI assistants to access current time information and convert between timezones. This project is built using the MCP Swift SDK.