remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Provides weather information through the Open-Meteo API, allowing users to get current weather conditions for specified cities.
天气 MCP 服务器
使用 Open-Meteo API 提供天气信息的模型上下文协议 (MCP) 服务器。
特征
- 获取指定城市的当前天气信息。
安装
该服务器设计为通过将其配置添加到cline_mcp_settings.json
文件来手动安装。
- 将以下条目添加到
cline_mcp_settings.json
文件中的mcpServers
对象:
Copy
- 保存
cline_mcp_settings.json
文件。
配置
此服务器不需要 API 密钥。它使用免费且开源的 Open-Meteo API。
用法
该服务器提供一个工具: get_weather
。
get_weather
检索给定城市的当前天气信息。
参数:
city
(字符串,必需):城市名称。
例子:
要获取台北的天气,您可以使用如下工具:
Copy
Pip 安装和使用
可以使用 pip 安装此包:
Copy
安装后,您可以使用mcp_weather_server
命令行工具:
Copy
将"Your City"
替换为您要获取天气信息的城市。
This server cannot be installed
模型上下文协议服务器使用 Open-Meteo API 检索指定城市的当前天气信息,无需 API 密钥。