Time Server

v1.0.0Developer Toolsstable

Simple MCP to give Claude ability to check current time as well as know when holidays are, what is the time distance between dates etc.

claudeclaude-aimcpmodel-context-protocol
Share:
30
Stars
0
Downloads
0
Weekly
0/5

What is Time Server?

Time Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to simple mcp to give claude ability to check current time as well as know when holidays are, what is the time distance between dates etc.

Simple MCP to give Claude ability to check current time as well as know when holidays are, what is the time distance between dates etc.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Simple MCP to give Claude ability to check current time as w

Use Cases

Check current time and calculate date differences in agent workflows.
Query holiday information and temporal data from Claude.
Support time-aware decision making in AI applications.
andybrandt

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 6, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y mcp-simple-timeserver

Manual Installation

npx -y mcp-simple-timeserver

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Time Server

MCP Simple Timeserver gives Claude and other AI assistants a reliable sense of time by exposing six dedicated time tools: current local time, accurate UTC via NTP, timezone-aware time queries, date distance calculations with optional business-day and holiday exclusion, holiday lookups for approximately 119 countries, and holiday checks for specific dates. Without this server, LLMs have no access to the current time or calendar context; with it, they can answer date-sensitive questions, build countdowns, and schedule-aware workflows accurately.

Prerequisites

  • Python 3.8 or higher installed
  • pip package manager available
  • An MCP-compatible client such as Claude Desktop
  • Network access for NTP time synchronization (get_utc tool)
1

Install via pip

Install the mcp-simple-timeserver package from PyPI. This is the recommended standalone installation method.

pip install mcp-simple-timeserver
2

Or install via Smithery

Alternatively, use the Smithery CLI to install and auto-configure the server for Claude Desktop in one step.

npx -y @smithery/cli install mcp-simple-timeserver --client claude
3

Configure Claude Desktop (macOS/Linux)

Add the timeserver to your Claude Desktop config. The server runs as a Python module with no API keys or environment variables required.

{
  "mcpServers": {
    "simple-timeserver": {
      "command": "python",
      "args": ["-m", "mcp_simple_timeserver"]
    }
  }
}
4

Configure Claude Desktop (Windows)

On Windows, use the full path to the Python executable found via 'where python'.

{
  "mcpServers": {
    "simple-timeserver": {
      "command": "C:\\Users\\YourName\\AppData\\Local\\Programs\\Python\\Python311\\python.exe",
      "args": ["-m", "mcp_simple_timeserver"]
    }
  }
}
5

Restart Claude Desktop and verify

Restart Claude Desktop. Ask 'What time is it right now?' to confirm the server is responding with live time data.

Time Server Examples

Client configuration

Minimal Claude Desktop configuration for mcp-simple-timeserver on macOS or Linux. No API keys needed.

{
  "mcpServers": {
    "simple-timeserver": {
      "command": "python",
      "args": ["-m", "mcp_simple_timeserver"]
    }
  }
}

Prompts to try

Time and calendar queries Claude can answer accurately with the timeserver connected.

- "What is the current time in Tokyo?"
- "How many days until December 31st?"
- "How many business days are left in this month, excluding public holidays in Germany?"
- "Is January 19th, 2026 a public holiday in Poland?"
- "What public holidays does Japan have in 2026?"
- "What time is it right now in UTC?"

Troubleshooting Time Server

Python module not found: No module named mcp_simple_timeserver

The package may have been installed in a different Python environment than the one Claude Desktop launches. Run 'pip show mcp-simple-timeserver' to find the install location, then use the full path to that Python interpreter in your config, e.g. /usr/local/bin/python3.

get_utc returns stale or incorrect time

The get_utc tool syncs with an NTP server and requires outbound UDP access on port 123. Check that your firewall allows NTP traffic. If behind a strict corporate firewall, use get_local_time instead, which reads from the system clock.

Holiday data missing for a specific country or region

The server covers approximately 119 countries. Check the GitHub repository for the supported country list. For sub-national holidays (e.g., US state or German federal state holidays), pass the city parameter to get_holidays or is_holiday for more granular results.

Frequently Asked Questions about Time Server

What is Time Server?

Time Server is a Model Context Protocol (MCP) server that simple mcp to give claude ability to check current time as well as know when holidays are, what is the time distance between dates etc. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Time Server?

Install via npm with the command: npx -y mcp-simple-timeserver. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Time Server?

Time Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Time Server free to use?

Yes, Time Server is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-simple-timeserver": { "command": "npx", "args": ["-y", "mcp-simple-timeserver"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Time Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides