WorldTime MCP Server logo

WorldTime MCP Server

by usrrname

A simple MCP server that provides the current time for a specified area. It leverages the WorldTime API and TimezoneDB for accurate time data.

View on GitHub

Last updated: N/A

What is WorldTime MCP Server?

The WorldTime MCP Server is a tool that allows you to retrieve the current time for a specific location using the WorldTime API and TimezoneDB.

How to use WorldTime MCP Server?

To use the server, you need to register at TimezoneDB to obtain an API key. Then, configure your Claude Desktop environment with the provided JSON configuration, replacing placeholders with your actual username and API key. You can also debug the server using the MCP Inspector with the command npx @modelcontextprotocol/inspector worldtime or by running npm run inspect.

Key features of WorldTime MCP Server

  • Provides current time for a specific area

  • Uses WorldTime API for time data

  • Uses TimezoneDB for extended timezone support

  • Easy integration with Claude Desktop

Use cases of WorldTime MCP Server

  • Getting the current time for a specific location in Claude

  • Integrating time information into Claude workflows

  • Providing time-based context for Claude interactions

  • Debugging and testing time-related functionalities

FAQ from WorldTime MCP Server

What is the WorldTime API?

The WorldTime API is a free API that provides the current time for a given location.

What is TimezoneDB?

TimezoneDB is a service that provides access to a comprehensive database of timezones.

Why do I need a TimezoneDB API key?

The TimezoneDB API key is required to access the TimezoneDB service and retrieve timezone information.

How do I get a TimezoneDB API key?

You can register for a TimezoneDB API key at TimezoneDB.

How do I debug the server?

You can debug the server using the MCP Inspector with the command npx @modelcontextprotocol/inspector worldtime or by running npm run inspect.