Skip to main content
MCP server CX Codex

time-mcp — Claude Code MCP server: what it does, how to install

Gives LLMs time awareness by exposing tools for current timestamps, timezone conversions, and calendar calculations.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add time-mcp -- npx -y time-mcp
Open on GitHub

What time-mcp does

LLMs lack an internal clock and tend to guess when asked about current dates. This server equips coding agents with direct time-checking functions. Models can inspect UTC or local time, generate Unix timestamps, and evaluate relative offsets.

The toolset includes convert_time for shifting hours across timezones, days_in_month for calendar math, and get_week_year for ISO week lookups. A local Node.js environment is required beforehand because execution relies on npx.

What it helps with

  • fetch the exact current time in UTC or local timezone
  • convert specific timestamps between different timezones
  • calculate the total number of days in any month
  • retrieve the current ISO calendar week number

Example prompts for the agent

  • What time is it right now in Tokyo and London?
  • How many days are left in this month?
  • Check which ISO week of the year we are in.

How to install time-mcp

Platform CLI

claude mcp add time-mcp -- npx -y time-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about time-mcp

How to install time-mcp in Claude Code?

Run claude mcp add time-mcp -- npx -y time-mcp in your terminal.

What does time-mcp do?

It gives AI assistants an accurate real-time clock, preventing incorrect assumptions about dates, relative periods, and timezones.

What tools are included in time-mcp?

The server provides six tools: current_time, relative_time, get_timestamp, days_in_month, convert_time, and get_week_year.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor