by sjanaX01
Provides current weather conditions, forecasts, historical data, alerts, air quality, astronomy information, location search, timezone data, and sports events via an MCP server built with FastAPI.
A FastAPI‑based MCP server that delivers comprehensive weather‑related data—including real‑time conditions, multi‑day forecasts, historical records, alerts, air quality, astronomy details, location lookup, timezone info, and sports events—to AI assistants and applications.
.env
file with WEATHER_API_KEY=your_api_key_here
.python main.py
.http://localhost:8000
using the defined MCP endpoints.Q: Which Python version is required? A: Python 3.13 or newer.
Q: How do I obtain the required API key? A: Sign up at WeatherAPI and generate an API key.
Q: Can I install the server via Smithery?
A: Yes, run npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
.
Q: How do I run the server locally?
A: Execute python main.py
; it will listen on http://localhost:8000
by default.
Q: Is the project open source? A: Yes, it is licensed under the MIT License.
A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.
To install Weather Data Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
Clone this repository:
git clone https://github.com/yourusername/Weather_mcp_server.git
cd Weather_mcp_server
Install dependencies using uv:
uv venv
uv pip install -e .
Create a .env
file in the project root with your WeatherAPI key:
WEATHER_API_KEY=your_api_key_here
Run the server:
python main.py
The server will start on http://localhost:8000 by default.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "weather-mcp-server": { "command": "npx", "args": [ "-y", "@devilcoder01/weather-mcp-server" ], "env": { "WEATHER_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by mattt
Enables AI assistants to retrieve and manage personal macOS data such as calendar events, contacts, messages, reminders, location, maps, and weather through a local MCP server, allowing personalized AI interactions without sending data off‑device.
by nspady
Provides Google Calendar integration for AI assistants, enabling event listing, creation, updating, deletion, free/busy queries, recurring event handling, and smart scheduling via natural language.
by baidu-maps
Offers a comprehensive suite of geospatial APIs and tools for developers and AI agents, enabling geocoding, reverse geocoding, POI search, route planning, weather, traffic, IP location, and real‑time traffic queries via standardized MCP interfaces.
by Omar-V2
Interact with the macOS Calendar through natural‑language commands, enabling creation, querying, and updating of events in a conversational way.
by GongRzhe
Enables LLMs to perform travel-related tasks such as location search, place details lookup, route calculation, and timezone retrieval using Google Maps services.
by zcaceres
Integrates with Google Tasks to list, read, search, create, update, and delete tasks via MCP tools.
by v-3
Interact with Google Calendar to list, create, update, delete events and find free time slots via Claude.
by r-huijts
Provides real-time Dutch railway travel information—including departures, arrivals, journey planning, pricing, and station facilities—through an MCP server that Claude can query.
by TimLukaHorstmann
Provides hourly and daily weather forecasts via the AccuWeather API for Model Context Protocol (MCP) integration with language models.