AM

andybrandt/mcp-simple-timeserver

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

32 stars 15 forks 품질 80 트렌드 20MIT

andybrandt/mcp-simple-timeserver는 MCP 서버 후보자가 https://github.com/andybrandt/mcp-simple-timeserver.에서 가져온

개요

andybrandt/mcp-simple-timeserver는 MCP 서버 후보자가 https://github.com/andybrandt/mcp-simple-timeserver.에서 가져온

개요(AI 번역)

  • 낯선 디자인 결정의 하나 Anthropic 만든 claude.ai의 사용자 또는 일반적으로 현재 시간에 의해 전송 된 메시지에 대한 타임스탬프의 복제했다. Poor Claude는 그것이 무엇인지 말해 줄 수 없습니다! mcp-simple-timeserver]는 그 해결하는 간단한 MCP 서버입니다.*

사용 가능한 도구

이 서버는 다음과 같은 도구를 제공합니다:

도구 설명
get_local_time 현재 현지 시각, 주일, 시간대를 사용자의 기계에서 반환
get_utc NTP 시간 서버에서 정확한 UTC 시간을 반환
get_current_time 선택적 위치, 시간대, 달력 변환으로 현재 시간을 반환
calculate_time_distance 2일/시간(계절, 탈출 시간)
get_holidays 나라의 공휴일 및 선택적 학교 휴업 있음
is_holiday 해당 국가의 공휴일인 경우는 체크 아웃

모든 도구 (get_local_time])는 NTP 서버에서 정확한 시간을 사용합니다. NTP가 사용되지 않는 경우, 그들은 확실히 통지로 로컬 서버 시간에 다시 떨어졌다.

##[T8]]를 통한 위치 지원

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Simple Timeserver

One of the strange design decisions Anthropic made was depriving Claude of timestamps for messages sent by the user in claude.ai or current time in general. Poor Claude can’t tell what time it is! mcp-simple-timeserver is a simple MCP server that fixes that.

Available Tools

This server provides the following tools:

Tool Description
get_local_time Returns the current local time, day of week, and timezone from the user’s machine
get_utc Returns accurate UTC time from an NTP time server
get_current_time Returns current time with optional location, timezone, and calendar conversions
calculate_time_distance Calculates duration between two dates/times (countdowns, elapsed time)
get_holidays Returns public holidays (and optionally school holidays) for a country
is_holiday Checks if a specific date is a holiday in a given country or city

All tools (except get_local_time) use accurate time from NTP servers. If NTP is unavailable, they gracefully fall back to local server time with a notice.

Location Support via get_current_time

The get_current_time tool supports location parameters to get local time anywhere in the world:

Parameter Description Example
city City name (primary use case) "Warsaw", "Tokyo", "New York"
country Country name or ISO code "Poland", "JP", "United States"
timezone IANA timezone or UTC offset "Europe/Warsaw", "+05:30"

Priority: timezone > city > country. When location is provided, the response includes local time, timezone info, UTC offset, and DST status.

If today is a public holiday at the specified location, it will be shown in the output.

Calendar Support via get_current_time

The get_current_time tool also accepts an optional calendar parameter with a comma-separated list of calendar formats:

Calendar Description
unix Unix timestamp (seconds since 1970-01-01)
isodate ISO 8601 week date (e.g., 2026-W03-6)
hijri Islamic/Hijri lunar calendar
japanese Japanese Era calendar (returns both English and Kanji)
hebrew Hebrew/Jewish calendar (returns both English and Hebrew, includes holidays)
persian Persian/Jalali calendar (returns both English and Farsi)
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install mcp-simple-timeserver --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

"mcpServers": { "simple-timeserver": { "command": "python", "args": ["-m", "mcp_simple_timeserver"] } }