MCP Time Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Time Serverwhat time is it in New York?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Time Server
A simple Model Context Protocol (MCP) server that provides the current time.
Features
Get Current Time: Returns the current time in a specified timezone (default: Asia/Shanghai).
Timezone Support: Supports standard IANA timezone names (e.g., "UTC", "America/New_York").
Transports: Supports both stdio (default) and HTTP Streamable Protocol.
Related MCP server: Beijing Time MCP Server
Installation
pip install .Usage
1. Stdio Transport (Default)
Run the server directly:
mcp-server-timeOr with uv:
uv run mcp-server-time2. HTTP Streamable Transport
This server supports the MCP HTTP Streamable Protocol. You can run it using uvicorn:
uvicorn server:app --port 8000The server will be available at http://localhost:8000.
Tools
get_current_time
Returns the current time in the specified timezone.
Arguments:
timezone(string, optional): The timezone to get the time for (default: "Asia/Shanghai").
This server cannot be deployed
Maintenance
Related MCP Connectors
Current time in any IANA time zone, plus the full time-zone list. Via timeapi.io.
Current time by timezone, astronomy events, and moon phases
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides current time and date information with timezone support and multiple formatting options. Enables AI assistants to answer time-related queries in different timezones with detailed temporal information.23 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables users to query and retrieve the current Beijing time in multiple formats including standard, ISO 8601, and Chinese formats. Provides timezone information and Unix timestamps for time-related operations.MIT
- FlicenseBqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.2-
- FlicenseNot gradedqualityDmaintenanceProvides the current time in ISO format with day of week for any IANA timezone, defaulting to Asia/Tokyo.-