A simple Model Context Protocol (MCP) server that connects Claude Desktop to the Deutsche Wetterdienst (DWD) API for German weather data.
- Simple, lightweight Node.js implementation
- No dependencies beyond the MCP SDK
- Easy to set up and use
- Access to DWD weather station data and warnings
-
Make the setup script executable:
chmod +x setup.sh
-
Run the setup script:
./setup.sh
-
Restart Claude Desktop
-
Start using the DWD data in your conversations with Claude!
Get current weather data for specific DWD weather stations.
Example usage in Claude:
Can you check the current weather for station 10865 (Berlin-Tegel)?
Get current nowcast weather warnings in Germany.
Example usage in Claude:
Are there any current weather warnings in Germany? Can you check using the DWD API?
The DWD API requires specific station IDs. You can find these at:
Common station IDs:
- 10381: Berlin-Brandenburg
- 10865: Berlin-Tegel
- 10147: Hamburg
- 10637: Köln-Bonn
- 10870: Munich
If the setup script doesn't work for you, you can manually configure Claude Desktop:
-
Install dependencies:
npm install
-
Create or edit
~/.config/claude/claude_desktop_config.json:{ "mcpServers": { "dwd": { "command": "node", "args": [ "/full/path/to/dwd-server.js" ] } } } -
Restart Claude Desktop
- Make sure Node.js 18+ is installed
- Check if the MCP server is running properly:
node dwd-server.js - Verify the path in claude_desktop_config.json is correct
- Restart Claude Desktop after configuration changes