Skip to main content
Glama

Time MCP

by samay58

tiempo-mcp

Un servidor de protocolo de configuración del modelo Claude (MCP) que proporciona información de fecha y hora en tiempo real teniendo en cuenta la zona horaria.

Características

  • Obtenga la hora actual en cualquier zona horaria de IANA
  • Fácil integración con Claude AI a través de MCP
  • Compatibilidad completa con zonas horarias mediante el módulo zoneinfo de Python
  • Respuestas JSON simples en formato ISO

Instalación

# Clone the repository git clone https://github.com/yourusername/time-mcp.git cd time-mcp # Set up virtual environment (using uv) uv venv source .venv/bin/activate # Install the package pip install -e .

Uso

Ejecución del servidor

python -m src.time_mcp.server

Esto inicia el servidor MCP localmente, lo que hace que la herramienta de tiempo esté disponible para Claude.

Herramientas disponibles

  • get_current_time : Devuelve la hora actual en la zona horaria especificada
    • Parámetro: timezone (cadena): cualquier zona horaria IANA válida (por ejemplo, "América/Nueva York", "Europa/Londres", "Asia/Tokio")
    • Valor predeterminado: "UTC" si no se especifica ninguna zona horaria

Desarrollo

# Run tests pytest tests/ # Lint code ruff check . # Format code ruff format .

Requisitos

  • Python 3.10+
  • Biblioteca MCP

Licencia

Instituto Tecnológico de Massachusetts (MIT)

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Un servidor de protocolo de configuración del modelo Claude (MCP) que proporciona información de fecha y hora en tiempo real teniendo en cuenta la zona horaria.

  1. Características
    1. Instalación
      1. Uso
        1. Ejecución del servidor
        2. Herramientas disponibles
      2. Desarrollo
        1. Requisitos
          1. Licencia

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An MCP server that allows checking local time on the client machine or current UTC time from an NTP server
              Last updated -
              14
              Python
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.
              Last updated -
              Python
            • A
              security
              A
              license
              A
              quality
              A TypeScript server implementing the Model Context Protocol (MCP) that provides datetime and timezone information to AI agents and chat interfaces, allowing them to access current time in various timezones.
              Last updated -
              4
              2
              TypeScript
              Mozilla Public License 2.0
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.
              Last updated -
              2
              1
              Python

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/samay58/time-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server