Skip to main content
Glama
swonixs

WeatherAPI MCP Server

by swonixs

Servidor MCP de WeatherAPI

Un servidor MCP que proporciona datos actuales sobre el clima y la calidad del aire mediante WeatherAPI.

Características

  • Obtenga datos meteorológicos actuales para cualquier ciudad

  • Información sobre la calidad del aire (opcional)

  • Compatibilidad con URI dinámicos para recursos meteorológicos

  • Fácil integración con n8n, Claude Desktop App, Windsurf IDE, Cursor IDE y otros clientes MCP

Related MCP server: Weather MCP Tool

Empezando

Obtener la clave WeatherAPI

  1. Vaya a WeatherAPI.com

  2. Regístrese para obtener una cuenta gratuita

  3. Después de iniciar sesión, vaya a su panel de control.

  4. Copia tu clave API desde la sección "Claves API"

Configuración de MCP

Agregue la siguiente configuración a su archivo de configuración Windsurf MCP:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@swonixs/weatherapi-mcp"],
      "env": {
        "WEATHER_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Reemplace YOUR_API_KEY_HERE con la clave API que obtuvo de WeatherAPI.com.

Herramientas

obtener_el_clima

Obtenga datos meteorológicos actuales para una ciudad específica.

Parámetros:

  • location (cadena): nombre de la ciudad

Ejemplo de respuesta:

{
  "location": "London",
  "country": "United Kingdom",
  "temp_c": 15.0,
  "condition": "Partly cloudy",
  "humidity": 71,
  "wind_kph": 14.4,
  "air_quality": {
    "co": 230.3,
    "no2": 13.5,
    "o3": 52.9,
    "pm2_5": 8.5,
    "pm10": 12.1,
    "us-epa-index": 1
  }
}

Repositorio

Servidor MCP de WeatherAPI

Licencia

Instituto Tecnológico de Massachusetts (MIT)

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

Latest Blog Posts

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/swonixs/weatherapi-mcp'

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