×

Settings

24-hour
Quiet mode
View only
Send feedback

MCP API - Model Context Protocol Server

CurrentTimeUTC MCP Server

This site hosts a Model Context Protocol (MCP) server providing real-time UTC time and timezone conversions.

Server Information

  • Name: CurrentTimeUTC MCP Server
  • Version: 1.0.0
  • Protocol: MCP 2024-11-05
  • Transport: HTTP with JSON-RPC 2.0
  • Base URL: https://a.currenttimeutc.com/mcp
  • Server: Gunicorn + Flask (Python)

Transport & Protocol Support

  • HTTP Transport: Standard HTTP POST requests
  • JSON-RPC 2.0: Full compliance with JSON-RPC 2.0 specification
  • SSE (Server-Sent Events): Not supported
  • WebSocket: Not supported
  • Streaming: Not supported (standard request/response only)

Available Tools

1. get_utc_time

  • Description: Get current UTC time in ISO 8601 format
  • Parameters: None
  • Returns: Current UTC time with timestamp

2. convert_time

  • Description: Convert time between different timezones
  • Parameters:
    • from_tz (string, required): Source timezone (IANA identifier)
    • to_tz (string, required): Target timezone (IANA identifier)
    • time (string, required): Time to convert (ISO 8601 or YYYY-MM-DD HH:MM:SS)
  • Returns: Converted time with timezone information

3. list_timezones

  • Description: Get list of supported IANA timezone identifiers
  • Parameters: None
  • Returns: Array of supported timezone identifiers

Available Resources

1. timezone://list

  • Name: Timezone List
  • Description: Complete list of supported timezones
  • MIME Type: application/json
  • Content: Full timezone database with IANA identifiers

Server Capabilities

  • Tools: ✅ Supported
  • Resources: ✅ Supported
  • Prompts: ❌ Not supported
  • Logging: ✅ Supported
  • Sampling: ❌ Not supported

Rate Limiting

  • Rate Limit: 100 requests per minute per IP
  • Window: 1 minute sliding window
  • Headers: Standard rate limiting headers included

Health & Monitoring

  • Health Check: /mcp/health
  • Metrics: PostHog analytics integration
  • Logging: Comprehensive request/response logging
  • Status: Real-time health monitoring

Example Usage

Initialize Connection

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {},
    "clientInfo": {
      "name": "claude-desktop",
      "version": "1.0.0"
    }
  }
}

Get Current UTC Time

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_utc_time",
    "arguments": {}
  }
}

Convert Time

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "convert_time",
    "arguments": {
      "from_tz": "America/New_York",
      "to_tz": "Europe/London",
      "time": "2024-01-15 14:30:00"
    }
  }
}

Technical Details

  • Server: Gunicorn WSGI server
  • Framework: Flask (Python)
  • Database: In-memory timezone data
  • Caching: No caching implemented
  • Authentication: None required
  • CORS: Enabled for all origins
  • SSL/TLS: HTTPS only

Contact & Support