whaoran1018-cmd/dsh-plugin-weather ↗★ 0
dsh-plugin-weather
Global weather, multi-day forecast and air quality for DeepSeek Harness, Claude Code, Codex, Cursor and any MCP/shell agent — temperature, feels-like, humidity, UV index, sunrise/sunset, wind, PM2.5/AQI, in 9 languages. Open-Meteo, no API key.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:whaoran1018-cmd/dsh-plugin-weatherドキュメント
README 全文を読む ↗Usage
Just ask:
- "What's the weather in Shanghai?" / "上海现在天气怎么样"
- "Is it going to rain this week in New York?" / "上海未来 7 天"
- "Air quality in Jakarta" / "雅加达空气好不好"
- "What time is sunrise tomorrow?" / "明天几点日出"
- "Hourly forecast for Oct 7" (the model passes
date: "2026-10-07") - "UV index at 31.23,121.47" (raw coordinates work too)
Each call returns two blocks: a human-readable summary (localised, with levels and emoji) and the complete JSON, so the model can reason about exact numbers.
Options
| Parameter | Applies to | Notes |
|---|---|---|
location | both | City name (Chinese or English) or "lat,lon". Falls back to config defaultLocation, then public-IP location. |
latitude / longitude | both | Explicit coordinates; take precedence over location. |
units | both | metric (°C / km/h / mm) or imperial (°F / mph / inch). |
includeAirQuality | both | Defaults to the plugin config (true). |
days | both | 0–16. get_weather defaults to 3, get_weather_forecast to 5. |
includeHourly | forecast | Hourly rows from now, capped at 48. |
date | forecast | YYYY-MM-DD. Returns that day's 24 hourly rows; auto-widens the window to 16 days when needed. |
Plugin config
Set from the plugin settings UI, or in the profile's cordis.patch.yml under the row's config:
| Key | Default | Meaning |
|---|---|---|
defaultLocation | "" | Used when no location is given. Empty = public-IP lookup. |
language | en | Summary language — see Languages. |
units | metric | metric or imperial. |
includeAirQuality | true | Attach the air-quality block. |
cacheTtlSeconds | 300 | Local cache for identical requests; 0 disables. |
requestTimeoutMs | 15000 | Per-request upstream timeout. |
provider | auto | auto falls back to wttr.in if Open-Meteo fails; open-meteo never falls back. |