dwd-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dwd-mcpwhat are the current weather warnings in Bayern?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dwd-mcp
MCP-DWD is a Model Context Protocol (MCP) server that provides seamless access to open data from the Deutscher Wetterdienst (DWD). It exposes weather observations, forecasts, and warnings through standardized MCP tools, enabling applications and AI agents to query and integrate German weather data reliably.
Note: MCP-DWD is not an official service of the Deutscher Wetterdienst. The community-driven endpoint at dwd.api.bund.dev may be used as a data source, but it is maintained independently of DWD.
Features
MCP Tools
get_weather_stations- Retrieve detailed weather station data with optional filtering by station IDs or regionget_current_warnings- Fetch active weather warnings with severity level and region filteringget_crowd_reports- Access user-submitted weather observations and reports
MCP Resources
weather://stations/all- Complete list of all available weather stationsweather://warnings/current- Active weather warnings in structured formatweather://reports/crowd- User-submitted weather observations
Data Types
Weather Stations: Station metadata, measurements, coordinates, elevation
Weather Warnings: Severity levels, affected regions, time validity, descriptions
Crowd Reports: User-submitted conditions, temperatures, locations, comments
Related MCP server: mcp-weather
Usage
Starting the Server
# Run the MCP server
uv run dwd-mcpTool Examples
// Get specific weather stations
{
"name": "get_weather_stations",
"arguments": {
"station_ids": ["10637", "10382"],
"region": "Hessen"
}
}
// Get severe weather warnings
{
"name": "get_current_warnings",
"arguments": {
"severity": 3,
"region": "Bayern"
}
}
// Get crowd-sourced reports
{
"name": "get_crowd_reports",
"arguments": {
"region": "Berlin"
}
}Development
This project uses Python with uv for package management.
Setup
# Install dependencies
uv sync
# Add new dependency
uv add <package>Testing
# Run all tests
uv run pytest
# Run tests with coverage
uv run pytest --cov
# Run tests in watch mode (verbose)
uv run pytest -vCode Quality
# Run linting
uv run ruff check .
# Auto-fix linting issues
uv run ruff check . --fix
# Format code
uv run black .
# Type checking
uv run mypy src/Project Structure
src/dwd_mcp/
├── __init__.py # Package entry point
├── client.py # DWD API client
├── models.py # Pydantic data models
└── server.py # MCP server implementation
tests/
├── test_client.py # API client tests
├── test_models.py # Data model tests
└── test_server.py # MCP server testsThis server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.
MET Norway (api.met.no) MCP — global weather, Nordics specials.
FMI MCP — Finnish Meteorological Institute open WFS.
Related MCP Servers
- AlicenseAqualityBmaintenanceKeyless remote MCP server for German public-infrastructure open data: weather, air quality, traffic, public transit, parking and roadworks across 84+ German cities (DWD, Umweltbundesamt, Mobilithek, GovData). 38 read-only tools.1215Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables to interact with comprehensive weather data through the MCP protocol, including current conditions, multi-day forecasts, hourly forecasts, and geocoding.14 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides Finnish Meteorological Institute weather data including forecasts, observations, and warnings through the MCP protocol.2 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server providing weather data via the Open-Meteo API, including geocoding, current conditions, daily and hourly forecasts, and city lookup. No API key required, with support for multiple units and transport types.1MIT