loading…
Search for a command to run...
loading…
Provides the current date and time in Pacific Daylight Time (PDT) via a remote Model Context Protocol server using Streamable HTTP transport. Requires no authen
Provides the current date and time in Pacific Daylight Time (PDT) via a remote Model Context Protocol server using Streamable HTTP transport. Requires no authentication and supports easy integration with Claude Code, Claude Desktop, and other MCP clients.
A remote Model Context Protocol (MCP) server that returns the current date and time in Pacific Daylight Time (PDT). No authentication required.
get_current_datetime_pdtReturns the current date and time formatted as DayOfWeek Month DD, YYYY HH:MMam/pm PDT.
Example response:
Saturday April 04, 2026 06:11pm PDT
docker compose up -d
docker build -t datetime-mcp .
docker run -d -p 8222:8000 datetime-mcp
pip install -r requirements.txt
python server.py
The server starts on http://localhost:8222 using the Streamable HTTP transport.
Add to your Claude Code MCP settings:
{
"mcpServers": {
"datetime-pdt": {
"type": "streamable-http",
"url": "http://localhost:8222/mcp"
}
}
}
Add to your claude_desktop_config.json:
{
"mcpServers": {
"datetime-pdt": {
"type": "streamable-http",
"url": "http://localhost:8222/mcp"
}
}
}
Point your client to the Streamable HTTP endpoint:
http://localhost:8222/mcp
Verify the server is running with curl:
# Initialize a session
curl -X POST http://localhost:8222/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
.
├── server.py # MCP server with the datetime tool
├── requirements.txt # Python dependencies
├── Dockerfile # Container image definition
├── docker-compose.yml # Docker Compose configuration
└── README.md
from
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"datetime-pdt": {
"command": "npx",
"args": []
}
}
}