mcp-server-nws-weather

Magic-boxes/mcp-server-nws-weather

3.1

If you are the rightful owner of mcp-server-nws-weather and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The MCP-SSE NWS Weather Service is a server-client setup that allows users to query weather information from the National Weather Service (NWS) using the Model Context Protocol (MCP) with Server-Sent Events (SSE).

mcp-sse的NWS天气服务

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

默认python版本:3.11(可自行修改,依赖库下载正常即可)

下载依赖

uv sync

server-sse运行:

uv run ./server-sse.py --host=0.0.0.0 --port=8080

client-sse运行

uv run ./client-sse.py http://localhost:8080/sse/

Configure:

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