WhatTimeIsIt MCP Server

WhatTimeIsIt MCP Server

site icon
2025.03.28 7
Python时间服务其它
WhatTimeIsIt MCP Server 是一个轻量级的 MCP 服务器,用于提供当前时间的精确信息,基于 World Time API 实现。
View on GitHub

Overview

基本能力

产品定位

WhatTimeIsIt MCP Server 是一个轻量级的 MCP 服务器,用于提供当前时间的精确信息,基于 World Time API 实现。

核心功能

  • 提供当前时间的精确信息。
  • 返回的时间字符串基于用户当前的 IP 地址。

适用场景

  • 需要获取当前时间的应用程序或服务。
  • 需要基于用户 IP 地址提供本地化时间信息的场景。

工具列表

  • 工具名称: what_time_is_it
  • 描述: 返回基于用户当前 IP 的当前时间字符串。
  • 输出: ISO 8601 格式的时间字符串(例如:"2025-03-17T03:17:00+11:00")。

常见问题解答

  • 无常见问题解答信息。

使用教程

使用依赖

无明确的前置依赖说明。

安装教程

  1. 克隆仓库 bash git clone https://github.com/kukapay/whattimeisit-mcp.git

  2. 客户端配置 json { "mcpServers": { "whattimeisit": { "command": "uv", "args": ["--directory", "path/to/whattimeisit-mcp", "run", "main.py"] } } }

调试方式

无明确的调试步骤说明。

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。