The MCP Simple Timeserver enables Claude to access accurate time information through two key capabilities:
- Get Local Time and Timezone: Retrieve the current local time and timezone details from the user's machine, helping Claude understand the user's local context.
- Get UTC Time from NTP Server: Fetch precise Coordinated Universal Time (UTC) from an NTP server, with the option to specify a custom NTP server address for universal time reference.
MCP Simple Timeserver
One of the strange design decisions Anthropic made was depriving Claude of timestamps for messages sent by the user or current time in general. Poor Claude can't tell what time it is! mcp-simple-timeserver
is a simple MCP server that fixes that.
This server provides two tools:
get_local_time
provides the current local time and timezone information from the user's machine. This way Claude can know what time it is at the user's location. He can also calculate how much time passed since his last interaction with the user should he want to do so.get_utc
provides current UTC time obtained from an NTP time server.
Installation
Installing via Smithery
To install Simple Timeserver for Claude Desktop automatically via Smithery:
Manual Installation
First install the module using:
Then configure in MCP client - the Claude desktop app.
Under Mac OS this will look like this:
Under Windows you have to check the path to your Python executable using where python
in the cmd
(Windows command line).
Typical configuration would look like this:
Web Server Variant
This project also includes a network-hostable version that can be deployed as a standalone web server. For instructions on how to run and deploy it, please see the Web Server Deployment Guide.
Or you can simply use my server by adding it under https://mcp.andybrandt.net/timeserver to Claude. (It does not work with ChatGPT since it currently works only with MCP servers that implement search()
and fetch()
tools to serve data in response to LLM's querries).
local-only server
The server can only run on the client's local machine because it depends on local resources.
An MCP server that allows checking local time on the client machine or current UTC time from an NTP server
Related MCP Servers
- -securityFlicense-qualityAn MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.Last updated -Python
- AsecurityAlicenseAqualityA lightweight mcp server that tells you exactly what time is it based on your IP.Last updated -18PythonMIT License
- AsecurityFlicenseAqualityAn MCP server that automatically detects and provides current time and location information based on system timezone and IP geolocation.Last updated -2JavaScript
- -securityAlicense-qualityThe Time MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized tools to perform time and date-related operations. This server acts as a bridge between AI tools and a robust time-handling backLast updated -6GoMIT License