User Timezone icon

User Timezone

Returns the user's timezone based on their IP address when called from a remote Model Context Protocol (MCP) client.

About

This Cloudflare Worker deploys a simple, unauthenticated remote MCP server designed to provide a single utility: inferring the user's timezone from their IP address. Built using the 'agents' and '@modelcontextprotocol/sdk' packages, it exposes a 'get_timezone' tool that can be invoked by MCP clients like Claude Desktop or AI Playground. It utilizes Cloudflare headers or forwarded headers for IP detection and is designed with privacy in mind, only using the apparent public IP for lookup and retaining no data or logs beyond essential diagnostics.

Key Features

  • MCP-compliant server implementation
  • 0 GitHub stars
  • Single 'get_timezone' tool for timezone inference
  • IP-based timezone detection via Cloudflare headers
  • Minimal data retention and logging for privacy
  • Authentication-free public endpoint for ease of use

Use Cases

  • Enhancing AI agents with user timezone awareness
  • Developing and experimenting with custom MCP-compliant remote tools
  • Integrating contextual information into AI Playground or Claude Desktop workflows