WeatherAPI▌

by swonixs
Access current weather and air quality with WeatherAPI. Get temperature, humidity, wind speed, and more. Your fast, reli
Provides current weather and air quality data for any city through WeatherAPI.com, requiring only an API key for temperature, humidity, wind speed, and optional air quality metrics.
best for
- / Weather-aware applications and automations
- / Environmental monitoring dashboards
- / Travel and outdoor activity planning
- / Air quality health assessments
capabilities
- / Get current weather for any city
- / Retrieve air quality measurements
- / Access temperature and humidity data
- / Check wind speed and conditions
- / Query pollution indices (PM2.5, PM10, CO, NO2, O3)
what it does
Fetches current weather conditions and air quality data for any city using WeatherAPI.com. Requires a free API key to get temperature, humidity, wind speed, and pollution metrics.
about
WeatherAPI is a community-built MCP server published by swonixs that provides AI assistants with tools and capabilities via the Model Context Protocol. Access current weather and air quality with WeatherAPI. Get temperature, humidity, wind speed, and more. Your fast, reli It is categorized under analytics data.
how to install
You can install WeatherAPI in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
WeatherAPI is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
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
FAQ
- What is the WeatherAPI MCP server?
- WeatherAPI is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for WeatherAPI?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
WeatherAPI is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated WeatherAPI against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: WeatherAPI is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
WeatherAPI reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend WeatherAPI for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: WeatherAPI surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
WeatherAPI has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, WeatherAPI benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired WeatherAPI into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
WeatherAPI is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.