Skip to main content

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

Project description

Add to Cursor Add to VS Code Add to Claude Add to ChatGPT Add to Codex Add to Gemini

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

mcp_timeserver_fastmcp-0.1.1.tar.gz (12.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_timeserver_fastmcp-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_timeserver_fastmcp-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mcp_timeserver_fastmcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ddc728c1333e7804adb740f3b2129a31276283e20a6127bf6e9958dc10f3467b
MD5 09f610c5eed500743898792d4fb29210
BLAKE2b-256 c9f07baaef3140fcce35e9b186460fd20b7773eaa530d6c4769fe7eb89eb3daa

See more details on using hashes here.

File details

Details for the file mcp_timeserver_fastmcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_timeserver_fastmcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad776cd87b394b05507b166de13c35d74dd62aa597b9e56189decb6014a4ce73
MD5 474d09af7ef834d82c07d61ec4c3d9cd
BLAKE2b-256 64860878545de8fc2a061cb0b5d05f92044348b38a3f2dc9b5cc28bbf96d21a7

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