Back to MCP directory
publicPublicdnsLocal runtime

whattimeisit-mcp

一个轻量级的MCP服务器,通过World Time API提供当前时间信息。

article

README

🚀 WhatTimeIsIt MCP 服务器

WhatTimeIsIt MCP 服务器是一个轻量级的MCP服务器,它能借助 世界时间 为你提供确切的时间。

GitHub GitHub 最后提交

🚀 快速开始

📦 安装指南

1. 克隆仓库

git clone https://github.com/kukapay/whattimeisit-mcp.git

2. 客户端配置

{
  "mcpServers": {
    "whattimeisit": {
      "command": "uv",
      "args": ["--directory", "path/to/whattimeisit-mcp", "run", "main.py"]
    }
  }
}

💻 使用示例

基础用法

该服务器提供一个工具:

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

📄 许可证

该项目在MIT License下授权。有关详细信息,请参阅LICENSE文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client