MCP Time Service
@GregBaugues
关于 MCP Time Service
MCP Server for the Current Date and Time
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-time-gregbaugues": {
"command": "python",
"args": [
"server.py"
]
}
}
}工具
3Returns 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 服务器
mcp-server-macos-use
mediar-aiAI agent that controls computer with OS-level tools, MCP compatible, works with any model
Openfate Bazi Mcp
openfate-aiOpenFate Bazi MCP server with deterministic Four Pillars calculation, True Solar Time, branch interactions, and reverse Bazi lookup.
ntfy-mcp: Your Friendly Task Completion Notifier
teddyzxcvDesktop Commander MCP
wonderwhy-erThis is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
Google Calendar MCP Server
takumi0706Google Calendar MCP server for Claude Desktop integration
评论