Skip to main content
Glama

Time MCP Server

by ConechoAI

시간 MCP 서버

시간 및 시간대 변환 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버를 통해 LLM은 현재 시간 정보를 가져오고 IANA 시간대 이름을 사용하여 시간대 변환을 수행할 수 있으며, 시스템 시간대 자동 감지 기능을 사용할 수 있습니다.

사용 가능한 도구

  • get_current_time - 특정 시간대 또는 시스템 시간대의 현재 시간을 가져옵니다.
    • 필수 인수:
      • timezone (문자열): IANA 시간대 이름(예: 'America/New_York', 'Europe/London')
  • convert_time - 시간대 간의 시간을 변환합니다.
    • 필수 인수:
      • source_timezone (문자열): 소스 IANA 시간대 이름
      • time (문자열): 24시간 형식(HH)의 시간
      • target_timezone (문자열): 대상 IANA 시간대 이름

설치

uv 사용(권장)

uv 사용하면 별도의 설치가 필요하지 않습니다. uvx 사용하여 mcp-server-time을 직접 실행합니다.

PIP 사용

또는 pip를 통해 time-mcp-local 설치할 수 있습니다.

지엑스피1

설치 후 다음을 사용하여 스크립트로 실행할 수 있습니다.

python -m time-mcp-local

구성

Claude.app에 대한 구성

Claude 설정에 추가:

"mcpServers": { "time": { "command": "uvx", "args": ["time-mcp-local"] } }
"mcpServers": { "time": { "command": "python", "args": ["-m", "time_mcp_local"] } }

Zed에 대한 구성

Zed settings.json에 다음을 추가합니다.

"context_servers": [ "mcp-server-time": { "command": "uvx", "args": ["time-mcp-local"] } ],
"context_servers": { "mcp-server-time": { "command": "python", "args": ["-m", "time_mcp_local"] } },

사용자 정의 - 시스템 시간대

기본적으로 서버는 시스템의 시간대를 자동으로 감지합니다. 설정 파일의 args 목록에 --local-timezone 인수를 추가하여 이 설정을 재정의할 수 있습니다.

예:

{ "command": "python", "args": ["-m", "time_mcp_local", "--local-timezone=America/New_York"] }

예시 상호작용

  1. 현재 시간 가져오기:
{ "name": "get_current_time", "arguments": { "timezone": "Europe/Warsaw" } }

응답:

{ "timezone": "Europe/Warsaw", "datetime": "2024-01-01T13:00:00+01:00", "is_dst": false }
  1. 시간대 간 시간 변환:
{ "name": "convert_time", "arguments": { "source_timezone": "America/New_York", "time": "16:30", "target_timezone": "Asia/Tokyo" } }

응답:

{ "source": { "timezone": "America/New_York", "datetime": "2024-01-01T12:30:00-05:00", "is_dst": false }, "target": { "timezone": "Asia/Tokyo", "datetime": "2024-01-01T12:30:00+09:00", "is_dst": false }, "time_difference": "+13.0h", }

디버깅

MCP 검사기를 사용하여 서버를 디버깅할 수 있습니다. UVX 설치의 경우:

npx @modelcontextprotocol/inspector uvx time-mcp-local

또는 특정 디렉토리에 패키지를 설치했거나 해당 디렉토리에서 개발 중인 경우:

cd path/to/servers/src/time npx @modelcontextprotocol/inspector uv run time-mcp-local

클로드에 대한 질문의 예

  1. "지금 몇 시야?" (시스템 시간대 사용)
  2. "도쿄는 지금 몇 시야?"
  3. "뉴욕이 오후 4시일 때, 런던은 몇 시입니까?"
  4. "도쿄 시간 오전 9시 30분을 뉴욕 시간으로 변환"

짓다

uv build --wheel uv publish --token xxx
Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

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

IANA 시간대 이름을 사용하여 LLM이 현재 시간 정보를 얻고 시간대 변환을 수행할 수 있도록 하는 시간 및 시간대 변환 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 사용 가능한 도구
    1. 설치
      1. uv 사용(권장)
      2. PIP 사용
    2. 구성
      1. Claude.app에 대한 구성
      2. Zed에 대한 구성
      3. 사용자 정의 - 시스템 시간대
    3. 예시 상호작용
      1. 디버깅
        1. 클로드에 대한 질문의 예
          1. 짓다

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A TypeScript server that provides time-related tools through the Model Context Protocol, allowing users to get current time in various timezones and convert times between different IANA timezones.
              Last updated -
              MIT License
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server for time manipulation tasks, enabling AI models to get the current date/time and calculate duration between timestamps.
              Last updated -
              7
              2
              MIT License
              • Apple
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides tools to get the current date and time in various formats, supporting different timezones and custom formatting options.
              Last updated -
              1
              7
            • 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

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

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