get_current_timeLABSCO SUMMARY
Configured once, not argued about per call.
That is the trade against time servers that take a format argument on every call: you lose the flexibility, and you gain consistency — every timestamp in a session looks the same, because the model cannot choose differently on the second call. If you want Tokyo time in ISO form throughout, set it and stop thinking about it. If you need two formats in one session, this is the wrong shape and a per-call server is the right one.
What it is
A small Python MCP server that answers with the current date and time. A model has no clock, so anything that needs "now" needs a tool; this one is configured through environment variables rather than per call, so every answer comes back in the shape you set.
What you get
- The current time in the configured format —
get_current_time - Seven output formats via
DATETIME_FORMAT:iso,unixseconds,unix_msmilliseconds,human,dateonly,timeonly, orcustom - A custom format built from Python strftime codes in
DATE_FORMAT_STRING, defaulting to%Y-%m-%d %H:%M:%S - Any timezone through
TIMEZONE, defaulting to UTC — so a server configured forAsia/Tokyoanswers in Tokyo time without the model doing offset arithmetic
Requirements
Nothing — no account, no key, no network. Launch with uvx takanarishimbo-datetime-mcp-server; the package is takanarishimbo-datetime-mcp-server (version 0.3.0) over stdio. Configuration is entirely by environment variables in your client's config block, so changing the output format means editing that block and restarting the client rather than passing an argument.
Setup effort
One command — uvx takanarishimbo-datetime-mcp-server
USE CASES
Giving a model an actual clock
Let it ask for the current time instead of guessing a date from its training data.
Keeping timestamps consistent through a session
Set the format once so every timestamp the assistant writes into logs or notes has the same shape.
Working in a timezone that is not UTC
Set the timezone in the config and get local answers, rather than converting from UTC in your head each time.
Matching an existing log format
Use the custom format with strftime codes so the times it produces line up with the ones already in your files.
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
uvx on PATH
INSTALLATION
Connect your client
Add the block to your client, or run the command directly.
Server setup
Configuration file
{
"mcpServers": {
"datetime": {
"command": "uvx",
"args": [
"takanarishimbo-datetime-mcp-server"
]
}
}
}uvx
uvx takanarishimbo-datetime-mcp-server