Add your description here
Project description
Weather MCP Server
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.
Features
- Current weather conditions
- Weather forecasts (1-14 days)
- Historical weather data
- Weather alerts
- Air quality information
- Astronomy data (sunrise, sunset, moon phases)
- Location search
- Timezone information
- Sports events
Requirements
- Python 3.13+
- uv package manager
- WeatherAPI API key
Installation
Installing via Smithery
To install Weather Data Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
Manual Installation
-
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
.envfile in the project root with your WeatherAPI key:WEATHER_API_KEY=your_api_key_here
Usage
Run the server:
python main.py
The server will start on http://localhost:8000 by default.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weatherapi_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: weatherapi_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8a48b4b551e9aa0628397c54fc505aa412119c9bb9918d0cbbaa232b5ccf96d
|
|
| MD5 |
2501afa26721701d550d86be1cee8a26
|
|
| BLAKE2b-256 |
b859247c55982793a405ab0e50bfada48c7063213749e641b35668525d6772df
|
File details
Details for the file weatherapi_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: weatherapi_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5491192ba3411bf22573834fd9fdf178a96c3d120e7e36cc3d89eacf4c54226b
|
|
| MD5 |
72bfbd00ad1f4dafcc7f27141f678350
|
|
| BLAKE2b-256 |
53a17d4678471d6709f457ab748ffb98f6f433d4badfac15894fa34e5fe288b6
|