andybrandt/mcp-simple-timeserver
Free允许检查客户端机器本地时间或从 NTP 服务器获取当前 UTC 时间的 MCP 服务器。
FreeFree tier
About andybrandt/mcp-simple-timeserver
mcp-simple-timeserver is a simple MCP server that provides Claude with current time, holiday information, and time distance calculations. It includes tools like get_local_time, get_utc, get_current_time (with location and calendar support), calculate_time_distance, get_holidays, and is_holiday. All tools except get_local_time use NTP servers for accurate time, with graceful fallback to local server time if NTP is unavailable.
Key Features
Supports get_local_time, get_utc, and get_current_time with location parameters (city, country, timezone)
Calendar conversions: unix, isodate, hijri, japanese, hebrew, persian
Time distance calculation with business days and holiday exclusion
Holiday checking via get_holidays and is_holiday for countries and cities
NTP-based accuracy with graceful fallback to local server time
All tools except get_local_time use NTP; fallback includes notice
Pros & Cons
Pros
- Provides accurate time from NTP servers with fallback
- Supports multiple calendar formats and location-based time
- Includes holiday data for many countries (public and school)
- Open source and free to use
- Graceful degradation when NTP is unavailable
Cons
- Limited to time-related functionality only
- Requires MCP-compatible client (e.g., Claude)
- Holiday data may not be comprehensive for all regions
Best For
Providing Claude with current local time and timezone infoGetting accurate UTC time from NTP serversChecking if a specific date is a public or school holidayCalculating time distance between dates (countdowns, elapsed time)Converting current time to multiple calendar systems (e.g., Japanese Era, Hijri, Hebrew)
FAQ
What tools does this MCP server provide?
It provides six tools: get_local_time (returns local time from user's machine), get_utc (accurate UTC from NTP server), get_current_time (current time with location/calendar), calculate_time_distance (duration between dates), get_holidays (public/school holidays for a country), and is_holiday (checks if a specific date is a holiday).
How does it handle time accuracy?
All tools except get_local_time use accurate time from NTP servers. If NTP is unavailable, they gracefully fall back to local server time with a notice.
Can I get current time in a different timezone?
Yes, the get_current_time tool supports location parameters including city name, country name/ISO code, and IANA timezone or UTC offset. Priority is timezone > city > country. When location is provided, the response includes local time, timezone info, UTC offset, and DST status.
Does it support holiday checking?
Yes, get_holidays returns public holidays (and optionally school holidays) for a country, and is_holiday checks if a specific date is a holiday in a given country or city.