weather-mcp-server
If you are the rightful owner of weather-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
这是一个基于 FastMCP 构建的天气查询服务器,提供城市天气信息查询服务。
天气 MCP 服务器是一个基于 FastMCP 构建的应用程序,专门用于提供全球城市的天气信息查询服务。用户可以通过该服务器获取特定城市的温度、湿度和天气描述信息,并支持摄氏度和华氏度之间的温度单位切换。该服务器利用 Model Context Protocol (MCP) 实现,确保高效和可靠的服务交付。此外,服务器还具备完整的日志记录功能,便于监控和调试。安装要求包括 Python 3.8+ 和 OpenWeatherMap API 密钥,用户可以通过简单的命令行操作快速启动和运行服务器。
Features
- 支持全球城市天气查询
- 提供温度、湿度和天气描述信息
- 支持摄氏度和华氏度温度单位切换
- 基于 Model Context Protocol (MCP) 实现
- 完整的日志记录
Tools
get_weather
获取指定城市的天气信息。