MCP weather server with 8 tools: current, hourly, daily, AQ, sun times, multi-city comparison, natural-language summary. Free Open-Meteo APIs.
Project description
MCP Weather Bailian
MCP server providing real-time weather and 3-day forecast data via Open-Meteo free APIs. No API key required.
Tools
get_weather(city)
Get current weather conditions and 3-day forecast.
- city (string): City name, e.g. "Beijing", "New York", "London"
- Returns: temperature, humidity, wind speed, weather conditions, 3-day forecast
get_air_quality(city)
Get current air quality data including AQI, PM2.5, PM10.
- city (string): City name
- Returns: European AQI, PM2.5, PM10, rating
Data Sources
- Geocoding: Open-Meteo geocoding API
- Forecast: Open-Meteo weather API
- Air Quality: Open-Meteo air-quality API
All free, no API keys needed.
Pricing
- Free tier: 100 calls/day
- Pro tier: 10,000 calls/month
- Enterprise: unlimited
Usage
With any MCP-compatible client:
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["mcp-weather-bailian"]
}
}
}
Deploy to Alibaba Bailian
- Publish this package to PyPI
- In Bailian Console, create MCP service with
uvxcommand - Configure:
uvx mcp-weather-bailian
License
MIT
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 Distributions
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 mcp_weather_bailian-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcp_weather_bailian-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3afc27951e3fec90eb4b99bbb85a8d874dba42a3870a849336d832482cedc747
|
|
| MD5 |
c914cd363c92f444108578009030e0d0
|
|
| BLAKE2b-256 |
d26e43200525dc91007c826c04442731abc043c4b6e24b6017b9003ecb8530da
|