A FastAPI-based Model Context Protocol (MCP) server that exposes weather, air-quality, astronomy and sports data via WeatherAPI.
https://github.com/sjanaX01/weather-mcp-serverStop building weather integrations from scratch. This MCP server gives your AI assistants comprehensive weather intelligence through a single, clean interface that handles everything from real-time conditions to 14-day forecasts.
You could cobble together multiple weather APIs, write custom parsers, and handle rate limiting yourself. Or you could plug in this server and immediately access current conditions, forecasts, air quality, astronomy data, weather alerts, and even sports schedules—all through one MCP endpoint.
The difference? This server was built specifically for AI context. Instead of raw API responses, you get structured data that AI assistants can actually reason with.
Weather Data That Actually Matters:
Context-Rich Astronomy Data:
Location Intelligence:
Bonus: Sports Integration
Smart Content Generation: Your AI can write location-aware content that references actual weather conditions. "Given today's 15mph winds in Chicago, here's why your outdoor event might need windbreaks..."
Business Intelligence: Correlate weather patterns with sales data, delivery schedules, or customer behavior. "Rainy day promotions should launch when precipitation probability exceeds 70%..."
Travel and Event Planning: Get comprehensive weather context for multi-day itineraries. "Your Portland conference next week will have clear skies Tuesday-Thursday, but pack rain gear for Friday's outdoor sessions..."
Agricultural and Environmental Monitoring: Track conditions affecting crops, construction, or outdoor operations with historical trends and forecasts.
One-Line Install via Smithery:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
Manual Setup for Custom Deployments:
git clone https://github.com/sjanaX01/weather-mcp-server.git
cd weather-mcp-server
uv venv && uv pip install -e .
echo "WEATHER_API_KEY=your_key" > .env
python main.py
Immediate Claude Desktop Integration: Once installed, your Claude Desktop sessions can instantly access comprehensive weather data. Ask about conditions anywhere, get detailed forecasts, or analyze weather patterns—all without leaving your workflow.
Built on Solid Foundations:
Production Ready:
Data Quality:
If you're building AI workflows that need weather context, you have two choices: spend weeks building and maintaining weather integrations, or install this server in 5 minutes and focus on what actually matters.
The server handles the complexity of weather data aggregation, formatting, and delivery. You get clean, AI-ready weather intelligence that works immediately with Claude Desktop and any MCP-compatible client.
Ready to add comprehensive weather capabilities to your AI toolkit? The installation takes longer to read about than to actually do.
Get Started:
Weather data shouldn't be an afterthought in your AI workflows. Make it a first-class citizen.