天气数据服务

提供阿根廷地区的天气预报和实时天气信息的MCP服务器工具。

  • by ldidone
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 ldidone/weather_mcp

使用说明

阿根廷天气MCP

MCP服务器提供阿根廷天气作为工具。 该项目基于 MCP服务器快速入门文档.

服务器公开了2个工具:

  • get_forecast:允许基于SMN获取阿根廷位置的天气预报。
  • get_weather:允许基于SMN获取特定阿根廷城市的天气信息。

将Claude Desktop配置为主机:

要将此MCP服务器与Claude Desktop一起使用,您需要将以下配置添加到文件中 claude_desktop_config.json:

{
    "mcpServers": {
        "weather": {
            "command": "uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather,
                "run",
                "weather.py"
            ]
        }
    }
}

使用示例:

在下图中,您可以看到一个使用MCP和Claude Desktop以西班牙语请求预测的示例:

联系我: