OpenWeather
Query OpenWeather (current weather, forecasts, air quality, geocoding) from any AI agent. 6 tools, API-key auth.
7 天免费 · 无需信用卡 · EU 托管
问 OpenWeather 任何事
通过 AnythingMCP 对 OpenWeather 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 OpenWeatherClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 OpenWeather。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
OpenWeather 指南
面向主流 AI 客户端的逐步设置。
配置 OpenWeather
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
This connector wraps the OpenWeather REST API (api.openweathermap.org).
Setup:
- Sign up at https://openweathermap.org/users/sign_up (free tier: 60 calls/min, 1M/month).
- Go to https://home.openweathermap.org/api_keys → copy the default key OR create a new one labelled e.g.
mcp. - Wait ~10 minutes — new keys take time to activate on the free tier.
- Set
OPENWEATHER_API_KEY.
Authentication: every request takes appid=${OPENWEATHER_API_KEY} as a query string. The adapter injects it automatically — never include it in tool arguments.
Coordinates first: most endpoints want lat/lon, not city names. Use openweather_geocode_city first to translate London,GB into coordinates, then call the weather endpoints with the coordinates. The Geocoding API is free and unlimited within the regular rate limit.
Units: pass units=metric (Celsius, m/s) or units=imperial (Fahrenheit, mph). Default (standard) returns Kelvin and m/s — usually NOT what you want.
Language: pass lang=it / de / en for localized weather descriptions. The numeric data is always identical, only the human-readable weather[0].description string changes.
Forecast endpoints: the free tier exposes the 5-day/3-hour forecast (/data/2.5/forecast). The newer One Call 3.0 API (hourly + daily + minutely) requires a paid subscription — gated separately in the tool descriptions.
Rate limits: 60 calls/min on free tier; tighter limits on burst. On 429, exponential backoff. Errors come back as {cod, message} with HTTP 401 for bad key, 404 for unknown city, 429 for rate-limit.
Out of scope here: historical data (paid), weather maps tiles (different host, image returns), severe weather alerts (paid).