
sunshine-lang/dsh-weather
41Last commit Aug 14, 2026
dsh-weather DSH plugin
dsh-weather is a DeepSeek Harness plugin that provides a `get_weather` tool for fetching current weather conditions and optional multi-day forecasts (up to 7 days). It uses the free Open-Meteo API, supports Celsius/Fahrenheit units, and requires no API key or registration.
How to install the dsh-weather DSH plugin
dsh plugin --profile web add "github:sunshine-lang/dsh-weatherCopying does not run this command. Review the repository and version before installing the dsh-weather DSH plugin.
dsh-weather DSH plugin data source
dsh-weather DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-weather DSH plugin can do
- Get real-time temperature, feels-like, humidity, wind speed, and weather condition for any location
- Optional multi-day forecast (1–7 days) with daily high/low temperatures and conditions
- Support for both Celsius and Fahrenheit temperature units
- No API key or registration required; data sourced from Open-Meteo
- Configurable default units, timeout, and maximum forecast days via plugin configuration
Where the dsh-weather DSH plugin fits
- Check the current weather in any city during a conversation with the AI
- Plan a trip by asking for a 3-day forecast for a destination
- Compare weather conditions across multiple locations in real-time
- Integrate weather data into a larger workflow or automation using DSH skills
Who the dsh-weather DSH plugin is for
- DeepSeek Harness users who need quick weather information from the AI
- Developers building applications that require weather context within a DSH environment
dsh-weather DSH plugin limitations
- Requires DeepSeek Harness with the Web UI profile (`--profile web`) to be running
- Weather data depends on the Open-Meteo free API, which may have rate limits or data coverage limitations (not specified in the README)
dsh-weather DSH plugin: from the repository README
Quoted from the sunshine-lang/dsh-weather README, the upstream source of the dsh-weather DSH plugin. Copyright remains with the original authors.
- `get_weather` 工具:实时温度、体感温度、湿度、风速与天气状况。 - 可选多日预报(最多 7 天):每日最高/最低温度与天气状况。 - 支持摄氏 / 华氏温度单位。 - 无需 API key;数据来源:[Open-Meteo](https://open-meteo.com/)。 ## 安装 ### 从 GitHub 安装 ```sh dsh plugin --profile web add "github:sunshine-lang/dsh-weather" ``` 然后重启 `dsh --profile web`。`lib/` 已预构建并提交,安装无需构建权限。 ### 从 npm 安装 ```sh dsh plugin --profile web add dsh-weather ``` ### 从本地源码安装(开发) ```sh dsh plugin --profile web add ./dsh-weather ``` > 注意:pnpm 对 `link:` 方式的本地依赖不会自动安装其依赖,需要手动添加到 profile(通过 registry 或 GitHub 安装则会自动处理): > > ```sh > dsh plugin --profile web add @deepseek-ai/dsh-tools @deepseek-ai/cordis @deepseek-ai/schemastery > ``` ### 验证 ```sh dsh --profile web --dump-config # 应能看到 "# == dsh-weather" 层 ``` ## 使用方法 启动 Web UI 后,向模型提问,例如: > 上海现在天气怎么样? > > 查一下东京的天气,用华氏度,并给出 3 天预报。 模型会调用 `get_weather`:参数 `location`(必填),可选 `units`(`celsius` | `fahrenheit`)和 `days`(1–7)。 ## 配置 可通过 `cordis.patch.yml` 或 profile 的 patch 层覆盖任意配置项: ```yaml - patch: - id: dsh-weather config: defaultUnits: fahrenheit timeoutMs: 15000 maxForecastDays: 5 ``` | 配置项 | 默认值 | 含义 | | --- | --- | --- | | `defaultUnits` | `celsius` | 模型未传 `units` 时使用的温度单位 | | `timeoutMs` | `1000
Read the full READMERepository license: MIT
dsh-weather DSH plugin questions
How do I install dsh-weather?
You can install it via the command `dsh plugin --profile web add github:sunshine-lang/dsh-weather` or `dsh plugin --profile web add dsh-weather` if you prefer npm. After installation, restart the DSH Web UI with `dsh --profile web`.
Do I need an API key to use this plugin?
No, the plugin uses the Open-Meteo API which is completely free and does not require an API key or registration. You can start querying weather immediately after installation.
How can I change the default temperature unit to Fahrenheit?
You can set the default unit by patching the plugin configuration. In your `cordis.patch.yml` or profile patch layer, add a section like: `- patch: [id: dsh-weather, config: {defaultUnits: fahrenheit}]`. Then restart the Web UI.
Can I get a 7-day forecast for any city?
Yes, you can ask for up to 7 days of forecast by specifying the `days` parameter (1–7). The maximum can be limited by the `maxForecastDays` configuration, which defaults to 7. Note that the actual availability depends on the Open-Meteo data for that location.
What if I get an error when querying weather?
If the plugin fails to load due to invalid configuration, it will show an actionable error message. During API calls, network issues or timeouts (default 10 seconds) may occur. Check your internet connection and ensure the Web UI profile is correctly set up.