Skip to content

usrrname/worldtime-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

A timezone MCP server based off OSS TimezoneDB API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published