mcpField
W
WorldTime MCP Server

WorldTime MCP Server

Local
github.com/usrrnameProductivity0Updated 86w ago

About WorldTime MCP Server

WorldTime MCP Server returns the current time for a specified area using the WorldTime API and TimezoneDB. It is a small timezone utility for MCP clients; TimezoneDB access requires an API key.

Key features

  1. 01Get the current time for an area
  2. 02Use WorldTime API
  3. 03Support additional timezones through TimezoneDB

Use cases

  1. 01Checking the current time in a location
  2. 02Looking up time across additional timezones

MCP support

It provides an MCP server for time lookups by area. TimezoneDB access requires a configured API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"worldtime": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/inspector"
]
}
}
}
Run commandnpx -y @modelcontextprotocol/inspector

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@modelcontextprotocol/inspector

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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 

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.