- Home
- MCP servers
- User Timezone
User Timezone
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You run a remote MCP server that provides a single utility: it determines a user’s timezone from their IP address. This makes it easy to tailor experiences to the user’s local time without collecting sensitive data or requiring authentication.
How to use
To use the server, call the get_timezone tool from any MCP client. You don’t need to supply parameters—the tool returns the user’s timezone as a text message based on their apparent public IP address. If you test from a development environment where IP-based detection is not available, you may receive a generic response or experience limited accuracy.
How to install
Prerequisites you need on your machine before you deploy this MCP server:
- Ensure Node.js is installed (node -v) and npm is available (npm -v).
Install and use the Cloudflare Wrangler tool to deploy the worker as an MCP server.
# Install Wrangler globally
npm install -g wrangler
# Authenticate with Cloudflare
wrangler login
# Configure your project (creates wrangler.toml in your project)
# This step uses your project settings and may vary by setup
# Then publish the worker which serves your MCP API
wrangler publish
Additional notes
Security and privacy: the server uses only the user’s apparent public IP address for time zone lookup and does not retain or log data beyond error diagnostics. No authentication is required since this endpoint is intended for experimentation and utility use.
Customize tools: if you want to add more MCP tools later, modify the init() method in the server’s source to register additional tools with your MCP server instance.
Available tools
get_timezone
Returns the user’s timezone inferred from their IP address when called from an MCP client.