MCP Hub
Back to servers

time-mcp

A specialized MCP server providing comprehensive time-aware capabilities including timezone conversion, relative time calculations, and timestamp management for LLMs.

Stars
2
Tools
6
Updated
Jan 9, 2026
Validated
Feb 21, 2026

时间感知服务器

Time MCP Server是一个为大型语言模型提供时间感知能力的服务器实现,支持获取当前时间、相对时间、时间戳转换等功能。 Time MCP Server is a server implementation that provides time aware capabilities for large language models, supporting functions such as obtaining current time, relative time, and timestamp conversion.## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool描述 Description
current_timeGet the current date and time.
relative_timeGet the relative time from now.
days_in_monthGet the number of days in a month. If no date is provided, get the number of days in the current month.
get_timestampGet the timestamp for the time.
convert_timeConvert time between timezones.
get_week_yearGet the week and isoWeek of the year.

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777316659687427

Online Tool test https://mcp.xiaobenyang.com/inspector/1777316659687427

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "时间感知服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659687427/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "时间感知服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659687427/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "时间感知服务器": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659687427",
          },
          "transport": "stdio"
        }
      }
}

Reviews

No reviews yet

Sign in to write a review