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

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

mcp_timeserver-0.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

mcp_timeserver-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_timeserver-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.5

File hashes

Hashes for mcp_timeserver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 96226122145b92a1cce9f4e77b10d912fff42665bad46a7342620c3e1007f6ed
MD5 8a1a1878ee30e47388016863caa50619
BLAKE2b-256 be3d47ab6df29147bee45c4d287328e595dfdb81a6909b7d1b2f76705cb309c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_timeserver-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4095903e2a86ede2dc65973c046a8d27a79c07620e0a0d97180b4cd8433c235d
MD5 ec2c90572380e77ac89cdf428fc2271a
BLAKE2b-256 100a2e8f35cca4976525d652b76139f5a6c0c5eb2ac0a2cbcd55bdd9182c20a4

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