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.

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

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.5.tar.gz (4.0 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.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_simple_timeserver-1.0.5.tar.gz
  • Upload date:
  • Size: 4.0 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.5.tar.gz
Algorithm Hash digest
SHA256 f749f2fc57058b51746f105e1fdc80e4bb3aa537ce05b98abfa22e1a444154bb
MD5 89a0ff481fc29ac04fafd47e1fab90b2
BLAKE2b-256 9d8a9a31cdd03082ff7e54fd0df26c57aac413bef9cd0c4d2ddf23c221c046ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_simple_timeserver-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 11c6441d7671298b6eb97a5bb457b0c3608d73ddbcafa3f21a94529e7b7f3eda
MD5 f407b947666093b8ae466c7c7cc11417
BLAKE2b-256 5aeac4482cf11aa1d8d11b8d49eb313df6eac55769f92898a0a8fece7ea0e493

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