time-mcp
🚀 Time MCP サーバー: LLM に時間認識機能を提供する
LLM に時間認識機能を持たせることができるモデル コンテキスト プロトコル (MCP) サーバー実装。
ツール
current_time: 現在の時刻(UTCと現地時間)を取得します。relative_time: 相対時間を取得するget_timestamp: 時刻のタイムスタンプを取得するdays_in_month: 月内の日数を取得するconvert_time: タイムゾーン間の時間を変換するget_week_year: 年内の週とisoWeekを取得する
Related MCP server: Time MCP Server
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の time-mcp を自動的にインストールするには:
npx -y @smithery/cli install @yokingma/time-mcp --client claude手動でインストールする(オプション)
npm install -g time-mcpnpxを使用する
npx -y time-mcpカーソル上で実行
mcp.jsonファイルは次のようになります。
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}ウィンドサーフィンで走る
これを./codeium/windsurf/model_config.jsonファイルに追加します。
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}ライセンス
MIT ライセンス - 詳細についてはLICENSEファイルを参照してください。
Available Tools
6 toolsconvert_timeB
Convert time between timezones.
Inputs: time (required), sourceTimezone (required), targetTimezone (required).
current_timeA
Get the current date and time.
Inputs: format, timezone.
days_in_monthA
Get the number of days in a month. If no date is provided, get the number of days in the current month.
Inputs: date.
get_timestampD
Get the timestamp for the time.
Inputs: time.
get_week_yearB
Get the week and isoWeek of the year.
Inputs: date.
relative_timeC
Get the relative time from now.
Inputs: time (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct time-related operation with no overlap. convert_time, current_time, days_in_month, get_timestamp, get_week_year, and relative_time all serve unique purposes.
Names follow snake_case and are mostly descriptive, but there is slight inconsistency: some start with 'get' (get_timestamp, get_week_year) while others are adjective+noun (current_time) or verb+noun (convert_time).
Six tools is an appropriate number for a time utility server, covering essential operations without being excessive or minimal.
Common time operations are covered (conversion, current time, days in month, timestamp, week/year, relative time). Missing features like date arithmetic or time difference are minor gaps that don't hinder typical use.
Maintenance
Related MCP Connectors
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Wall-clock awareness for LLM agents. Two tools: elapsed-time-between-turns + day rollover detection.
Deterministic time tools for AI agents: timezone conversion, business-day math, cron interpretation.
Related MCP Servers
- AlicenseBqualityDmaintenanceGives large language models time awareness capabilities through various time-related functions including current time retrieval, timezone conversion, and relative time calculations.6MIT
- AlicenseBqualityDmaintenanceProvides time and timezone functionality for LLMs, enabling them to get current time information across different timezones and convert times between zones.2MIT
- AlicenseNot gradedqualityDmaintenanceProvides current time information and timezone conversion capabilities using IANA timezone names and automatic system detection. It enables LLMs to fetch current times across different regions and convert specific times between timezones.MIT
- AlicenseAqualityDmaintenanceProvides accurate system time to LLM applications with multi-timezone support via a simple tool call.1MIT