time-mcp-server
7
The Time MCP Server is a Swift-based server implementing the Model Context Protocol. It provides AI assistants with functionalities to access current time and convert times across different timezones, supporting tasks like international meeting planning and remote work coordination.
Time MCP Server
A server enabling time-related functionalities through Model Context Protocol, providing LLMs with access to current time and timezone conversions. Implemented in Swift using the MCP Swift SDK.
✨ Features
- Current Time Queries: Get the current time in any timezone
- Time Zone Conversions: Convert time between different timezones
- Daylight Saving Time Information: Check if a timezone is currently in DST
- Time Difference Calculation: Calculate the time difference between timezones
Installation
- Option 1: Download Pre-built Binary for your platform
- Option 2: Build from Source
- Clone the repository
- Build using Make or Swift
Make sure the installation directory is in your PATH.
Command Line Arguments
-h, --help
: Display help information-v, --version
: Display version number-t, --transport <string>
: Transport type to use (default: "stdio")-p, --port <int>
: Port to use for SSE mode (default: 8080)-l, --local-timezone <string>
: Set a specific local timezone
Use Cases
- International Meeting Planning
- Travel Planning
- Remote Work Coordination
- Event Scheduling
- Time-Sensitive Operations
Development Requirements
- Swift 6.0 or later
- macOS 14.0 or later
- MCP Swift SDK 0.2.0 or later
Support the Project
- Star the project on GitHub
- Report bugs or suggest features
- Support via Buy me a coffee
License
MIT License