Preface

In agent environments like DSH where everything is a plugin, many external capabilities need to be accessed through plugins. Weather querying is a typical requirement: directly integrating third-party weather APIs often requires registration, API key application, and quota management. dsh-weather uses Open-Meteo as its data source, which is free, requires no API key, and needs no registration. The plugin simply passes query parameters to Open-Meteo and returns the results for the model to use.

What is this

dsh-weather is a DeepSeek Harness plugin maintained by sunshine-lang under the MIT license. It provides the get_weather tool for DSH to query real-time weather for any city or location, as well as multi-day forecasts for up to 7 days. Weather data comes from Open-Meteo.

Core Features

  • Provides the get_weather tool to query real-time temperature, apparent temperature, humidity, wind speed, and weather conditions.
  • Supports optional multi-day forecasts up to 7 days, returning daily high/low temperatures and weather conditions.
  • Supports Celsius / Fahrenheit temperature units.
  • Data comes from Open-Meteo, free, no API key required, no registration needed.

Call parameters are as follows:

location: Required
units: Optional, celsius | fahrenheit
days: Optional, 1–7

units specifies the temperature unit; days specifies the forecast duration.

Installation

The verified information provides the following GitHub installation command:

dsh plugin --profile web add "github:sunshine-lang/dsh-weather"

This command installs dsh-weather into the web profile. DSH plugins run with the current dsh process privileges; you should review the source code and license before installation. dsh-weather’s license is MIT, and weather data is © Open-Meteo.

Typical Usage

After launching the Web UI, you can directly query the model. Verified examples include:

What's the weather like in Shanghai now?

If you want to specify units and forecast days, you can ask like this:

Check the weather in Tokyo in Fahrenheit and provide a 3-day forecast.

The model will then call get_weather. The location parameter is required; units can be set to celsius or fahrenheit; days ranges from 1 to 7.

Configuration and Limits

The default configuration is as follows:

defaultUnits=celsius
timeoutMs=10000
maxForecastDays=7

defaultUnits indicates the temperature unit used when the model does not pass units; timeoutMs specifies the timeout for each weather API call in milliseconds; maxForecastDays sets the upper limit for the days parameter.

If the configuration is invalid, the plugin will fail to load and provide an actionable error message.

Local Source Code and Runtime Environment

If installing or developing from local source code, the information notes that pnpm does not automatically install dependencies for link: local dependencies, and they need to be added manually:

dsh plugin --profile web add @deepseek-ai/dsh-tools @deepseek-ai/cordis @deepseek-ai/schemastery

The package.json requires Node version:

>=22.19

Conclusion

dsh-weather serves a focused purpose: providing a weather query tool within DSH’s Web UI, eliminating the need to apply for an Open-Meteo account or API key, while retaining control over Celsius/Fahrenheit units and forecasts up to 7 days.

The community directory is an independent site with no official affiliation with DeepSeek / High-Flyer. The verified information does not provide the directory page URL, and this article does not list specific addresses.

Project repository:

https://github.com/sunshine-lang/dsh-weather