Time FastMCP Server
About
Used FastMCP to replicate the official repo's Time Mcp Server feature.
Explore
- Get current time in any IANA timezone or system timezone.
- Convert time between two IANA timezones.
- Automatic detection of system timezone.
- Supports 24-hour time format for conversions.
- Simple tool-based interface for LLMs.
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.
``json``
"mcpServers": {
"time": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\kongfy\\time_fastmcp_server",
"run",
"main.py",
"--local-timezone=America/New_York" (optional)
]
}
}
get_current_time
Get current time in a specific timezone or system timezone.
timezone
(string): IANA timezone name (e.g., 'America/New_York', 'Europe/London')
convert_time
Convert time between timezones.
source_timezone
(string): Source IANA timezone name
time
(string): Time in 24-hour format (HH:MM)
target_timezone
(string): Target IANA timezone name
- 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
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
``bash
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.
`json
"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"Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



