date
# 日期时间服务
一个为AI助手提供实时日期、时间和时区信息的MCP服务器。
An MCP server that provides real-time date, time and time zone information for AI assistants.## 工具列表 Tool List
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。
| 工具 Tool | 描述 Description |
|-------|--------------------|
| get-current-datetime | Returns the current date and time. Optionally specify a timezone. |
| get-day-of-week | Returns the day of the week for a given date or today. |
| get-timezone-info | Returns information about the current or specified timezone. |
| format-date | Format a date in various styles (short, medium, long, full). |
## 检查服务 ## Inspector
工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659373059](https://mcp.xiaobenyang.com/inspector/1777316659373059)
Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659373059](https://mcp.xiaobenyang.com/inspector/1777316659373059)
## 服务配置 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/1777316659373059/sse"
}
}
}
```
### STREAMABLE HTTP
```json
{
"mcpServers": {
"日期时间服务": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777316659373059/mcp"
}
}
}
```
### STDIO
```json
{
"mcpServers": {
"日期时间服务": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777316659373059",
},
"transport": "stdio"
}
}
}
```
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap. format-date handles date formatting, get-current-datetime provides current time, get-day-of-week calculates weekdays, and get-timezone-info manages timezone data. The descriptions make it impossible to confuse these tools.
All tools follow a consistent verb-object naming pattern using kebab-case (e.g., format-date, get-current-datetime). The pattern is perfectly maintained across all four tools with no deviations.
Four tools is an ideal number for a date/time utility server. Each tool serves a unique, essential function in the domain without redundancy, making the set well-scoped and manageable.
The toolset covers core date/time operations well: current time retrieval, formatting, weekday calculation, and timezone information. A minor gap exists in date arithmetic (e.g., add/subtract days) or parsing, but agents can work around this with the existing tools.