Skip to main content
Glama
samay58

Time MCP

by samay58

時間-MCP

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

特徴

  • 任意のIANAタイムゾーンで現在の時刻を取得します

  • MCP による Claude AI との簡単な統合

  • Pythonのzoneinfoモジュールを使用した包括的なタイムゾーンサポート

  • ISO形式のシンプルなJSONレスポンス

Related MCP server: MCP Node Time

インストール

# 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ライブラリ

ライセンス

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

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A simple MCP server that provides accurate date and time information to Claude models, ensuring they always use the correct current date and time when creating time-sensitive content.
    3
    -
  • 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
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides real-time date, time and time zone information for AI assistants.
    4
    2
    Apache 2.0
  • 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.
    -