Skip to main content
Glama
time-mcp

time-mcp

时间感知服务器

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

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

Related MCP server: Temporal Awareness 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/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"
        }
      }
}

Available Tools

6 tools
convert_timeconvert_timeC

Convert time between timezones.

Inputs: sourceTimezone (required), targetTimezone (required), time (required).

current_timecurrent_timeC

Get the current date and time.

Inputs: format (required), timezone.

days_in_monthdays_in_monthA

Get the number of days in a month. If no date is provided, get the number of days in the current month.

Inputs: date.

get_timestampget_timestampD

Get the timestamp for the time.

Inputs: time.

get_week_yearget_week_yearC

Get the week and isoWeek of the year.

Inputs: date.

relative_timerelative_timeC

Get the relative time from now.

Inputs: time (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    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.

    Related MCP Connectors

    Related MCP Servers

    • 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
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that provides AI agents with comprehensive temporal awareness and time calculation capabilities.
      3
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A general-purpose MCP server providing time-related utilities such as fetching current time, Unix timestamps, and formatting services. It supports both local stdio and remote SSE communication modes for versatile AI client integration.
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Lightweight MCP server providing system time tools (current time, date, datetime, time components, unix timestamp) for LLM applications.
      1
      MIT