Time MCP Server
About
A Model Context Protocol server that provides time-related capabilities.
Explore
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
mkdir -p ~/.local/bin
mv time-mcp-server ~/.local/bin/
rm time-mcp-server.zip
mkdir -p ~/.local/bin
cp time-mcp-server ~/.local/bin/
Make sure ~/.local/bin is in your PATH by adding to your shell configuration file:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc # or ~/.bashrc
source ~/.zshrc # or source ~/.bashrc
Add to your Claude settings:
"mcpServers": {
"RealTime": {
"command": "time-mcp-server",
"args": ["-l", "Asia/Shanghai"]
}
}
Add the following configuration to your Cursor editor's Settings - mcp.json:
{
"mcpServers": {
"RealTime": {
"command": "time-mcp-server",
"args": ["-l", "Asia/Shanghai"]
}
}
}
Add the memory MCP server to your Chatwise Settings - Tools.

{
"timezone": "America/New_York"
}
Response:
{
"timezone": "America/New_York",
"datetime": "2024-11-05T14:30:45-05:00",
"is_dst": false
}
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.
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.
> 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.
Installation
Option 1: Download Pre-built Binary
Download the latest pre-built binary for your platform from the GitHub Releases page:
Download the binary for your platform from the GitHub Releases page and follow the installation instructions below.
<details>
<summary><b>macOS Installation</b></summary>
macOS with Apple Silicon (M1/M2/M3):
```bashSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



