About mcp-timeserver
mcp-timeserver is an MCP server for agentic systems and chat REPLs that need date and time information. It provides timezone-based datetime resources and a tool for the system's local time.
Key features
- 01Timezone-based datetime resources
- 02Current system-local time tool
Use cases
- 01Read the current time in a specified timezone
- 02Retrieve the system's local time
MCP support
Exposes datetime:// resources for current time in a given timezone and a tool that returns the system's current local time to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP-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"]
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.