An MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.
An MCP server for timezone conversions and time-related operations, built with the Model Context Protocol standards.
To install Time Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @clssck/mcp-time-server --client claude
pip install .
Start the server:
python -m time_server
get_current_time
Get current time in a specific timezone
Parameters:
timezone
: string - IANA timezone identifier (e.g. "America/New_York")Returns:
convert_time
Convert time between timezones
Parameters:
time
: string - Time to convert in ISO 8601 formatfrom_timezone
: string - Source timezoneto_timezone
: string - Target timezoneReturns:
Install development dependencies:
pip install -e .[dev]
Run tests:
pytest
Check code quality:
ruff check . mypy src
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!