MCP.so
登录
T

Time MCP Server

@TheoBrigitte

基本信息

分类

生产力

传输方式

stdio

作者

TheoBrigitte

提交者

Théo Brigitte

关于 Time MCP Server

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 backend, allowing for compl

#time#date#datetime#timezone#natural-language#relative-time#convert-timezone#current-time#add-time#compare-time

Time MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "time": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "theo01/mcp-time:latest"
      ]
    }
  }
}

Time MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Time?

Time is a Model Context Protocol (MCP) server that provides AI assistants with standardized tools for time and date operations. It acts as a bridge between AI tools and a robust time-handling backend, enabling natural language interactions for time manipulation.

How to use Time?

Install the server using Docker (docker run --rm -i theo01/mcp-time:latest), download the binary from releases, or build from source. Run it with mcp-time for stdio transport, or mcp-time --transport stream --address "http://localhost:8080/mcp" for HTTP stream.

Key features of Time

  • Get current time in any timezone and format
  • Convert times between timezones
  • Add or subtract durations from a given time
  • Compare two times, returning -1, 0, or 1
  • Understand natural language expressions (e.g., "yesterday", "next month")
  • Supports both stdio and HTTP stream transports

Use cases of Time

  • An AI assistant displays the current time in a user's local timezone
  • A scheduling tool converts meeting times across global timezones
  • A planner adds a duration (e.g., "2h30m") to a starting time
  • A comparison tool determines if one event occurs before another
  • A date parser interprets relative phrases like "5 minutes ago"

常见问题

1

What tools does the Time MCP server provide?

It provides five tools: `current_time`, `relative_time`, `convert_timezone`, `add_time`, and `compare_time`. Each accepts parameters like timezone, format, and natural language strings.

2

How can I install the Time MCP server?

You can run it via Docker (`docker run --rm -i theo01/mcp-time:latest`), download a pre-built binary from the releases page, install it with `go install`, or build from source using `make install`.

3

What transports are supported?

Two transports are supported: `stdio` (default, for local integration) and `stream` (for HTTP server access on a configurable address).

4

Can I use natural language for time expressions?

Yes. The `relative_time` tool accepts natural language strings like "yesterday", "5 minutes ago", or "next month", and can optionally use a reference time and timezone.

5

Does Time support custom time formats?

Yes. Many tools accept a `format` parameter that can be a predefined format (e.g., `RFC3339`, `Kitchen`) or a custom Go layout string.

评论

生产力 分类下的更多 MCP 服务器