Time MCP Server

Time MCP Server

Provides the current time in ISO format with day of week for any IANA timezone, defaulting to Asia/Tokyo.

Category
Visit Server

README

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

šŸ› ļø 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

  1. Install and run MCP Inspector:

    npx @modelcontextprotocol/inspector@latest
    
  2. Connect to the server:

    • Open the Inspector UI (usually http://localhost:5173)
    • Enter server URL: https://time-mcp.radish2951.workers.dev/mcp
    • Click "Connect"
  3. Test the time_now tool with different timezones

Connect to Claude Desktop

To use this MCP server with Claude Desktop, add this configuration to your Claude Desktop settings:

  1. Go to Settings > Developer > Edit Config
  2. Add the following configuration:
{
  "mcpServers": {
    "time": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://time-mcp.radish2951.workers.dev/mcp"
      ]
    }
  }
}
  1. Restart Claude Desktop

šŸ”§ Local Development

Prerequisites

  • Node.js 18+
  • Cloudflare account (for deployment)

Setup

  1. Clone the repository:

    git clone https://github.com/radish2951/time-mcp.git
    cd time-mcp
    
  2. Install dependencies:

    npm install
    
  3. Start local development server:

    npm start
    
  4. The server will be available at http://localhost:8787/mcp

Deployment

  1. Login to Cloudflare:

    npx wrangler login
    
  2. Deploy 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured