Time MCP Server

Productivitystdiov2026.1.26
代码仓库

Reference MCP server providing time and timezone conversion capabilities. Enables AI agents to get the current time in any timezone, convert between timezones, calculate time differences, and format dates. Useful for scheduling, international coordination, and any task requiring accurate time awareness.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": [
        "mcp-server-time",
        "--local-timezone",
        "UTC"
      ]
    }
  }
}

工具 (2)

get_current_time

Get the current time in a specified timezone.

{
  "type": "object",
  "required": [
    "timezone"
  ],
  "properties": {
    "timezone": {
      "type": "string",
      "description": "IANA timezone name (e.g. America/New_York, Europe/London, Asia/Tokyo)"
    }
  }
}

convert_time

Convert a time from one timezone to another.

{
  "type": "object",
  "required": [
    "time",
    "from_timezone",
    "to_timezone"
  ],
  "properties": {
    "time": {
      "type": "string",
      "description": "Time to convert (ISO 8601 format)"
    },
    "to_timezone": {
      "type": "string",
      "description": "Target timezone"
    },
    "from_timezone": {
      "type": "string",
      "description": "Source timezone"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Anthropic (@modelcontextprotocol)
代码仓库
https://github.com/modelcontextprotocol/servers
许可证
Apache-2.0
版本
2026.1.26
星标
86,206
最后更新
2026年1月27日