drio
Open app

MCP Time Server

Source

Model Context Protocol Time Server - A robust timezone-aware time server implementation

Catalog onlyCatalog onlySTDIO

Overview

MCP Time Server is a robust timezone-aware time server implementation specifically designed for the Model Context Protocol, facilitating accurate timekeeping across different time zones.

To use the MCP Time Server, install it via pip and run it using the provided Python module command.

  • Full IANA timezone database support for comprehensive timezone management - Cross-platform compatibility ensures it works on various operating systems - Proper error handling and validation for reliability - Async/await implementation for high performance and efficiency - Comprehensive test coverage to guarantee quality and performance
  1. Coordinating event timings across different time zones in distributed applications.
  2. Synchronizing logs and timestamps in applications that operate in multiple regions.
  3. Implementing time-sensitive protocols that require exact timekeeping.

Add to your AI client

Use these steps to connect MCP Time Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-time-server-txbm": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-time-server-txbm": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-time-server-txbm": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-time-server-txbm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-time-server-txbm": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-time-server-txbm": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-time-server-txbm"
      ]
    }
  }
}

FAQ

What is the installation process for MCP Time Server?

You can install it using pip with the command `pip install mcp-time-server`.

Is MCP Time Server compatible with all operating systems?

Yes! It is designed to be cross-platform compatible, working on various environments.

How does MCP Time Server ensure accurate timekeeping?

It uses the full IANA timezone database and performs error handling to maintain accuracy.