Skip to main content

A simple MCP server that returns the local time and timezone. Alternatively the server can provide current UTC time from an NTP server.

Project description

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_local_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"]
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_simple_timeserver-1.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_simple_timeserver-1.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_simple_timeserver-1.1.0.tar.gz.

File metadata

  • Download URL: mcp_simple_timeserver-1.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for mcp_simple_timeserver-1.1.0.tar.gz
Algorithm Hash digest
SHA256 605f5dba66d23501c5a99e05ae776c24f4de3b1f1c5d1cad1d96f5a9bce6a21a
MD5 43c11285ac3b23ee05bf1cd0024ded7d
BLAKE2b-256 c008b81360d1b637abcc1d6370e908fd13d1ff4b6f2aefe185c1182b24b270f8

See more details on using hashes here.

File details

Details for the file mcp_simple_timeserver-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_simple_timeserver-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36f0304c4aaf27b0e13a51d384716ae86b35a208795c55636bace0ef2674d5d5
MD5 3a76da636b0c3844daa5a7047c9d2dca
BLAKE2b-256 113eb40aad85fef415432bf964d535df659da72b8e9e1addbc85b14907989e39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page