WeatherAPI MCP Server

by swonixs
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables n8n workflows to fetch current weather and air quality information from WeatherAPI.com

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

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

Proporciona datos actuales sobre el clima y la calidad del aire para cualquier ciudad mediante WeatherAPI, integrándose fácilmente con clientes MCP como n8n y Claude Desktop App.

  1. Features
    1. Getting Started
      1. Get WeatherAPI Key
      2. MCP Configuration
      3. Tools
      4. Repository
    2. License
      ID: 0hj7q3ci6d