Adheres to the Contributor Covenant code of conduct for project participation and contribution guidelines.
Uses Pytest for running tests on the time server implementation.
Built with Python 3.10+, providing a type-safe implementation for time-related operations.
Utilizes Ruff for code quality checks during development.
Displays status badges generated by Shields.io to show project metadata.
Time Server
An MCP server for timezone conversions and time-related operations, built with the Model Context Protocol standards.
Table of Contents
Features
Get current time in any timezone
Convert time between timezones
Built with MCP protocol standards
Type-safe Python implementation
RESTful API endpoints
Comprehensive error handling
Timezone database integration
Installation
Installing via Smithery
To install Time Server for Claude Desktop automatically via Smithery:
Manual Installation
Usage
Start the server:
API Documentation
Tools
get_current_time
Get current time in a specific timezone
Parameters:
timezone: string - IANA timezone identifier (e.g. "America/New_York")
Returns:
Current time in ISO 8601 format
convert_time
Convert time between timezones
Parameters:
time: string - Time to convert in ISO 8601 formatfrom_timezone: string - Source timezoneto_timezone: string - Target timezone
Returns:
Converted time in ISO 8601 format
Development
Install development dependencies:
Run tests:
Check code quality:
Code of Conduct
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.
License
MIT
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that allows checking local time on the client machine or current UTC time from an NTP serverLast updated -225MIT License
- -securityFlicense-qualityAn MCP server that allows users to get global time information via Interzoid's GetGlobalTime API, enabling access to time data across different regions through natural language.Last updated -
- -securityFlicense-qualityA simple Model Context Protocol (MCP) server that provides date and time functionality in any timezone, along with user profiles and personalized greeting resources.Last updated -
- AsecurityFlicenseAqualityAn MCP server that automatically detects and provides current time and location information based on system timezone and IP geolocation.Last updated -2