Provides weather data for locations in China from the HeFeng Weather API: real-time, hourly and daily forecasts by coordinates.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add hefeng-weather -- npx hefeng-mcp-weather@latest '--apiKey=${API_KEY}'~/.codex/config.toml
[mcp_servers.hefeng-weather]
command = "npx"
args = ["hefeng-mcp-weather@latest", "--apiKey=${API_KEY}"]
# codex mcp add hefeng-weather -- npx hefeng-mcp-weather@latest '--apiKey=${API_KEY}'~/.cursor/mcp.json
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": [
"hefeng-mcp-weather@latest",
"--apiKey=${API_KEY}"
]
}
}
}.vscode/mcp.json
{
"servers": {
"hefeng-weather": {
"type": "stdio",
"command": "npx",
"args": [
"hefeng-mcp-weather@latest",
"--apiKey=${API_KEY}"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": [
"hefeng-mcp-weather@latest",
"--apiKey=${API_KEY}"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": [
"hefeng-mcp-weather@latest",
"--apiKey=${API_KEY}"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": [
"hefeng-mcp-weather@latest",
"--apiKey=${API_KEY}"
]
}
}
}