Skip to main content
Glama

Time MCP

by samay58

時間-MCP

リアルタイムのタイムゾーンを考慮した日付と時刻情報を提供する Claude Model Configuration Protocol (MCP) サーバー。

特徴

  • 任意のIANAタイムゾーンで現在の時刻を取得します
  • MCP による Claude AI との簡単な統合
  • Pythonのzoneinfoモジュールを使用した包括的なタイムゾーンサポート
  • ISO形式のシンプルなJSONレスポンス

インストール

# Clone the repository git clone https://github.com/yourusername/time-mcp.git cd time-mcp # Set up virtual environment (using uv) uv venv source .venv/bin/activate # Install the package pip install -e .

使用法

サーバーの実行

python -m src.time_mcp.server

これにより、MCP サーバーがローカルで起動し、Claude が時間ツールを使用できるようになります。

利用可能なツール

  • get_current_time : 指定されたタイムゾーンの現在の時刻を返します
    • パラメータ: timezone (文字列) - 有効な IANA タイムゾーン (例: "America/New_York"、"Europe/London"、"Asia/Tokyo")
    • デフォルト: タイムゾーンが指定されていない場合は「UTC」

発達

# Run tests pytest tests/ # Lint code ruff check . # Format code ruff format .

要件

  • Python 3.10以上
  • MCPライブラリ

ライセンス

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

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

リアルタイムのタイムゾーンを考慮した日付と時刻情報を提供する Claude Model Configuration Protocol (MCP) サーバー。

  1. 特徴
    1. インストール
      1. 使用法
        1. サーバーの実行
        2. 利用可能なツール
      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
            • -
              security
              F
              license
              -
              quality
              An MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.
              Last updated -
              Python
            • 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

            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/samay58/time-mcp'

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