An MCP-compliant server offering timezone conversions, current time retrieval in any timezone, and time-related operations via type-safe Python RESTful APIs with comprehensive error handling.
Unlock the full potential of Time Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
Discover shared experiences
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
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!