# Temporal MCP Server

> Temporal MCP Server is an open-source MCP server for developer tools. MCP server for time zones, conversions and DST-aware date arithmetic for AI agents. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/sapientsai/mcp-servers/tree/HEAD/servers/temporal
- **MCP Registry name:** io.github.sapientsai/temporal-mcp-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Gives AI assistants a set of clock tools so they stop guessing about time. It reads the current time in any IANA zone, converts ISO-8601 timestamps between zones, adds or subtracts durations, and measures the gap between two moments.

The server separates calendar units from exact units. Adding a day keeps the wall-clock time across a daylight saving change, while adding 24 hours counts real elapsed time. Month arithmetic clamps to the last valid day instead of overflowing into the next month. Offsets come from the runtime's timezone database rather than a hardcoded table.

It runs locally over stdio or HTTP, or against a hosted endpoint, and exposes the same four tools in each case. Errors include the expected format so a calling agent can correct its input. Developers building agents that schedule, compare or report times across zones are the main audience.

## Features

- **Current time lookup:** Returns the current moment as epoch, UTC ISO-8601 and local wall-clock time in a chosen zone.
- **Timezone conversion:** Renders an ISO-8601 timestamp in a target IANA timezone.
- **Calendar-aware date math:** Adds or subtracts ISO-8601 durations, applying month and day units to the zone's wall clock.
- **Elapsed time between timestamps:** Reports whole units between two times with a readable summary and past, future or same direction.
- **Strict timestamp parsing:** Accepts only ISO-8601 forms and rejects ambiguous strings rather than guessing a zone.
- **Multiple run modes:** Runs over stdio for desktop clients, over local HTTP, or through a hosted endpoint.

## Good for

- Letting an agent convert meeting times between a user's zone and a partner's zone
- Adding business days or months to a date without daylight saving errors
- Computing how long ago an event happened for a status report
- Validating and normalising timestamps before storing them
- Giving a coding assistant a reliable clock during scheduling logic tests

## Install

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

```sh
claude mcp add --transport http temporal-mcp-server https://time.somamcp.com/mcp
```

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": {
    "temporal-mcp-server": {
      "type": "http",
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://time.somamcp.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "type": "http",
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://time.somamcp.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

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

```sh
codex mcp add temporal-mcp-server --url https://time.somamcp.com/mcp
```

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

```toml
[mcp_servers.temporal-mcp-server]
url = "https://time.somamcp.com/mcp"
```

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "httpUrl": "https://time.somamcp.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http temporal-mcp-server https://time.somamcp.com/mcp

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "serverUrl": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp",
      "transport": "http"
    }
  }
}
```

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": {
    "temporal-mcp-server": {
      "type": "streamableHttp",
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://time.somamcp.com/mcp
```

Enter a Name (for example "Temporal MCP Server"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "temporal-mcp-server": {
      "type": "http",
      "url": "https://time.somamcp.com/mcp"
    }
  }
}
```

## Tools

Going by the server's labels and the tool names, 1 of 5 tools changes data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `info` (says read-only): Returns identity and build information for this server (name, version, build commit, runtime, capability counts)
- `get_current_time` (name suggests: reads): Return the current time as an epoch, a UTC ISO-8601 timestamp, and the wall-clock time in a given timezone.
- `convert_timezone`: Render an ISO-8601 timestamp as wall-clock time in a target timezone.
- `add_duration` (name suggests: changes): Add an ISO-8601 duration to a timestamp, in a timezone. Date units (Y/M/D) are calendar-aware: P1D across a DST boundary keeps the same wall-clock time the next day, and P1M on Jan 31 clamps to the end of February. Time units (H/M/S) are exact elapsed time, so PT24H really is 24 hours. Prefix the duration with '-' to subtract.
- `time_between`: Exact elapsed time between two ISO-8601 timestamps, broken into days/hours/minutes/seconds plus a human-readable summary. All components share one sign, so they sum correctly; `direction` is 'past', 'future', or 'same'.

## FAQ

### How does Temporal MCP Server handle daylight saving time?

Calendar units such as days keep the same wall-clock time across a DST change, while hour and minute units count exact elapsed time.

### What happens when adding a month to January 31?

The result clamps to the last valid day of the target month, so P1M on 2026-01-31 returns 2026-02-28.

### Can I run Temporal MCP Server without a hosted service?

Yes. It runs locally over stdio through npx or as a global npm binary, and also over local HTTP on a configurable port.

### Is the hosted endpoint protected?

It is public unless a bearer token is configured on the deployment, in which case unauthenticated requests get a 401.

### Is Temporal MCP Server free?

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

### How do I add Temporal MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http temporal-mcp-server https://time.somamcp.com/mcp

### What are the best alternatives to Temporal MCP Server?

The closest alternatives to Temporal MCP Server are Time MCP, Tick MCP, Timezone MCP, Currentdt MCP and tz-mcp.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Time MCP](https://ai-powered.com/mcp/time-mcp-2): Time MCP is an open-source MCP server for developer tools.
- [Tick MCP](https://ai-powered.com/mcp/tick-mcp): Tick MCP 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.
- [Currentdt MCP](https://ai-powered.com/mcp/currentdt-mcp): Currentdt MCP is an open-source MCP server for developer tools.
- [tz-mcp](https://ai-powered.com/mcp/tz-mcp): tz-mcp is an open-source MCP server for time utilities.
- [Time MCP Server](https://ai-powered.com/mcp/time-mcp-server-3): Time MCP Server is an open-source MCP server for time utilities.
- [temporal-mcp](https://ai-powered.com/mcp/temporal-mcp): temporal-mcp is an open-source MCP server for developer tools.
- [Timezone Truth](https://ai-powered.com/mcp/timezone-truth): Timezone Truth is an open-source MCP server for time utilities.

---
Source: https://ai-powered.com/mcp/temporal-mcp-server-2
