Meteostat CLI
On this page
The Meteostat CLI gives you direct access to weather and climate data from the terminal. It is built on top of the Meteostat Python library and lets you query historical observations, browse weather stations, and export data in a variety of formats — all without writing a single line of code.

📚 Installation#
Install the CLI via PyPI:
Bash
uv tool install meteostat-cliFor plotting capabilities (png and svg output), install the plot extra:
Bash
uv tool install "meteostat-cli[plot]"Alternatively, you can use uvx:
Bash
uvx meteostat-cli [YOUR_COMMAND]⚡ Shell Completion#
To enable shell completion (Bash, Zsh, Fish, PowerShell), run the following command:
Bash
meteo --install-completion🚀 Usage#
Want to know the hottest temperature of 2024 at Frankfurt Airport (station 10637)? Run the following command:
Bash
meteo daily 10637 -s 2024-01-01 -e 2024-12-31 -p tmax --agg maxThis will yield the following output:
Text
tmax
station
10637 35.9👀 Learn More#
Weather Stations10 pagesTime Series4 pagesConfigurationManage the Meteostat CLI configuration. Settings are stored in a cli.yml file in the platform-specific app directory (e.g. ~/.config/meteostat/cli.yml on Linux).AI SkillThe AI skill provides a natural language interface to the Meteostat CLI. It allows you to ask questions about weather and climate data in plain English and get instant answers —…