Skip to main content

An MCP server for providing the current date/time to LLMs

Project description

MCP-timeserver

A simple MCP server that exposes datetime information to agentic systems and chat REPLs

MCP-timeserver MCP server

Components

Resources

The server implements a simple datetime:// URI scheme for accessing the current date/time in a given timezone, for example:

datetime://Africa/Freetown/now
datetime://Europe/London/now
datetime://America/New_York/now

Tools

The server exposes a tool to get the current local time in the system timezone:

>>> get_current_time()
"The current time is 2024-12-18 19:59:36"

Quickstart

Install

use the following json

{
  "mcpServers": {
    "MCP-timeserver": {
      "command": "uvx",
      "args": ["MCP-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

iflow_mcp_mcp_timeserver-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

iflow_mcp_mcp_timeserver-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_timeserver-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_timeserver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 acb9f7f1b85ca2e030a75b3d2158b56054d12db33fe71a0917dd49bf43954bd1
MD5 0b4e53fbb5f4fe4dd4efda90100bff3e
BLAKE2b-256 67e2acd26d362d3ff95236697878cdef64a2487578ceaae5e192759efb7965a8

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_timeserver-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_timeserver-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c37dd63d2389d472f5df66ae3d15ae7f5b45ac057ad92ffba94320e837b09d55
MD5 92345da5b04b227c053a0b3c0740b60b
BLAKE2b-256 adb91fcfa4ef2abbff0694c8a025b7e8b10a6e2d771791fa63bb72f5ccdc8f88

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