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": {
  "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.0.6.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.6-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_simple_timeserver-1.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 91abe3979db71a8e3bc3430b15ae0bd0c55eace3a33f03101d89eaf967c47965
MD5 16324e6d6c6ff88e9dc7913d9f071bb4
BLAKE2b-256 9fb7c4be0a64a1bd01d8214e2feeb9ae31bb5a3404856564e1d1df24766ef47e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_simple_timeserver-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d31210c1ab0c3a3afc5005ae9c77b81b9310cedd508b734dc05260d47d30a37c
MD5 79ce973652a21e585be4696fc7df4365
BLAKE2b-256 d46924945b868b3b74fd0f941d7351c48ab91a51e36fb2554e7f778cd5303dd0

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