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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_timeserver_fastmcp-0.1.1.tar.gz.
File metadata
- Download URL: mcp_timeserver_fastmcp-0.1.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddc728c1333e7804adb740f3b2129a31276283e20a6127bf6e9958dc10f3467b
|
|
| MD5 |
09f610c5eed500743898792d4fb29210
|
|
| BLAKE2b-256 |
c9f07baaef3140fcce35e9b186460fd20b7773eaa530d6c4769fe7eb89eb3daa
|
File details
Details for the file mcp_timeserver_fastmcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_timeserver_fastmcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad776cd87b394b05507b166de13c35d74dd62aa597b9e56189decb6014a4ce73
|
|
| MD5 |
474d09af7ef834d82c07d61ec4c3d9cd
|
|
| BLAKE2b-256 |
64860878545de8fc2a061cb0b5d05f92044348b38a3f2dc9b5cc28bbf96d21a7
|