
WeatherAPI Server
Fetch real-time weather and air quality data effortlessly. Integrate with various MCP clients to enhance your applications with accurate weather insights. Start using it today to provide users with up-to-date environmental information.
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install swonixs/weatherapi-mcp -c claude
This command will automatically install and configure the WeatherAPI Server MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claude
After opening your configuration file, copy and paste this configuration:
View JSON configuration
{
"mcpServers": {
"WeatherAPI Server": {
"command": "npx",
"args": [
"-y",
"@swonixs/weatherapi-mcp"
],
"env": {
"WEATHER_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
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
Getting Started
Get WeatherAPI Key
- Go to WeatherAPI.com
- Sign up for a free account
- After signing in, go to your dashboard
- 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
License
MIT
Details:
Stars
0Forks
2Last commit
3 months agoRepository age
3 months
Auto-fetched from GitHub .
MCP servers similar to WeatherAPI Server:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit