MCP.so
ログイン

Time MCP Server注目

@modelcontextprotocol

基本情報

カテゴリ

生産性

ライセンス

NOASSERTION

トランスポート

stdio

作者

modelcontextprotocol

投稿者

孙文志

Time MCP Server について

Model Context Protocol Servers

Time MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": [
        "mcp-server-time",
        "--local-timezone=America/New_York"
      ]
    }
  }
}

Time MCP Server のツール

2

Get current time in a specific timezone

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.

よくある質問

1

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.

2

How do I set a custom local timezone?

Add the `--local-timezone` argument to the server command, e.g., `--local-timezone=America/New_York`.

3

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`.

4

How do I debug the Time MCP server?

Use the MCP inspector: run `npx @modelcontextprotocol/inspector uvx mcp-server-time`.

5

What timezone format does the server accept?

The server uses IANA timezone names, for example `America/New_York` or `Europe/London`.

コメント

「生産性」の他のコンテンツ