Skip to main content

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

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

License

MIT

Metadata

Release files for mcp-weather-bailian 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mcp-weather-bailian 0.2.0
File Interpreter ABI Platform
mcp_weather_bailian-0.2.0-py3-none-any.whl Python 3 none any Details

Release files / mcp_weather_bailian-0.2.0-py3-none-any.whl

Download URL mcp_weather_bailian-0.2.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3afc27951e3fec90eb4b99bbb85a8d874dba42a3870a849336d832482cedc747
BLAKE2b-256 checksum
How to use checksums
d26e43200525dc91007c826c04442731abc043c4b6e24b6017b9003ecb8530da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page