Time
Free官方参考实现,提供时间和时区转换能力。
FreeFree tier
Inputs: textOutputs: text
About Time
Time MCP Server is an official reference implementation of the Model Context Protocol that provides time and timezone conversion capabilities. It enables LLMs to get the current time in any IANA timezone and convert times between timezones with automatic system timezone detection. The server exposes two tools: get_current_time (with a required timezone string) and convert_time (with source_timezone, a time in HH:MM format, and target_timezone). It can be installed via uvx, pip, or Docker and configured for use with MCP clients such as Claude.app, Zed, VS Code, and Zencoder.
Key Features
Get current time in any IANA timezone or system timezone
Convert time between timezones with 24-hour format input
Automatic system timezone detection
Supports installation via uvx, pip, or Docker
Configurable for Claude, Zed, VS Code, Zencoder, and other MCP clients
Pros & Cons
Pros
- Official reference implementation from the MCP servers repository
- Simple, focused API with only two essential tools
- Supports all IANA timezone names
- Automatic system timezone detection reduces manual configuration
- Multiple installation and configuration options
Cons
- Only handles time (HH:MM), not full date or datetime conversions
- Limited to IANA timezone names; no support for UTC offsets
- No support for timezone abbreviations or daylight saving time rules beyond IANA
Best For
Providing current time context to LLMs for scheduling or time-sensitive tasksConverting meeting times across different timezones in conversational AIEnabling LLMs to work with timezone-aware data in applications
FAQ
What tools does the Time MCP Server provide?
It provides two tools: get_current_time (returns current time in a given timezone or system timezone) and convert_time (converts a time from one timezone to another).
How do I install the Time MCP Server?
You can install it using uvx (uvx mcp-server-time), pip (pip install mcp-server-time), or Docker (docker run -i --rm mcp/time).
What timezone format does it require?
It requires IANA timezone names (e.g., 'America/New_York', 'Europe/London').
Can I configure the system timezone?
Yes, by default it uses the system timezone automatically, but you can override it via the LOCAL_TIMEZONE environment variable when using Docker.