Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-simple-timeserver

MCP.Pizza Chef: andybrandt

mcp-simple-timeserver is a lightweight MCP server designed to supply Claude with accurate current time information, overcoming Anthropic's limitation of no timestamp access. It offers two tools: 'get_time' delivers local time and timezone from the user's machine, while 'get_utc' fetches precise UTC time from an NTP server. This enables Claude to understand the current time context, calculate elapsed time between interactions, and improve temporal reasoning in conversations.

Use This MCP server To

Provide real-time local time to Claude via MCP Supply accurate UTC time from NTP server Enable Claude to calculate elapsed time between messages Improve temporal context awareness in AI conversations Integrate time data into AI-driven workflows Support time-based decision making for AI agents

README

MseeP.ai Security Assessment Badge

MCP Simple Timeserver

smithery badge

One of the strange design decisions Anthropic made was depriving Claude of timestamps for messages sent by the user or current time in general. Poor Claude can't tell what time it is! mcp-simple-timeserver is a simple MCP server that fixes that.

This server provides two tools:

  • get_time provides the current local time and timezone information from the user's machine. This way Claude can know what time it is at the user's location. He can also calculate how much time passed since his last interaction with the user should he want to do so.
  • get_utc provides current UTC time obtained from an NTP time server.

Installation

Installing via Smithery

To install Simple Timeserver for Claude Desktop automatically via Smithery:

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

Manual Installation

First install the module using:

pip install mcp-simple-timeserver

Then configure in MCP client - the Claude desktop app.

Under Mac OS this will look like this:

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

Under Windows you have to check the path to your Python executable using where python in the cmd (Windows command line).

Typical configuration would look like this:

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

mcp-simple-timeserver FAQ

How does mcp-simple-timeserver provide local time to Claude?
It uses the 'get_time' tool to fetch the current local time and timezone from the user's machine, enabling Claude to know the user's local time context.
What is the source of the UTC time provided by mcp-simple-timeserver?
The 'get_utc' tool obtains the current UTC time from a reliable Network Time Protocol (NTP) server, ensuring accurate universal time reference.
Can mcp-simple-timeserver help Claude calculate time elapsed between interactions?
Yes, by providing timestamps, Claude can determine how much time has passed since the last user interaction.
Is mcp-simple-timeserver compatible with other LLM providers besides Claude?
While designed for Claude, the server's time tools can be adapted for use with other LLMs like OpenAI's GPT-4 and Anthropic's Claude, or Google's Gemini.
Does mcp-simple-timeserver require special installation steps?
Installation is straightforward; the server runs as a lightweight MCP server exposing time tools accessible to the MCP client.
How secure is the time data provided by mcp-simple-timeserver?
The server only exposes time information without sensitive data, maintaining user privacy and security in line with MCP principles.
Can mcp-simple-timeserver handle different timezones automatically?
Yes, the 'get_time' tool provides local time along with timezone information from the user's machine.
Is network connectivity required for mcp-simple-timeserver to provide UTC time?
Yes, the 'get_utc' tool requires internet access to query the NTP server for accurate UTC time.