
Time
@modelcontextprotocol
关于 Time
Model Context Protocol Servers
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"time": {
"command": "uvx",
"args": [
"mcp-server-time",
"--local-timezone=America/New_York"
]
}
}
}工具
2Get current time in a specific timezones
Convert time between timezones
概览
What is Time?
A Model Context Protocol server that provides time and timezone conversion capabilities. It enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
How to use Time?
Install via uvx mcp-server-time, pip install mcp-server-time, or Docker. Configure the server in your MCP client (Claude, Zed, VS Code, Zencoder) using the appropriate command. Use the get_current_time tool with a timezone argument, or the convert_time tool with source timezone, time, and target timezone arguments. Optionally set a custom system timezone with the --local-timezone argument.
Key features of Time
- Get current time in any IANA timezone.
- Convert time between two timezones.
- Automatic system timezone detection.
- Customizable local timezone via
--local-timezone. - Compatible with Claude, Zed, VS Code, and Zencoder.
- Available via uvx, pip, or Docker.
Use cases of Time
- LLM answering "What time is it now?" (uses system timezone).
- LLM answering "What time is it in Tokyo?".
- Converting times for global scheduling ("When 4 PM New York is in London").
- Checking if daylight saving time is active for a given timezone.
FAQ from Time
What tools does the Time MCP server provide?
It provides get_current_time to get the current time in a specific timezone, and convert_time to convert a time between two timezones.
How do I set a custom local timezone?
Add the --local-timezone argument to the server command, e.g., --local-timezone=America/New_York.
How can I install the Time MCP server?
Install via uvx mcp-server-time (no separate installation needed), pip install mcp-server-time, or by using the Docker image mcp/time.
How do I debug the Time MCP server?
Use the MCP inspector: run npx @modelcontextprotocol/inspector uvx mcp-server-time.
What timezone format does the server accept?
The server uses IANA timezone names, for example America/New_York or Europe/London.
生产力 分类下的更多 MCP 服务器
🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
yokingma⏰ Time MCP Server: Giving LLMs Time Awareness Capabilities
Desktop Commander MCP
wonderwhy-erThis is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
Google Calendar MCP Server
takumi0706Google Calendar MCP server for Claude Desktop integration
Swift MCP GUI Server
NakaokaReiMCP server that can execute commands such as keyboard input and mouse movement on macOS
MCP Google Calendar Server
markelaugust74A Model Context Protocol (MCP) server implementation for Google Calendar integration. Create and manage calendar events directly through Claude or other AI assistants.
评论