Skip to main content

A simple MCP server that provides current time - either local or 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"]
  }
}

Web Server Variant

This project also includes a network-hostable version that can be deployed as a standalone web server. For instructions on how to run and deploy it, please see the Web Server Deployment Guide.

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.1.tar.gz (4.1 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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_simple_timeserver-1.1.1.tar.gz
  • Upload date:
  • Size: 4.1 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.1.tar.gz
Algorithm Hash digest
SHA256 7449bb3de867cff7406f6ffc3e7a48e61a0d78792dae4dcae9e4e6b58e1d5475
MD5 cd04b8a746248bcc7cb0e4cc3ed76ad6
BLAKE2b-256 9edc5f3f10e277d55257ba825006ca4796511fe14e0ff86550d32475764389e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_simple_timeserver-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1593539de73ef0262e5b2a40bb19b8a6bc05ab822d29f7435d204c4ced713636
MD5 f74245406ecbec981670080b538bfd39
BLAKE2b-256 c7d30addfdb80efa5e8d79c60cb463d3db2c597c94d7e02446315ead7263a845

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