meteostat
Access and analyze historical weather and climate data with Python.
Decision gist · record as of 2026-08-14
Yes, if you need historical weather data and can work with Python 3.11+. Low install friction, active maintenance, and no known vulnerabilities make it a practical choice. Verify the actual license terms in the repository before use, since the package metadata does not formally declare them. Data accuracy and availability vary by region—test coverage for your location of interest first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; data retrieval depends on network access to Meteostat's data providers.
- Low install friction with a pure-Python wheel and only three common runtime dependencies (pandas, pytz, requests).
- Actively maintained with a recent release.
License · maintenance · safety
(unclear) — License treatment is unclear in the package metadata. The description notes MIT licensing for the package itself and CC BY 4.0 for the underlying data, but this is not formally declared in the package metadata—verify the actual license terms before use.
last release 2026-03-21 (146 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 699,610 downloads/mo, #5,295 on PyPI
Alternatives
Verify before relying
pip install meteostat
from datetime import date
import meteostat as ms
point = ms.Point(50.1155, 8.6842, 113)
stations = ms.stations.nearby(point, limit=4)
ts = ms.daily(stations, date(2018, 1, 1), date(2018, 12, 31))
df = ms.interpolate(ts, point).fetch()- Actual data availability and coverage for specific regions and historical periods
- Rate limits or quotas on API requests to Meteostat data providers
- Accuracy and completeness of interpolation for sparse station networks
What it is and what it does
Meteostat is a Python library for fetching and analyzing historical weather and climate data from a global network of weather stations. It abstracts away the complexity of locating nearby stations, retrieving measurements, and handling missing data through interpolation, letting you work directly with pandas DataFrames of temperature, precipitation, and other meteorological variables.
The package is designed for researchers, data analysts, and developers who need historical weather records for specific locations and time ranges. It handles station discovery by geographic proximity, data aggregation from multiple sources, and spatial interpolation to fill gaps. The main runtime dependencies are pandas (for data manipulation), requests (for HTTP access to data providers), and pytz (for timezone handling).
Use it for
- Retrieve daily temperature data for a city over a year to analyze seasonal trends or validate climate models.
- Build a dataset of precipitation records for multiple locations to study rainfall patterns across regions.
- Interpolate weather measurements from nearby stations to estimate conditions at a specific coordinate with no direct observations.
- Combine historical weather data with other datasets (e.g., crop yields, energy consumption) for correlation analysis.
- Validate or backfill gaps in your own weather station data using Meteostat's global network.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need historical weather data and can work with Python 3.11+.
Low install friction, active maintenance, and no known vulnerabilities make it a practical choice. Verify the actual license terms in the repository before use, since the package metadata does not formally declare them. Data accuracy and availability vary by region—test coverage for your location of interest first.
Install
meteostat on PyPI
Before you install
Low install friction with a pure-Python wheel and only three common runtime dependencies (pandas, pytz, requests). Actively maintained with a recent release.
Requires Python 3.11 or later; data retrieval depends on network access to Meteostat's data providers.
License in practice
License treatment is unclear in the package metadata. The description notes MIT licensing for the package itself and CC BY 4.0 for the underlying data, but this is not formally declared in the package metadata—verify the actual license terms before use.
Quickstart
pip install meteostat
from datetime import date
import meteostat as ms
point = ms.Point(50.1155, 8.6842, 113)
stations = ms.stations.nearby(point, limit=4)
ts = ms.daily(stations, date(2018, 1, 1), date(2018, 12, 31))
df = ms.interpolate(ts, point).fetch()
Verify before relying
- Actual data availability and coverage for specific regions and historical periods
- Rate limits or quotas on API requests to Meteostat data providers
- Accuracy and completeness of interpolation for sparse station networks
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release <4.0,>=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespandaspytzrequests |
| Maintenance | Actively maintained 146 days since the last release |
| First released | |
| Downloads | 699,610 / month, #5,295 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: meteostat-2.1.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “historical weather data python”
- meteostatMeteostat provides access to historical weather and climate data from…
- openmeteo-requestsFetches weather data from the Open-Meteo API using FlatBuffers for…
- semantic-link-functions-meteostatAdds semantic functions to FabricDataFrame that automatically enrich…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also semantic-link-functions-meteostat · openmeteo-requests · atcf-data-parser · simple-dwd-weatherforecast · earthkit-meteo · metar · cdsapi · env_canada · MetPy · openmeteo-sdk