time-mcp-server
0
The Time MCP Server is a Model Context Protocol server designed to provide time-related functionalities to Large Language Models, featuring configurable datetime formats and timezone settings. It facilitates seamless integration with Claude Desktop using stdio transport.
Time MCP Server
A Model Context Protocol (MCP) server offering time-related tools for Large Language Models, built with FastMCP 2.0.
Features
- Provides tools to get the current time and the components of current time.
- Configurable time formats and timezones.
Prerequisites
- Python 3.12 or higher
- uv for Python package management
- Task for running common commands
Installation
- Clone the repository
- Setup virtual environment
- Install package in development mode using Task
Usage
- Run the server using stdio or HTTP transport
- Available tools include
get_current_time
andget_time_components
Connecting to Claude Desktop
- Easy setup with stdio transport support
Development
- Format code with
task format
- Run tests with
task test