# time-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/yokingma/time-mcp  
**GitHub Stars:** 72  
**npm Downloads (last month):** 7309  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/time-mcp-2

## Description
Time MCP Server, giving LLMs time awareness capabilities.

## Tools
Capabilities this server exposes over MCP:

- **current_time** — Get the current date and time.
- **relative_time** — Get the relative time from now.
- **days_in_month** — Get the number of days in a month. If no date is provided, get the number of days in the current month.
- **get_timestamp** — Get the timestamp for the time.
- **convert_time** — Convert time between timezones.
- **get_week_year** — Get the week and isoWeek of the year.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "time-mcp": {
    "command": "npx",
    "args": ["-y","time-mcp"]
  }
}
```

## Documentation

## What time-mcp MCP server does

time-mcp MCP server exposes time and calendar operations through the Model Context Protocol. It is intended for language-model clients that need to answer time-sensitive questions or perform date-related calculations through structured tools rather than relying only on the model's built-in knowledge.

The server covers both direct lookups and transformations. It can report current UTC and local time, calculate relative time, produce timestamps, determine the number of days in a month, convert values between timezones, and return week and ISO week information for a year.

## How it works

The project runs as a local MCP process started with npm or npx. An MCP-compatible client launches the command and makes the registered tools available to the model.

Its six tools divide the functionality into focused operations:

- `current_time` returns current UTC and local time.
- `relative_time` provides relative-time calculations.
- `get_timestamp` gets a timestamp for a time.
- `days_in_month` reports the number of days in a month.
- `convert_time` converts time between timezones.
- `get_week_year` returns week and ISO week values for the year.

This makes the server suitable for prompts such as asking for the current time, converting a time from New York to Tokyo, checking the length of the current month, or finding the current week of the year.

## Setup and configuration

The package can be installed globally with npm:

```shell
npm install -g time-mcp
```

Alternatively, clients can launch it without a global installation:

```shell
npx -y time-mcp
```

For Claude Desktop, the README provides an automated Smithery installation command:

```shell
npx -y @smithery/cli install @yokingma/time-mcp --client claude
```

Claude Code can register the server with:

```shell
claude mcp add time-mcp -- npx -y time-mcp
```

A connected entry should appear with a connected status.

Cursor and Windsurf use an MCP server entry that runs `npx` with `-y` and `time-mcp` as its argument. Cursor places this configuration in `mcp.json`; Windsurf uses `./codeium/windsurf/model_config.json`.

## Tools and capabilities

The time-mcp MCP server is focused on time awareness rather than general-purpose data access. Its capabilities include local and UTC current-time reporting, relative-time handling, timestamp generation, month-length lookup, timezone conversion, and week-number lookup. No other tools or integrations are listed in the provided project material.

_Full upstream README: https://allmcps.com/mcp/time-mcp-2/readme_

