W

weather-mcp-serverweather-mcp-server MCP 服务

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

Weather MCP Server 是一个基于 Model Context Protocol (MCP) 的天气数据服务,使用 FastAPI 和 MCP 框架构建。它提供各种天气相关的工具,用于 AI 助手从 WeatherAPI 中获取当前天气状况、预报、空气质量信息等数据。该服务器提供当前天气状况、天气预报(1-14 天)、历史天气数据、天气警报、空气质量信息、天文数据(日出、日落、月相)以及地理位置搜索、时区信息等功能。它针对 AI 助手设计,需要提供 WeatherAPI API 密钥才能正常工作。

主要功能

  • 当前天气状况
  • 天气预报(1-14 天)
  • 历史天气数据
  • 天气警报
  • 空气质量信息
  • 天文数据(日出、日落、月相)

价格

模型
Free
评分
暂无评价

使用场景

与AI助手集成

将Weather MCP Server与AI助手集成,向用户提供实时天气信息和预报。

天气数据检索

以某个特定地理位置为基础,从Weather MCP Server中检索当前天气状况、历史数据和天气警报。

优点 & 缺点

优点

  • 提供天气相关的丰富数据
  • 以FastAPI为基础,具有出色的性能
  • 支持MCP协议,适配AI助手

缺点

  • 需要WeatherAPI API 密钥才能正常工作
  • 仅支持Python 3.13+环境

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

How can I integrate weather-mcp-server with an AI assistant?

The server implements the Model Context Protocol (MCP) over FastAPI, exposing endpoints for current conditions, forecasts, alerts, etc.; an AI assistant can call these MCP endpoints via HTTP to retrieve weather data.

Asked by Ethan Brooks · Jun 6, 2026

What Python version and environment are required to host the server?

The server runs on Python 3.13 or newer and uses the uv package manager for dependency handling, so you need a compatible Python 3.13+ runtime.

Asked by Valentina Marino · Mar 27, 2026

Do I need any external API keys to run weather-mcp-server?

Yes, the server requires a valid WeatherAPI API key, which you set in a .env file as WEATHER_API_KEY; without it the endpoints will not return data.

Asked by Kirsi Laine · Feb 27, 2026

提问

服务配缩器 的替代品