LandiWetter MCP Server
This is a Model Context Protocol (MCP) server that provides Swiss weather forecast data from LandiWetter. The server allows you to search for Swiss locations and get detailed weather forecasts.
Features
- Search for Swiss locations by name
- Get detailed weather forecasts for a specific location and date
- Access both hourly and daily forecast data
- Use as a tool or resource in MCP-compatible clients
Installation
- Clone the repository
- Install dependencies:Copy
Usage
Starting the Server
Run the server with:
This starts the MCP server using the stdio transport, making it compatible with MCP clients like Claude Desktop.
Integrating with Claude Desktop
- Open Claude Desktop
- Go to Settings > MCP > Add custom server
- Configure with the following details:
- Name: LandiWetter
- Command:
node /path/to/landiwetter-mcp/src/index.js
- Save and enable the server
Example Claude Prompts
Once the server is integrated with Claude Desktop, you can use natural language prompts to access weather forecasts:
To get a weather forecast:
To get a weather forecast for a specific date:
Available Tools
searchLocation
Search for Swiss locations by name.
Parameters:
locationName
: The name of the location to search for
Example:
getWeatherForecast
Get a detailed weather forecast for a specific location.
Parameters:
locationId
: The location ID (e.g., G2661552)date
(optional): The date for the forecast (yyyy-MM-dd). Defaults to today
Example:
Available Resources
weather-forecast
Access weather forecasts through a resource URI.
URI Template: weather://{location}/{date}
Where:
location
: The name of the location (e.g., "Zürich")date
(optional): The date for the forecast (yyyy-MM-dd). Defaults to today
Example:
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides Swiss weather forecast data, allowing users to search for Swiss locations and get detailed hourly and daily weather forecasts.
Related MCP Servers
- AsecurityAlicenseAqualityProvides hourly weather forecasts using the AccuWeather API, enabling users to access current weather conditions and detailed 12-hour forecasts tailored to specific locations.Last updated -13PythonThe Unlicense
- AsecurityFlicenseAqualityFetches precipitation forecasts for any location using Buienradar and integrates with Claude for Desktop to provide accurate two-hour weather predictions.Last updated -1Python
- AsecurityFlicenseAqualityProvides weather forecast data for locations in China using the HeFeng Weather API, with real-time, hourly, or daily forecasts and location-based queries.Last updated -172TypeScript
- AsecurityAlicenseAqualityFetches tide information for any location using latitude and longitude, providing detailed tide data including high/low tides and station information with automatic UTC time zone handling.Last updated -111PythonMIT License