Skip to main content
Glama
xiaobenyang-com

time-mcp

README.md
# 时间感知服务器 

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_time | Get the current date and time. |
| relative_time | Get the relative time from now. |
| days_in_month | Get the number of days in a month. If no date is provided, get the number of days in the current month. |
| get_timestamp | Get the timestamp for the time. |
| convert_time | Convert time between timezones. |
| get_week_year | Get the week and isoWeek of the year. |


## 检查服务 ## Inspector

工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659687427](https://mcp.xiaobenyang.com/inspector/1777316659687427)

Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659687427](https://mcp.xiaobenyang.com/inspector/1777316659687427)

## 服务配置 MCP Server Config


> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.

### SSE
```json
{
  "mcpServers": {
    "时间感知服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659687427/sse"
    }
  }
}
```
### STREAMABLE HTTP
```json
{
  "mcpServers": {
    "时间感知服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659687427/mcp"
    }
  }
}
```
### STDIO
```json
{
    "mcpServers": {
        "时间感知服务器": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659687427",
          },
          "transport": "stdio"
        }
      }
}

```

TDQS

B3/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: converting timezones, getting current time, calculating days in a month, generating timestamps, determining week/year, and computing relative time. The descriptions are specific enough to prevent confusion between tools.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (e.g., convert_time, get_timestamp), but 'current_time' and 'relative_time' deviate slightly by using adjectives instead of verbs. The naming is still readable and predictable overall.

Tool Count5/5

With 6 tools, the server is well-scoped for time-related operations. Each tool serves a unique and useful function, avoiding bloat while covering common time manipulation needs effectively.

Completeness4/5

The toolset covers core time operations like conversion, current time, and relative calculations, but lacks explicit CRUD for time data (e.g., scheduling or event management). Minor gaps exist, but agents can work around them for most time-related tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues