MCP Time 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., "@MCP Time Serverwhat time is it in Tokyo?"
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.
MCP Time Server
Minimal MCP server that returns current time. Timezone configured on client side.
Installation
python3.13 -m venv .venv
.venv/bin/pip install -r requirements.txtRelated MCP server: whattimeisit-mcp
Configuration
Create config.json:
{
"token": "your-secret-token",
"port": 23386,
"path": "/your-random-path"
}Running
.venv/bin/python server.pyClient Configuration
Claude Code CLI
claude mcp add time --transport sse \
--url "https://DOMAIN/PATH/sse" \
--header "Authorization: Bearer TOKEN" \
--header "X-Timezone: Asia/Novokuznetsk"Claude Desktop
{
"mcpServers": {
"time": {
"command": "%APPDATA%\\npm\\mcp-remote.cmd",
"args": [
"https://DOMAIN/PATH/sse",
"--header",
"Authorization:Bearer ${MCP_TIME_TOKEN}",
"--header",
"X-Timezone:${MCP_TIME_TIMEZONE}"
],
"env": {
"MCP_TIME_TOKEN": "your-token",
"MCP_TIME_TIMEZONE": "Asia/Novokuznetsk"
}
}
}
}Xray + Nginx Setup
When running behind Xray VLESS with ALPN-based fallbacks to nginx, add location block to nginx config (both h2 and http/1.1 server blocks):
location /PATH/ {
proxy_pass http://127.0.0.1:PORT;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Connection '';
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 86400s;
send_timeout 86400s;
chunked_transfer_encoding off;
add_header X-Accel-Buffering no;
}Note: Xray path-based fallbacks only work with HTTP/1.1. For HTTP/2 (ALPN h2), requests go to nginx fallback, so nginx location is required.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server providing attendance data queries via the CloudTime API.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that allows checking local time on the client machine or current UTC time from an NTP server224 PyPI34MIT
- AlicenseBqualityDmaintenanceA lightweight mcp server that tells you exactly what time is it based on your IP.19MIT
- FlicenseNot gradedqualityDmaintenanceA simple Model Context Protocol (MCP) server that provides date and time functionality in any timezone, along with user profiles and personalized greeting resources.-
- AlicenseNot gradedqualityDmaintenanceProvides current local datetime information with timezone support. Serves as a minimal blueprint for building simple, single-purpose MCP servers.19 npm1MIT