Skip to main content
Glama
swonixs

WeatherAPI MCP Server

by swonixs

WeatherAPI MCP Server

An MCP server that provides current weather and air quality data using WeatherAPI.

Features

  • Get current weather data for any city

  • Air quality information (optional)

  • Dynamic URI support for weather resources

  • Easy integration with n8n, Claude Desktop App, Windsurf IDE,Cursor IDE, and other MCP clients

Related MCP server: MCP Weather Server

Getting Started

Get WeatherAPI Key

  1. Go to WeatherAPI.com

  2. Sign up for a free account

  3. After signing in, go to your dashboard

  4. Copy your API key from the "API Keys" section

MCP Configuration

Add the following configuration to your Windsurf MCP config file:

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

Replace YOUR_API_KEY_HERE with the API key you obtained from WeatherAPI.com.

Tools

get_weather

Get current weather data for a specified city.

Parameters:

  • location (string): City name

Example response:

{
  "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
  }
}

Repository

WeatherAPI MCP Server

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    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.
    Last updated
    11
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive weather information including current conditions, 7-day forecasts, and air quality data for any city worldwide using the Open-Meteo API. Features real-time weather data, hourly forecasts, sunrise/sunset times, and European Air Quality Index with human-readable descriptions.
    Last updated
    3
    28
    1
    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.
    Last updated
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • Air Quality MCP — wraps air-quality-api.open-meteo.com (free, no auth)

  • WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)

  • OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

View all MCP Connectors

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