What is Openweathermcp?
Openweathermcp is a Model Context Protocol (MCP) server that integrates the OpenWeatherMap API, providing AI assistants with comprehensive weather data access including current conditions, forecasts, air quality, maps, alerts, and historical data.
How to use Openweathermcp?
Install via npm install -g openweather-mcp, set the OPENWEATHER_API_KEY environment variable with a valid OpenWeatherMap API key, then run npx openweather-mcp or configure it as an MCP server in Claude Desktop or any MCP-compatible client.
Key features of Openweathermcp
- Current weather queries with temperature, humidity, wind, pressure
- 5‑day/3‑hour weather forecasts with trend analysis
- Real‑time air quality index and pollutant concentration data
- Multi‑layer weather map tiles (clouds, precipitation, temperature)
- Government‑issued weather alerts and safety advisories
- Historical weather queries and multi‑day comparison
Use cases of Openweathermcp
- An AI assistant provides real‑time weather for a user‑specified city
- A travel planner automatically fetches 5‑day forecasts for destinations
- Health‑focused apps display local air quality levels
- Emergency bots relay official weather warnings from the user’s area
コメント