返回市场
现在是什么时间-mcp

现在是什么时间-mcp

作者:kukapay9 星标更新:2025-05-08

项目介绍

WhatTimeIsIt MCP Server

smithery 徽章 一个轻量级的MCP服务器,能够准确地告诉你当前的时间,由World Time提供支持。

GitHub GitHub 最后一次提交

安装

通过 Smithery 安装

要通过 Smithery 自动安装 WhatTimeIsIt for Claude Desktop:

npx -y @smithery/cli install @kukapay/whattimeisit-mcp --client claude

手动安装

  1. 克隆仓库

    git clone https://github.com/kukapay/whattimeisit-mcp.git
    
  2. 客户端配置

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

使用方法

MCP 工具

该服务器提供了一个单一工具:

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

许可证

本项目采用MIT许可证。详情见LICENSE文件。