Skip to main content
Glama
WhenjaySun

MCP Time Server

by WhenjaySun

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-time

Or with uv:

uv run mcp-server-time

2. HTTP Streamable Transport

This server supports the MCP HTTP Streamable Protocol. You can run it using uvicorn:

uvicorn server:app --port 8000

The 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").

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

  • A
    license
    C
    quality
    D
    maintenance
    Provides 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.
    Last updated
    2
    30
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    Last updated
    MIT
  • 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.
    Last updated
    8
  • F
    license
    B
    quality
    D
    maintenance
    Provides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.
    Last updated
    2

View all related MCP servers

Related MCP Connectors

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

  • Timezone MCP — wraps WorldTimeAPI (free, no auth)

  • 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/WhenjaySun/mcp-server-time'

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