Time
OfficialMCP server for time and timezone operations.
claude mcp add --transport stdio modelcontextprotocol-server-time npx -y @modelcontextprotocol/server-time
How to use
The Time MCP server is specifically designed for handling time and timezone operations, making it an essential utility for developers who need to manage date and time data efficiently. With capabilities like retrieving the current time in any specified timezone and converting time between different timezones, you can easily incorporate accurate time handling into your applications.
Once connected to the Time MCP server, you can interact with it using the available tools: get_current_time and convert_time. To retrieve the current time, simply invoke the get_current_time tool with your desired timezone. For converting time, use the convert_time tool by providing the source time, the source timezone, and the target timezone. This allows you to perform precise time manipulations tailored to your application's needs.
How to install
To get started with the Time MCP server, ensure you have Node.js installed on your machine. You can then quickly set up the server using one of the following methods:
Option A: Quick start with npx
npx -y @modelcontextprotocol/server-time
Option B: Global install alternative
npm install -g @modelcontextprotocol/server-time
Once installed, you can start using the server in your projects.
Additional notes
For optimal performance, ensure that your server environment has access to accurate timezone data. You may want to configure environment variables for default timezones, particularly if your application operates across multiple regions. Common issues include not accounting for daylight saving time changes, so be sure to test your time conversions thoroughly.
Available tools
get_current_time
Get current time in a timezone
convert_time
Convert time between timezones