使用说明
LLM客户端(克劳德/桌面)↔ MCP服务器(通过stdio访问weather.py)↔ 外部API(API.weither.gov) 我们的服务器将get_alerts和get_forecast作为工具公开。法学硕士选择并称呼他们。 make_nws_request(HTTP,重试),format_alert(格式化程序),@mcp.tool函数(get_alerts,get_forecast)。
提供天气警报和预报数据访问的API服务,支持通过LLM调用。
LLM客户端(克劳德/桌面)↔ MCP服务器(通过stdio访问weather.py)↔ 外部API(API.weither.gov) 我们的服务器将get_alerts和get_forecast作为工具公开。法学硕士选择并称呼他们。 make_nws_request(HTTP,重试),format_alert(格式化程序),@mcp.tool函数(get_alerts,get_forecast)。