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

MCP Simple Timeserver

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.

It 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.

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": {
  "fetch": {
    "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": {
  "fetch": {
    "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.0.4.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.0.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcp_simple_timeserver-1.0.4.tar.gz
Algorithm Hash digest
SHA256 fb022cd70797003c5cba3e7f54914ca8084a548208a763648d86d0d485f99203
MD5 7a7b3b7b71d2dd56a9d6dee6dbd6e78f
BLAKE2b-256 ed6283b3cb55655300abb6d60aa6c92ec5119f6439b10b5f4512031d78f62151

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_simple_timeserver-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1373ed76cc737911bdc55f4264c5c68abd875832d4799daeffd5cf40146274c1
MD5 f8c5ea77aa3e89c781e274e73b8ba7c4
BLAKE2b-256 389f2aba10c331c9cdb02d8ebb3334a690efd2d3cc20a5b4bde433c04dbd8346

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