DWD MCP Server

by lincw

324 downloads
Not rated
GitHub

About

A simple mcp-server via the Deutscher Wetterdienst API

Details

Author
lincw
Downloads
324
Categories
Other

- Simple, lightweight Node.js implementation
- No dependencies beyond the MCP SDK
- Access DWD weather station data (current observations)
- Access DWD nowcast weather warnings for Germany
- Easy to set up and use with Claude Desktop

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name DWD MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run the provided setup script (chmod +x setup.sh && ./setup.sh), then restart Claude Desktop. For manual setup, install dependencies (npm install) and add a configuration entry to ~/.config/claude/claude_desktop_config.json pointing to dwd-server.js. After configuration, ask Claude for weather data or warnings using the available tools.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dwd mcp server": {
            "dwd": {
                "command": "node",
                "args": [
                    "/full/path/to/dwd-server.js"
                ]
            }
        }
    }
}

McpServers

{
    "dwd": {
        "command": "node",
        "args": [
            "/full/path/to/dwd-server.js"
        ]
    }
}

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

1. Make the setup script executable:

   chmod +x setup.sh

2. Run the setup script:

   ./setup.sh

3. Restart Claude Desktop

4. 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:
- Official DWD station list

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:

1. Install dependencies:

   npm install

2. Create or edit ~/.config/claude/claude_desktop_config.json:

   {
"mcpServers": {
"dwd": {
"command": "node",
"args": [
"/full/path/to/dwd-server.js"
]
}
}
}

3. 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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.