Provides weather data from Caiyun (ColorfulClouds) Weather so agents can answer questions about current and forecast weather.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add caiyun-weather --env CAIYUN_WEATHER_API_TOKEN='<CAIYUN_WEATHER_API_TOKEN>' -- uvx mcp-caiyun-weather~/.codex/config.toml
[mcp_servers.caiyun-weather]
command = "uvx"
args = ["mcp-caiyun-weather"]
env = { CAIYUN_WEATHER_API_TOKEN = "<CAIYUN_WEATHER_API_TOKEN>" }
# codex mcp add caiyun-weather --env CAIYUN_WEATHER_API_TOKEN='<CAIYUN_WEATHER_API_TOKEN>' -- uvx mcp-caiyun-weather~/.cursor/mcp.json
{
"mcpServers": {
"caiyun-weather": {
"command": "uvx",
"args": [
"mcp-caiyun-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "<CAIYUN_WEATHER_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"caiyun-weather": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-caiyun-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "<CAIYUN_WEATHER_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"caiyun-weather": {
"command": "uvx",
"args": [
"mcp-caiyun-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "<CAIYUN_WEATHER_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"caiyun-weather": {
"command": "uvx",
"args": [
"mcp-caiyun-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "<CAIYUN_WEATHER_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"caiyun-weather": {
"command": "uvx",
"args": [
"mcp-caiyun-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "<CAIYUN_WEATHER_API_TOKEN>"
}
}
}
}需要的环境变量
CAIYUN_WEATHER_API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。