Time & Astronomy

Current time by timezone, astronomy events, and moon phases

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
90%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~397token 数(工具定义)
~978 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.31%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "time": {
      "url": "https://time.memoryapi.org/mcp"
    }
  }
}

远程端点

https://time.memoryapi.org/mcpstreamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_current_time(timezone, format)

Get the current time in any timezone. Returns local datetime, UTC datetime, unix epoch, UTC offset, DST status, day of week, day of year, and week number.

输入模式

{
  "type": "object",
  "properties": {
    "timezone": {
      "type": "string",
      "description": "IANA timezone name (e.g. America/New_York, Europe/London, Asia/Tokyo). Defaults to UTC.",
      "default": "UTC"
    },
    "format": {
      "type": "string",
      "description": "Response format: iso (datetime only), unix (epoch only), both (default)",
      "default": "both"
    }
  }
}
🟢get_astronomy(lat, lon, date, tz)

Get sunrise, sunset, and twilight times for any location using US Naval Observatory data. Also returns moonrise and moonset.

输入模式

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "description": "Latitude (default: 40.7128 — New York City)",
      "default": 40.7128
    },
    "lon": {
      "type": "number",
      "description": "Longitude (default: -74.0060 — New York City)",
      "default": -74.006
    },
    "date": {
      "type": "string",
      "description": "Date in YYYY-MM-DD format (default: today)"
    },
    "tz": {
      "type": "number",
      "description": "UTC offset in hours (e.g. -5 for EST, 1 for CET). Default: 0 (UTC)",
      "default": 0
    }
  }
}
🟢get_moon_phases(date, count)

Get upcoming moon phases (New Moon, First Quarter, Full Moon, Last Quarter) and current moon illumination percentage from the US Naval Observatory.

输入模式

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Start date in YYYY-MM-DD format (default: today)"
    },
    "count": {
      "type": "number",
      "description": "Number of phases to return (default: 4, max: 99)",
      "default": 4
    }
  }
}

推荐提示词

retrieve_data
Get details about [item] from Time & Astronomy
预期工具: get_current_time
fetch_info
Fetch [information type] using Time & Astronomy
预期工具: get_current_time

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具