MCP.so
登录

MCP Time Service

@GregBaugues

关于 MCP Time Service

MCP Server for the Current Date and Time

基本信息

分类

生产力

运行时

python

传输方式

stdio

发布者

GregBaugues

配置

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

{
  "mcpServers": {
    "mcp-time-gregbaugues": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

工具

3

Returns the current time in the specified timezone

Returns the current date in the specified timezone

Returns the current date and time in the specified timezone

概览

What is MCP Time Service?

The MCP Time Service is a FastMCP server that provides current time, date, and datetime information across various timezones. It is designed for AI agents or applications needing time data via the Model Context Protocol.

How to use MCP Time Service?

Install dependencies with pip install -r requirements.txt, then run python server.py. The server starts on http://127.0.0.1:8000. It can be invoked via the three exposed tools: current_time, current_date, and current_datetime, each accepting an optional timezone parameter.

Key features of MCP Time Service

  • Three dedicated tools: current_time, current_date, current_datetime
  • Supports an optional timezone parameter (default: America/New_York)
  • Built with FastMCP for easy integration
  • Ready for deployment on Render via included render.yaml
  • Simple local development setup with pip

Use cases of MCP Time Service

  • An AI assistant querying the current time in a user’s timezone
  • Scheduling applications that need date/time data in different regions
  • Automated workflows that require accurate datetime information
  • Prototyping chat agents with time-aware capabilities

FAQ from MCP Time Service

What timezones can I use with the tools?

The timezone parameter accepts any valid timezone string. The default is America/New_York.

How do I run the server locally?

First install dependencies: pip install -r requirements.txt. Then run: python server.py.

What transport or authentication does the server use?

The README does not specify transport or authentication. FastMCP typically uses HTTP; no auth details are provided.

Can I deploy this service in production?

Yes, the repository includes a render.yaml configuration for easy deployment on Render.

What are the runtime dependencies?

Python and the packages listed in requirements.txt (not enumerated in the README) are required.

评论

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