Time MCP Server logo

Time MCP Server

by fisher1006

The Time MCP Server provides time and timezone conversion capabilities for LLMs. It enables LLMs to get current time information and perform timezone conversions using IANA timezone names.

View on GitHub

Last updated: N/A

What is Time MCP Server?

The Time MCP Server is a Model Context Protocol server designed to provide accurate time and timezone information to Large Language Models (LLMs). It allows LLMs to access current time in various timezones and convert time between different timezones using IANA timezone names.

How to use Time MCP Server?

The server provides two main tools: get_current_time to retrieve the current time in a specified timezone and convert_time to convert a given time from one timezone to another. It can be installed using uv or pip. Configuration examples are provided for Claude and Zed, specifying the command and arguments to run the server.

Key features of Time MCP Server

  • Provides current time for specified timezone

  • Converts time between different timezones

  • Uses IANA timezone names

  • Automatic system timezone detection

  • Integration with Claude and Zed

  • Customizable system timezone

Use cases of Time MCP Server

  • Answering questions about the current time in different locations

  • Scheduling events across different timezones

  • Converting times for international communication

  • Providing time-sensitive information to users in their local timezone

  • Integrating time-based functionalities into LLM applications

FAQ from Time MCP Server

How do I specify the timezone?

Use IANA timezone names like 'America/New_York' or 'Europe/London'.

Can I use my system's timezone?

Yes, the server automatically detects your system's timezone by default.

How do I change the system timezone?

You can override the system timezone by adding the argument --local-timezone to the args list in the configuration.

What time format should I use for time conversion?

Use the 24-hour format (HH:MM).

How can I debug the server?

Use the MCP inspector to debug the server. Instructions are provided for uvx installations and development environments.