Skip to main content
Glama

Time Server

smithery badge MCP Python License

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:

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

-
security - not tested
F
license - not found
-
quality - not tested

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    An MCP server that allows checking local time on the client machine or current UTC time from an NTP server
    Last updated -
    2
    25
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    An 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 -
  • -
    security
    F
    license
    -
    quality
    A 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 -
    • Linux
    • Apple
  • A
    security
    F
    license
    A
    quality
    An MCP server that automatically detects and provides current time and location information based on system timezone and IP geolocation.
    Last updated -
    2
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clssck/mcp-time-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server