Skip to main content

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

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

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_weather_bailian-0.2.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_weather_bailian-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_weather_bailian-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3afc27951e3fec90eb4b99bbb85a8d874dba42a3870a849336d832482cedc747
MD5 c914cd363c92f444108578009030e0d0
BLAKE2b-256 d26e43200525dc91007c826c04442731abc043c4b6e24b6017b9003ecb8530da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page