Time Server
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Time Serverwhat time is it in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Time Server
An MCP server for timezone conversions and time-related operations, built with the Model Context Protocol standards.
Table of Contents
Related MCP server: MCP Time Server
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:
npx -y @smithery/cli install @clssck/mcp-time-server --client claudeManual Installation
pip install .Usage
Start the server:
python -m time_serverAPI 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:
pip install -e .[dev]Run tests:
pytestCheck code quality:
ruff check .
mypy srcCode of Conduct
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Timezone MCP — wraps WorldTimeAPI (free, no auth)
- mcp-serverOAuthio.klokin
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.
MCP server providing attendance data queries via the CloudTime API.
Related MCP Servers
- AlicenseAqualityDmaintenanceA MCP server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion.44MIT
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server that provides current time information with configurable timezone support set on the client side.-
- FlicenseNot gradedqualityDmaintenanceA hosted MCP server providing current time, date, and timezone conversion tools specifically designed for Claude Code remote sessions. It enables users to fetch localized time data and convert times between IANA timezones through a centralized API.-
- AlicenseAqualityFmaintenanceMCP server providing various date/time functions including current time, timezone conversion, and relative time calculations. Supports both local stdio and remote HTTP access via Cloudflare Workers.6300 npm2MIT