Skip to main content
Glama
radish2951

Time MCP Server

by radish2951

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

  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.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables LLMs to get current time information for any timezone worldwide, including available regions, cities, and ISO 8601 formatted timestamps with timezone offsets.
    8
  • A
    license
    A
    quality
    C
    maintenance
    Provides LLMs with current date and time information across any timezone, with configurable defaults and support for IANA timezone identifiers.
    1
    28
    3
    Apache 2.0
  • F
    license
    -
    quality
    D
    maintenance
    Provides current time information with support for multiple IANA timezones, defaulting to Asia/Shanghai timezone.
  • A
    license
    B
    quality
    D
    maintenance
    Enables 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.
    1
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Timezone MCP β€” wraps WorldTimeAPI (free, no auth)

  • A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.

  • Convert and compare dates and times across any timezone with flexible, locale-aware formatting. Ad…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/radish2951/time-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server