m

mcp-sse的NWS天气服务

@Magic-boxes/nws-weather
0 Stars 82 次浏览 Magic-boxes 更新于 2026-08-23

MCP服务器(openai接口格式),通过调用NWS查询美国天气。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "nws-weather": {
      "args": [
        "./server-stdio.py"
      ],
      "command": "python"
    }
  }
}

服务介绍

mcp-sse的NWS天气服务

简介:调用NWS查询美国天气的MCP Server(openai接口格式)

server-sse运行:

python ./server.py --host=0.0.0.0 --port=8080

client-sse运行

python ./client.py http://localhost:8080/sse/

Configure:

{
  "mcpServers": {
    "nws-weather": {
      "command": "python",
      "args": ["./server-stdio.py"]
    }
  }
}