SecretiveShell/MCP-timeserver logo

SecretiveShell/MCP-timeserver

Free

访问任何时区的本地时间和获取当前本地时间。 (已在“其他”部分列出Time)

FreeFree tier
Type
Open Source

About SecretiveShell/MCP-timeserver

MCP-timeserver is a simple MCP (Model Context Protocol) server that exposes datetime information to agentic systems and chat REPLs. It implements a datetime:// URI scheme for accessing the current date and time in a given timezone, for example datetime://Africa/Freetown/now or datetime://Europe/London/now. The server also exposes a get_current_time() tool that returns the current local time in the system timezone. Installation is straightforward via uvx with a simple JSON configuration.

Key Features

Implements a datetime:// URI scheme for accessing current date/time in any timezone
Exposes get_current_time() tool to retrieve system local time
Supports timezone-specific queries (e.g., datetime://America/New_York/now)
Easy integration via MCP with uvx command
Lightweight and open source (MIT license)

Pros & Cons

Pros
  • Simple and lightweight MCP server
  • Supports any timezone via datetime:// URI scheme
  • Free and open source (MIT license)
  • Easy to set up with uvx
Cons
  • Limited to current time; no date math or conversion tools
  • Only provides datetime information; no calendar or scheduling features
  • Requires MCP-compatible environment to use

Best For

Providing datetime information to AI agents and chatbotsRetrieving current time in any timezone programmaticallyIntegrating timezone-aware time retrieval into MCP-based applicationsAdding datetime capabilities to chat REPLs and agentic tools

FAQ

What is MCP-timeserver?
MCP-timeserver is a simple MCP (Model Context Protocol) server that exposes datetime information to agentic systems and chat REPLs. It provides a datetime:// URI scheme and a get_current_time() tool.
How do I install MCP-timeserver?
You can install it via uvx by adding the following JSON to your MCP configuration: { "mcpServers": { "MCP-timeserver": { "command": "uvx", "args": ["MCP-timeserver"] } } }
What timezones are supported?
Any timezone recognized by the system can be used in the datetime:// URI scheme, for example datetime://Africa/Freetown/now or datetime://Europe/London/now.