get_current_time_utcLABSCO SUMMARY
A clock, installed once.
The point is not the tool but where it lives: the setup the README leads with is the global Cursor config, so every project gets a real UTC reading without another server entry. Three formats cover the usual needs — a timestamp for logs, ISO for records, plain datetime for prose.
What it is
A small MCP server that returns the current UTC time. It exists so an assistant working in an editor can read a real clock — ISO 8601, a human-readable datetime, or a Unix timestamp — instead of inferring the date from context.
What you get
- The current UTC time in a chosen format —
get_current_time_utc - Three
formatvalues:iso(the default,2025-01-15T10:30:45Z),datetime(2025-01-15 10:30:45) andtimestamp(1736939445) - A global Cursor setup —
~/.cursor/mcp.jsonon macOS and Linux — so the server is present in every project rather than per-repository
Requirements
Python 3.8 or higher and pip install -e .. The server runs as python -m mcp_time_server.server or through the installed mcp-time-server script, and the Cursor entry sets cwd and PYTHONPATH to the checkout's src directory. Nothing to authorize. The project is mcp-time-server 0.1.0.
Setup effort
Build from source — git clone https://github.com/elimS2/mcp-time-server.git
USE CASES
Stamping a note or changelog entry
Ask for ISO time and paste a real timestamp instead of an approximate date.
Working out how long ago something happened
Read the current Unix timestamp and compare it against one already in your data.
Keeping every project on the same clock
Install once in the global Cursor config so the assistant has UTC in any repository you open.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
- python on PATH
- Python 3.8 or higher
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
git clone https://github.com/elimS2/mcp-time-server.git
cd mcp-time-server
pip install -e .Then add the Cursor entry below; <YOUR_PATH_TO_MCP_TIME_SERVER> is the folder you cloned — Cursor starts the server itself.
MCP Clients
Cursor
{
"mcpServers": {
"time-server": {
"command": "python",
"args": [
"-m",
"mcp_time_server.server"
],
"cwd": "<YOUR_PATH_TO_MCP_TIME_SERVER>/src",
"env": {
"PYTHONPATH": "<YOUR_PATH_TO_MCP_TIME_SERVER>/src"
}
}
}
}