Skip to main content
Glama
WeatherAPI MCP Server

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: OpenWeather MCP Server

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)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
      10
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Integrates the OpenWeather API with Claude to provide real-time weather updates, 5-day forecasts, and air quality data. It enables users to query current conditions, pollution levels, and coordinate-based weather information directly within their conversations.
      4
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.
      92 npm
      MIT