Time MCP 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., "@Time MCP Serverwhat's the current time 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.
Time MCP Server
A Model Context Protocol (MCP) server that provides current time information for specified timezones, built with Cloudflare Workers.
🌐 Live Demo
The server is deployed and ready to use:
MCP Endpoint:
https://time-mcp.radish2951.workers.dev/mcp
Related MCP server: DateTime MCP Server
🛠️ Features
Time Tool: Get current time in ISO format with day of week for any timezone
Default Timezone: Japan Standard Time (Asia/Tokyo)
Serverless: Runs on Cloudflare Workers with global edge deployment
No Authentication: Public access for easy integration
📋 Available Tools
time_now
Returns the current time in ISO format with day of week for a specified timezone.
Parameters:
tz(optional): IANA timezone string (e.g., "Asia/Tokyo", "America/New_York")Default: "Asia/Tokyo"
Example Response:
{
"iso": "2025-09-22T10:46:05.068",
"tz": "Asia/Tokyo",
"dayOfWeek": "Mon"
}🚀 Quick Start
Test with MCP Inspector
Install and run MCP Inspector:
npx @modelcontextprotocol/inspector@latestConnect to the server:
Open the Inspector UI (usually http://localhost:5173)
Enter server URL:
https://time-mcp.radish2951.workers.dev/mcpClick "Connect"
Test the
time_nowtool with different timezones
Connect to Claude Desktop
To use this MCP server with Claude Desktop, add this configuration to your Claude Desktop settings:
Go to Settings > Developer > Edit Config
Add the following configuration:
{
"mcpServers": {
"time": {
"command": "npx",
"args": [
"mcp-remote",
"https://time-mcp.radish2951.workers.dev/mcp"
]
}
}
}Restart Claude Desktop
🔧 Local Development
Prerequisites
Node.js 18+
Cloudflare account (for deployment)
Setup
Clone the repository:
git clone https://github.com/radish2951/time-mcp.git cd time-mcpInstall dependencies:
npm installStart local development server:
npm startThe server will be available at http://localhost:8787/mcp
Deployment
Login to Cloudflare:
npx wrangler loginDeploy to Cloudflare Workers:
npx wrangler deploy
🏗️ Project Structure
src/
├── index.ts # Main MCP server implementation
├── TimeMCP class # MCP agent with time.now tool
└── Worker handler # Cloudflare Workers request handler🌍 Supported Timezones
Any valid IANA timezone identifier is supported, including:
Asia/Tokyo(JST - Default)America/New_York(EST/EDT)Europe/London(GMT/BST)UTC(Coordinated Universal Time)Asia/Shanghai(CST)And many more...
📝 License
This project is open source and available under the MIT License.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
🔗 Links
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.
Get the current time in any timezone. Explore concise timezone info to pick the right region. Simp…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to get current time information for any timezone worldwide, including available regions, cities, and ISO 8601 formatted timestamps with timezone offsets.8-
- AlicenseAqualityCmaintenanceProvides LLMs with current date and time information across any timezone, with configurable defaults and support for IANA timezone identifiers.116 npm3Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides current time information with support for multiple IANA timezones, defaulting to Asia/Shanghai timezone.-
- AlicenseBqualityDmaintenanceEnables LLMs to retrieve current time information for specific IANA timezones or the local system timezone. It provides accurate ISO 8601 timestamps and detects daylight saving time status for requested locations.12MIT