Get the FREE Ultimate OpenClaw Setup Guide →

dwd

A simple mcp-server via the Deutscher Wetterdienst API

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio lincw-dwd-mcp-server node /full/path/to/dwd-server.js

How to use

This MCP server provides lightweight access to the Deutsche Wetterdienst (DWD) weather data through two tools integrated with Claude Desktop. The get_station_data tool fetches current weather data for a specified DWD weather station by its ID, enabling you to reference real-time conditions within your conversations. The get_nowcast_warnings tool retrieves current nowcast warnings across Germany, helping you surface urgent weather alerts when discussing plans or safety-sensitive topics. To use these tools, ensure Claude Desktop is connected to the DWD MCP server and invoke the tools through natural language prompts, such as asking for the current weather at a particular station or querying for any active warnings across the country. The server exposes the DWD data in a structured format suitable for integration into your chat prompts and responses.

How to install

Prerequisites:

  • Node.js 18+ installed on your system
  • Access to Claude Desktop with MCP server integration

Installation steps:

  1. Prepare the environment and install dependencies (from the project directory): npm install

  2. Ensure the setup script is executable and run it to start the server: chmod +x setup.sh ./setup.sh

  3. If you need to configure manually, create or edit Claude Desktop's MCP configuration to point to the server script, for example:

    • Path to server: /full/path/to/dwd-server.js
    • Node command: node
  4. Restart Claude Desktop to apply the MCP server configuration.

Notes:

  • If the setup script or npm install steps fail, verify network access and Node.js installation.
  • The server script path must be accurate in your Claude Desktop configuration for it to connect successfully.

Additional notes

Tips and considerations:

  • The two available tools are get_station_data and get_nowcast_warnings. Use get_station_data with a valid DWD station ID (e.g., 10865 for Berlin-Tegel) to retrieve current weather data.
  • For warnings, use get_nowcast_warnings to fetch active nowcast alerts across Germany.
  • Ensure Node.js 18+ is installed, and that Claude Desktop is restarted after configuring or updating the MCP server.
  • If you encounter path issues, double-check the absolute path to dwd-server.js in the Claude Desktop configuration.
  • The DWD station IDs are stable but refer to the official DWD station list for the most up-to-date identifiers.

Related MCP Servers

Sponsor this space

Reach thousands of developers