Skip to main content

MCP server providing real-time weather and air quality data via Open-Meteo free 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.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_weather_bailian-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89e40d6e682d0257100496ddb944dcee57fb6c6c014fee3115805a29ed1743f5
MD5 fd3b71d9e1d4ba53644ad6fccd6dee59
BLAKE2b-256 6f9b19d2354c75c2f50d37324d01bdd0a8fa64dca209cd4a5363ed13afb2c288

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