LandiWetter MCP Server

by nabossha
MIT License
1

LandiWetter MCP 服务器

这是一个模型上下文协议 (MCP) 服务器,提供来自 LandiWetter 的瑞士天气预报数据。您可以利用该服务器搜索瑞士的地点并获取详细的天气预报。

特征

  • 按名称搜索瑞士地点
  • 获取特定地点和日期的详细天气预报
  • 访问每小时和每日的预测数据
  • 用作 MCP 兼容客户端中的工具或资源

安装

  1. 克隆存储库
  2. 安装依赖项:
    npm install

用法

启动服务器

使用以下命令运行服务器:

npm start

这将使用 stdio 传输启动 MCP 服务器,使其与 Claude Desktop 等 MCP 客户端兼容。

与 Claude Desktop 集成

  1. 打开 Claude 桌面
  2. 前往“设置”>“MCP”>“添加自定义服务器”
  3. 使用以下详细信息进行配置:
    • 姓名:LandiWetter
    • 命令: node /path/to/landiwetter-mcp/src/index.js
  4. 保存并启用服务器

克劳德提示示例

一旦服务器与 Claude Desktop 集成,您就可以使用自然语言提示来访问天气预报:

获取天气预报:

What's the weather forecast for Bern, Switzerland?

要获取特定日期的天气预报:

What's the weather forecast for Zürich on 2025-05-10?

可用工具

搜索位置

按名称搜索瑞士地点。

参数:

  • locationName :要搜索的位置的名称

例子:

Please search for locations named "Zürich"

获取天气预报

获取特定位置的详细天气预报。

参数:

  • locationId :位置 ID(例如,G2661552)
  • date (可选):预报日期(yyyy-MM-dd)。默认为今天

例子:

Please get the weather forecast for location ID G2661552

可用资源

天气预报

通过资源 URI 访问天气预报。

URI 模板: weather://{location}/{date}

在哪里:

  • location :位置名称(例如“苏黎世”)
  • date (可选):预报日期(yyyy-MM-dd)。默认为今天

例子:

Please check the resource at weather://Zürich/2025-05-03

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

提供瑞士天气预报数据,让用户可以搜索瑞士各个地点并获取详细的每小时和每天的天气预报。

  1. 特征
    1. 安装
      1. 用法
        1. 启动服务器
        2. 与 Claude Desktop 集成
        3. 克劳德提示示例
      2. 可用工具
        1. 搜索位置
        2. 获取天气预报
      3. 可用资源
        1. 天气预报

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Provides 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 -
        1
        3
        Python
        The Unlicense
      • A
        security
        F
        license
        A
        quality
        Fetches precipitation forecasts for any location using Buienradar and integrates with Claude for Desktop to provide accurate two-hour weather predictions.
        Last updated -
        1
        Python
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        Provides 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 -
        1
        7
        2
        TypeScript
      • A
        security
        A
        license
        A
        quality
        Fetches 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 -
        1
        11
        Python
        MIT License
        • Apple

      View all related MCP servers

      ID: 12j27mrkki