Metadata-Version: 2.4
Name: mcp-weather-bailian
Version: 0.1.0
Summary: MCP server providing real-time weather and air quality data via Open-Meteo free APIs
Author: MCP Matrix
License: MIT
Keywords: mcp,weather,air-quality,open-meteo,bailian
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: mcp>=1.0.0
Requires-Dist: httpx>=0.27.0

# 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:

```json
{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": ["mcp-weather-bailian"]
    }
  }
}
```

## Deploy to Alibaba Bailian

1. Publish this package to PyPI
2. In Bailian Console, create MCP service with `uvx` command
3. Configure: `uvx mcp-weather-bailian`

## License

MIT
