Skip to main content
Glama

日期时间服务

一个为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

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

Related MCP server: Time & Location MCP Server

服务配置 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/1777316659373059/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "日期时间服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659373059/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "日期时间服务": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659373059",
          },
          "transport": "stdio"
        }
      }
}

Available Tools

4 tools
format-dateformat-dateC

Format a date in various styles (short, medium, long, full).

Inputs: date, style, locale.

get-current-datetimeget-current-datetimeB

Returns the current date and time. Optionally specify a timezone.

Inputs: timezone.

get-day-of-weekget-day-of-weekC

Returns the day of the week for a given date or today.

Inputs: date, locale.

get-timezone-infoget-timezone-infoC

Returns information about the current or specified timezone.

Inputs: timezone.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Claude Model Configuration Protocol (MCP) server that provides real-time timezone-aware date and time information.
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      An MCP server that automatically detects and provides current time and location information based on system timezone and IP geolocation.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      The Time MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized tools to perform time and date-related operations. This server acts as a bridge between AI tools and a robust time-handling back
      167 npm
      25
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A MCP server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion.
      4
      5
      MIT