Skip to main content
Glama

Time Server

by clssck

タイムサーバー

MCPパイソンライセンス

モデル コンテキスト プロトコル標準に基づいて構築された、タイムゾーン変換および時間関連の操作用の MCP サーバー。

目次

特徴

  • 任意のタイムゾーンの現在の時刻を取得します
  • タイムゾーン間の時間を変換する
  • MCPプロトコル標準に準拠
  • 型安全なPython実装
  • RESTful APIエンドポイント
  • 包括的なエラー処理
  • タイムゾーンデータベース統合

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop のタイム サーバーを自動的にインストールするには:

npx -y @smithery/cli install @clssck/mcp-time-server --client claude

手動インストール

pip install .

使用法

サーバーを起動します。

python -m time_server

APIドキュメント

ツール

get_current_time

特定のタイムゾーンの現在の時刻を取得する

パラメータ:

  • timezone : 文字列 - IANAタイムゾーン識別子(例:"America/New_York")

戻り値:

  • ISO 8601形式の現在の時刻
convert_time

タイムゾーン間の時間を変換する

パラメータ:

  • time : 文字列 - ISO 8601形式で変換する時間
  • from_timezone : 文字列 - ソースタイムゾーン
  • to_timezone : 文字列 - ターゲットタイムゾーン

戻り値:

  • ISO 8601形式で変換された時間

発達

開発依存関係をインストールします。

pip install -e .[dev]

テストを実行します:

pytest

コードの品質を確認する:

ruff check . mypy src

行動規範

このプロジェクトは、貢献者行動規範に準拠しています。参加される方は、この規範を遵守していただく必要があります。

ライセンス

マサチューセッツ工科大学

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

包括的なエラー処理とタイムゾーン データベース統合を特徴とする、RESTful API エンドポイントを介してタイムゾーン変換と時間関連の操作を提供する MCP サーバーです。

  1. 目次
    1. 特徴
      1. インストール
        1. Smithery経由でインストール
        2. 手動インストール
      2. 使用法
        1. APIドキュメント
          1. ツール
        2. 発達
          1. 行動規範
            1. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An MCP server that allows checking local time on the client machine or current UTC time from an NTP server
                Last updated -
                14
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                A TypeScript server implementing the Model Context Protocol (MCP) that provides datetime and timezone information to AI agents and chat interfaces, allowing them to access current time in various timezones.
                Last updated -
                4
                2
                TypeScript
                Mozilla Public License 2.0
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.
                Last updated -
                2
                1
                Python
              • -
                security
                A
                license
                -
                quality
                A lightweight mcp server that tells you exactly what time is it based on your IP.
                Last updated -
                8
                Python
                MIT License

              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