metadata
title: dateutil MCP Service
emoji: 🔧
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
dateutil MCP Service
This deployment packages python-dateutil as an MCP service using FastMCP.
It supports local stdio mode and Docker/HTTP mode for HuggingFace Spaces.
Available MCP Tools
health_checkparse_datetimeparse_iso_datetimecompute_relativedeltagenerate_rrule_occurrencesresolve_timezonecalculate_easterlist_loaded_modules
Local stdio usage
cd dateutil/mcp_output
python start_mcp.py
Or explicitly:
MCP_TRANSPORT=stdio MCP_PORT=8000 python start_mcp.py
For local CLI / Claude Desktop style clients, use stdio transport.
HTTP client usage
Run in HTTP mode:
MCP_TRANSPORT=http MCP_PORT=7860 python dateutil/mcp_output/start_mcp.py
Then connect MCP clients to:
http://localhost:7860/mcp
For HuggingFace Spaces, the public endpoint is:
https://<your-space-host>/mcp
Docker
Build and run:
bash run_docker.sh
Or on PowerShell:
./run_docker.ps1
The Docker entrypoint is python dateutil/mcp_output/start_mcp.py.