Skip to main content
Glama
thekk1

time-mcp-http

by thekk1

time-mcp-http

The official modelcontextprotocol/servers time server (get_current_time, convert_time) re-hosted over streamable HTTP instead of stdio — so it can run as a plain Docker service reachable over HTTP, instead of needing LibreChat to spawn a local subprocess.

The tool logic (timezone math, schemas) is imported straight from the installed mcp-server-time package (TimeServer/TimeTools) — only the transport is different, so pip install --upgrade mcp-server-time still picks up upstream fixes.

Why this exists

A calling assistant has no built-in sense of "now" — it can misread an ISO timestamp's UTC offset, or simply not know what day it is. Giving it an explicit, callable, on-demand tool is more reliable than trying to inject ambient date/time into every system prompt (LibreChat's Agents endpoint doesn't support that natively as of 2026-08).

Related MCP server: Now MCP

Run

docker build -t time-mcp-http .
docker run --rm -p 8080:8080 -e LOCAL_TIMEZONE=Europe/Berlin time-mcp-http

LOCAL_TIMEZONE (IANA name, e.g. Europe/Berlin) only fills in the tool-description text ("use this as local timezone if the user doesn't specify one") — every call still takes an explicit timezone argument. If unset or invalid, it falls back to UTC rather than failing to boot.

No credentials, no per-user state, no MCP_API_KEY — deliberately: a 401 from any gate makes LibreChat's non-OAuth MCP client try (and get stuck on) OAuth. Docker network isolation is the boundary here, not an API key.

Test

pip install -e '.[dev]'
LOCAL_TIMEZONE=Europe/Berlin pytest
F
license - not found
Not graded
quality - not tested
C
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
    Not graded
    quality
    D
    maintenance
    Provides current time and timezone conversion using IANA timezone names, enabling LLMs to get system time or convert times between timezones.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides time-related tools including current time retrieval, timezone conversion, time formatting, and timezone info via MCP.
    15
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides real-time time awareness to Hermes Agent by exposing date, time, and timezone tools through MCP, enabling on-demand temporal queries.
  • A
    license
    Not graded
    quality
    C
    maintenance
    A remote MCP server exposing date/time tools over Streamable HTTP, enabling retrieval of current time for IANA timezones and listing available timezones, designed for use with web clients like Claude.ai.
    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.

  • Timezone tools for agents: convert, world clock, offset, lookup, date math, holidays, slots. x402

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/thekk1/time-mcp-http'

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