Get the FREE Ultimate OpenClaw Setup Guide β†’

mclocks

The desktop clock application for multiple time zonesπŸ•’πŸŒπŸ••

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio bayashi-mclocks node path/to/mclocks/server.js \
  --env MCL_CONFIG_PATH="/path/to/config.json" \
  --env MCL_CLOCKS_ENABLE_FEATURES="true"

How to use

The mclocks MCP server exposes the capabilities of the mclocks desktop clock application as an MCP service. It includes clock display and management features (local time zones, formatting, and locale), a countdown clock, a simple timer, and utilities to convert between epoch time and date-time formats. Use the MCP interface to query or trigger these features from other MCP-enabled tools or automation scripts. Once started, you can interact with the service to retrieve current clock settings, start or pause timers, or perform conversions between date-time and epoch representations. This server is intended to run locally and operate entirely offline, leveraging the features of the mclocks app without requiring network access.

How to install

Prerequisites:

  • Node.js (recommended LTS) installed on your system
  • Access to the project directory containing the mclocks MCP integration

Step-by-step installation:

  1. Install dependencies (if this MCP wrapper is part of a larger repo): npm install

  2. Ensure you have a path for the server script within the mclocks project. Create or adjust the placeholder path if needed:

    • path/to/mclocks/server.js should be the entry point that exposes the MCP-compatible interface for mclocks features.
  3. Create or update configuration (config.json) if required by your environment. Example content: { "enableFeatures": ["clocks", "countdown", "timer", "epochConverter", "textConvertor"] }

  4. Run the MCP server: npm run start or executing the node command directly (aligned with your setup): node path/to/mclocks/server.js

  5. Verify the MCP endpoint is reachable (e.g., via the MCP client tooling or a local HTTP/gRPC/test harness as your setup dictates.

Additional notes

Tips and notes:

  • The exact command path (path/to/mclocks/server.js) should be replaced with the actual entry point in your environment.
  • If the server requires environment configuration, place variables in the env block to customize behavior (e.g., MCL_CONFIG_PATH for a custom config.json).
  • Since mclocks is designed as an offline desktop application, ensure your MCP client runs on the same host to avoid network dependencies.
  • If you encounter port or binding issues, verify any required IPC paths or sockets used by your MCP framework and adjust accordingly.
  • For feature toggling, you may need to edit the config.json to enable clocks, timers, countdowns, epoch conversion, or the clipboard/text tools.

Related MCP Servers

Sponsor this space

Reach thousands of developers β†—