npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-clima-colombia

v1.0.0

Published

MCP Server para consultar el clima de ciudades de Colombia usando OpenWeatherMap API

Readme

🌤️ MCP Server Clima Colombia

Servidor MCP (Model Context Protocol) para consultar el clima de ciudades principales de Colombia usando la API de OpenWeatherMap.

🚀 Características

  • ✅ Clima actual de 10 ciudades principales de Colombia
  • ✅ Pronóstico de 5 días
  • ✅ Comparación entre múltiples ciudades
  • ✅ Conexión optimizada con fallback automático
  • ✅ Manejo robusto de errores
  • ✅ Configuración IPv4 optimizada

🏙️ Ciudades Soportadas

  • Bogotá
  • Medellín
  • Cali
  • Barranquilla
  • Cartagena
  • Bucaramanga
  • Pereira
  • Santa Marta
  • Manizales
  • Pasto

📦 Instalación

Instalación global (recomendado)

npm install -g mcp-clima-colombia

Uso directo con npx (sin instalación)

npx mcp-clima-colombia

Instalación local para desarrollo

# Clonar el repositorio
git clone https://github.com/YonierGomez/mcp-curso.git
cd mcp-curso/mcp-client-server/mcp-server/mcpClima

# Instalar dependencias
npm install

# Configurar API key (opcional - incluye una por defecto)
export OPENWEATHER_API_KEY=tu_api_key_aqui

🎯 Uso

Como comando global

# Después de instalar globalmente
mcp-clima-colombia

Con npx (recomendado para pruebas rápidas)

npx mcp-clima-colombia

Como servidor MCP independiente

npm start

Integración con Claude Desktop

Agregar al archivo de configuración de Claude Desktop:

{
  "mcpServers": {
    "climaColombia": {
      "command": "npx",
      "args": ["mcp-clima-colombia"],
      "env": {
        "OPENWEATHER_API_KEY": "tu_api_key_opcional"
      }
    }
  }
}

O si lo tienes instalado globalmente:

{
  "mcpServers": {
    "climaColombia": {
      "command": "mcp-clima-colombia",
      "env": {
        "OPENWEATHER_API_KEY": "tu_api_key_opcional"
      }
    }
  }
}

🛠️ Herramientas Disponibles

  1. get_weather - Clima actual de una ciudad
  2. get_forecast - Pronóstico de 5 días
  3. get_multiple_cities_weather - Comparar múltiples ciudades

🧪 Pruebas

# Ejecutar todas las pruebas
node test.js

# Prueba práctica completa
node test-practical.js

🔧 Configuración

  • API Key: Configurable vía variable de entorno OPENWEATHER_API_KEY
  • Timeout: 15 segundos para peticiones HTTP
  • Fallback: curl automático si undici falla
  • Conectividad: IPv4 preferido para mejor compatibilidad

📄 Licencia

MIT