dwd-mcp
Enables access to German weather data from the Deutscher Wetterdienst, including station observations, forecasts, and warnings, through standardized MCP tools.
README
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
Usage
Starting the Server
# Run the MCP server
uv run dwd-mcp
Tool 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 -v
Code 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 tests
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.