# Time

> Time is an open-source MCP server for time utilities. MCP server giving AI clients current time and IANA timezone conversions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/modelcontextprotocol/servers/tree/HEAD/src/time
- **MCP Registry name:** io.github.modelcontextprotocol/server-time
- **Categories:** [time utilities](https://ai-powered.com/categories/time-utilities)
- **Listing updated:** 2026-11-27

## About

Lets an assistant ask what time it is in any IANA timezone, convert a clock reading from one zone to another, and look back a set number of days, hours, minutes or seconds. When a timezone argument is left out, the server falls back to a configured local zone, which defaults to the host's system timezone.

The server runs over stdio by default and can also run as a streamable HTTP service. It handles both the 2025-11-25 and 2026-07-28 Model Context Protocol versions without extra configuration. Ambiguous times on daylight-saving fall-back days are reported with both occurrences rather than guessed.

It suits developers wiring date and time reasoning into chat assistants, and anyone who wants an assistant to reason correctly across timezones. Installation is through uvx, pip or Docker, and the package is MIT licensed.

## Features

- **Current time lookup:** Returns the present date, time, weekday and daylight-saving status for any IANA timezone.
- **Timezone conversion:** Converts a 24-hour clock reading between a source and a target timezone and reports the offset.
- **Relative past times:** Calculates the moment a chosen number of days, hours, minutes or seconds ago, in a given zone.
- **Ambiguous time handling:** Flags repeated wall-clock times on daylight-saving fall-back days with both occurrences listed.
- **Configurable local zone:** Uses the system timezone by default, overridable with a command-line flag or an environment variable in Docker.
- **Dual transport support:** Runs over stdio for desktop clients or as an HTTP endpoint for remote use.

## Good for

- Asking an assistant what time it is in another city before scheduling a call
- Converting meeting times between New York, London and Tokyo during planning
- Checking what happened a few hours ago in a specific timezone
- Giving an AI agent reliable timezone-aware timestamps for logs or reports
- Explaining daylight-saving effects on a given date

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add server-time -- uvx mcp-server-time
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "server-time": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add server-time -- uvx mcp-server-time
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.server-time]
command = "uvx"
args = ["mcp-server-time"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user server-time uvx -- mcp-server-time

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "server-time": {
      "command": "uvx",
      "args": [
        "mcp-server-time"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `get_current_time` (name suggests: reads): Get current time in a specific timezone or system timezone.
- `convert_time`: Convert time between timezones.
- `get_time_ago` (name suggests: reads): Get the time a given number of days, hours, minutes and seconds ago in a specific timezone.

## FAQ

### Do I need an API key to run Time?

No API key is mentioned. It is installed locally with uvx or pip and launched as a stdio process.

### What timezone names does it accept?

Exact IANA timezone names, case included, such as Europe/Warsaw or America/New_York. Lowercase variants are rejected.

### What happens if I omit the timezone?

The server uses its local timezone, which is the system zone unless overridden with --local-timezone or LOCAL_TIMEZONE in Docker.

### Can Time run on a remote server?

Yes. With the streamable-http transport it serves an MCP endpoint at /mcp, listening on 127.0.0.1:3001 by default.

### What license is Time under?

It is licensed under the MIT License.

### Is Time free?

Yes. Time is open source, so you can use and self-host it for free.

### How do I add Time to Claude Code?

Run this command in your terminal: claude mcp add server-time -- uvx mcp-server-time

### What are the best alternatives to Time?

The closest alternatives to Time are Time MCP Server, MCP Time, Temporal MCP Server, Timezone MCP and Timezone Truth.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Time MCP Server](https://ai-powered.com/mcp/time-mcp-server-3): Time MCP Server is an open-source MCP server for time utilities.
- [MCP Time](https://ai-powered.com/mcp/mcp-time-2): MCP Time is an open-source MCP server for time utilities.
- [Temporal MCP Server](https://ai-powered.com/mcp/temporal-mcp-server-2): Temporal MCP Server is an open-source MCP server for developer tools.
- [Timezone MCP](https://ai-powered.com/mcp/timezone-mcp): Timezone MCP is an open-source MCP server for time utilities.
- [Timezone Truth](https://ai-powered.com/mcp/timezone-truth): Timezone Truth is an open-source MCP server for time utilities.
- [World Time](https://ai-powered.com/mcp/world-time): World Time is a freemium MCP server for time utilities.
- [Time](https://ai-powered.com/mcp/time-4): Time is a free MCP server for time utilities.
- [Timezone Helper](https://ai-powered.com/mcp/timezone-helper): Timezone Helper is an MCP server for time utilities.

---
Source: https://ai-powered.com/mcp/time-5
