{
  "name": "time",
  "display_name": "Time",
  "description": "A Model Context Protocol server that provides time and timezone conversion capabilities. It automatically detects the system's timezone and offers tools for getting current time and converting between timezones.",
  "repository": {
    "type": "git",
    "url": "https://github.com/modelcontextprotocol/servers"
  },
  "homepage": "https://github.com/modelcontextprotocol/servers/tree/main/src/time#readme",
  "author": {
    "name": "MCP Team"
  },
  "license": "MIT",
  "categories": [
    "System Tools"
  ],
  "tags": [
    "time",
    "timezone",
    "date",
    "converter"
  ],
  "arguments": {
    "TZ": {
      "description": "Environment variable to override the system's default timezone",
      "required": false,
      "example": "America/New_York"
    }
  },
  "installations": {
    "uvx": {
      "type": "uvx",
      "command": "uvx",
      "args": [
        "mcp-server-time",
        "--local-timezone=${TZ}"
      ],
      "description": "Install and run using uvx (recommended)",
      "recommended": true
    },
    "python": {
      "type": "python",
      "command": "python",
      "args": [
        "-m",
        "mcp_server_time",
        "--local-timezone=${TZ}"
      ],
      "description": "Run with Python module (requires pip install)"
    },
    "docker": {
      "type": "docker",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/time",
        "--local-timezone=${TZ}"
      ],
      "description": "Run with Docker"
    }
  },
  "tools": [
    {
      "name": "get_current_time",
      "description": "Get current time in a specific timezones",
      "inputSchema": {
        "type": "object",
        "properties": {
          "timezone": {
            "type": "string",
            "description": "IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Use local timezone if no timezone provided by the user."
          }
        },
        "required": [
          "timezone"
        ]
      }
    },
    {
      "name": "convert_time",
      "description": "Convert time between timezones",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source_timezone": {
            "type": "string",
            "description": "Source IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Use local timezone if no source timezone provided by the user."
          },
          "time": {
            "type": "string",
            "description": "Time to convert in 24-hour format (HH:MM)"
          },
          "target_timezone": {
            "type": "string",
            "description": "Target IANA timezone name (e.g., 'Asia/Tokyo', 'America/San_Francisco'). Use local timezone if no target timezone provided by the user."
          }
        },
        "required": [
          "source_timezone",
          "time",
          "target_timezone"
        ]
      }
    }
  ],
  "examples": [
    {
      "title": "Current time",
      "description": "Get the current time in a specific timezone",
      "prompt": "What time is it in Tokyo right now?"
    },
    {
      "title": "Time conversion",
      "description": "Convert time between timezones",
      "prompt": "Convert 3:30 PM EST to Paris time."
    }
  ],
  "is_official": true
}