Time FastMCP Server
by fykong
The Time FastMCP Server provides time and timezone conversion capabilities for LLMs. It allows LLMs to get current time information and perform timezone conversions using IANA timezone names.
Last updated: N/A
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')
- Required arguments:
-
convert_time
- Convert time between timezones.- Required arguments:
source_timezone
(string): Source IANA timezone nametime
(string): Time in 24-hour format (HH:MM)target_timezone
(string): Target IANA timezone name
- Required arguments:
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
- "What time is it now?" (will use system timezone)
- "What time is it in Tokyo?"
- "When it's 4 PM in New York, what time is it in London?"
- "Convert 9:30 AM Tokyo time to New York time"