WorldTime MCP Server

by usrrname

248 downloads
Not rated
GitHub

About

A timezone MCP server based off OSS TimezoneDB API

Details

Author
usrrname
Downloads
248
Categories
Other

- Retrieves current time for a given area.
- Uses WorldTime API and TimezoneDB.
- Supports extended timezone coverage via TimezoneDB.
- Designed for integration with Claude Desktop.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name WorldTime MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Register at TimezoneDB to obtain an API key, then configure the server in Claude Desktop by adding the JSON block with your API key and the path to the server’s index.js.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "worldtime mcp server": {
            "worldtime-mcp-server": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "worldtime"
                ]
            }
        }
    }
}

McpServers

{
    "worldtime-mcp-server": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "worldtime"
        ]
    }
}

WorldTime MCP Server

A simple MCP server that allows you to get the current time for an area.

This uses the WorldTime API and TimezoneDB for more timezones.

To use the MCP server and gain access to the TimezoneDB API , register at TimezoneDB and create an API key.

Usage with Claude

In Claude Desktop, add the following to your config:

{
  "mcpServers": {
    "worldtime": {
      "command": "node",
      "args": ["/Users/<your-username>/worldtime-mcp-server/dist/index.js"],
      "env": {
        "TIMEZONE_DB_API_KEY": "<your-timezone-db-api-key>"
      }
    }
  }
}

Debugging with MCP Inspector

To debug the server, you can use the below to test the MCP Inspector, or run npm run inspect.

 npx @modelcontextprotocol/inspector worldtime 
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.