MCP server
by swonixs
Access current weather and air quality with WeatherAPI. Get temperature, humidity, wind speed, and more. Your fast, reli
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.
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.
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.
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.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
WeatherAPI is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
WeatherAPI is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
We evaluated WeatherAPI against two servers with overlapping tools; this profile had the clearer scope statement.
Useful MCP listing: WeatherAPI is the kind of server we cite when onboarding engineers to host + tool permissions.
WeatherAPI reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
I recommend WeatherAPI for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Strong directory entry: WeatherAPI surfaces stars and publisher context so we could sanity-check maintenance before adopting.
We evaluated WeatherAPI against two servers with overlapping tools; this profile had the clearer scope statement.
We wired WeatherAPI into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
WeatherAPI is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
showing 1-10 of 36
An MCP server that provides current weather and air quality data using WeatherAPI.
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.
Get current weather data for a specified city.
Parameters:
location (string): City nameExample 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
}
}
MIT
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.