Skip to main content
Glama
Time Server

Time Server

by clssck

Time Server

MCP Python License

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 claude

Manual Installation

pip install .

Usage

Start the server:

python -m time_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 format

  • from_timezone: string - Source timezone

  • to_timezone: string - Target timezone

Returns:

  • Converted time in ISO 8601 format

Development

Install development dependencies:

pip install -e .[dev]

Run tests:

pytest

Check code quality:

ruff check .
mypy src

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A 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.
      4
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A minimal MCP server that provides current time information with configurable timezone support set on the client side.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP 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.
      2
      6
      443 npm
      3
      MIT