
DWD MCP Server
A simple mcp-server via the Deutscher Wetterdienst API
what is DWD MCP Server?
DWD MCP Server is a simple Model Context Protocol (MCP) server that connects Claude Desktop to the Deutsche Wetterdienst (DWD) API for accessing German weather data.
how to use DWD MCP Server?
To use DWD MCP Server, execute the setup script to configure it, then restart Claude Desktop to start using DWD weather data in your conversations.
key features of DWD MCP Server?
- 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
use cases of DWD MCP Server?
- Retrieving current weather data for specific locations in Germany.
- Checking for current weather warnings in Germany.
- Integrating weather data into applications using Claude Desktop.
FAQ from DWD MCP Server?
- What is the DWD API?
The DWD API provides access to weather data and warnings from the German Weather Service.
- How do I find station IDs?
You can find station IDs on the Official DWD station list.
- What should I do if the setup script doesn't work?
You can manually configure Claude Desktop by installing dependencies and editing the configuration file.
DWD MCP Server
A simple Model Context Protocol (MCP) server that connects Claude Desktop to the Deutsche Wetterdienst (DWD) API for German weather data.
Features
- 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
Quick Start
-
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!
Available Tools
get_station_data
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_nowcast_warnings
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?
Finding Station IDs
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
Manual Setup
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
Troubleshooting
- 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