Weather MCP Server
@devilcoder01
A simple minimal weather mcp server :)
Overview
What is Weather MCP Server?
A Model Context Protocol (MCP) server for weather data, built with FastAPI. It provides weather-related tools that AI assistants can use to retrieve current conditions, forecasts, air quality, and more.
How to use Weather MCP Server?
Install via Smithery (npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude) or manually with uv and a WeatherAPI key. Then run python main.py to start the server on http://localhost:8000.
Key features of Weather MCP Server
- Current weather conditions
- Weather forecasts (1-14 days)
- Historical weather data
- Weather alerts
- Air quality information
- Astronomy data (sunrise, sunset, moon phases)
Use cases of Weather MCP Server
- Retrieving current weather for a location
- Obtaining multi-day weather forecasts
- Checking air quality index
- Accessing historical weather records
- Receiving weather alerts
FAQ from Weather MCP Server
What are the requirements for Weather MCP Server?
Python 3.13+, the uv package manager, and a WeatherAPI key.
How do I install Weather MCP Server?
You can install automatically via Smithery or manually by cloning the repo, creating a virtual environment with uv, installing dependencies, and adding your API key to a .env file.
How do I run Weather MCP Server?
Run python main.py in the project root; the server starts on http://localhost:8000 by default.
What data source does Weather MCP Server use?
It uses the WeatherAPI service for all weather data.
What license does Weather MCP Server use?
It is licensed under the MIT License.