MCP.so
Sign In

Time MCP ServerFeatured

@modelcontextprotocol

Basic information

Category

Productivity

License

NOASSERTION

Transports

stdio

Author

modelcontextprotocol

Submitted by

孙文志

About Time MCP Server

Model Context Protocol Servers

Time MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Time MCP Server tools

2

Get current time in a specific timezone

Convert time between timezones

Overview

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.

Frequently asked questions

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

Comments

More Productivity MCP servers