Returns current conditions and forecasts for any location from WeatherAPI.com.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add weather-server-sjanax01 -- npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude~/.codex/config.toml
[mcp_servers.weather-server-sjanax01]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@devilcoder01/weather-mcp-server", "--client", "claude"]
# codex mcp add weather-server-sjanax01 -- npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude~/.cursor/mcp.json
{
"mcpServers": {
"weather-server-sjanax01": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devilcoder01/weather-mcp-server",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"weather-server-sjanax01": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devilcoder01/weather-mcp-server",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"weather-server-sjanax01": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devilcoder01/weather-mcp-server",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"weather-server-sjanax01": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devilcoder01/weather-mcp-server",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"weather-server-sjanax01": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devilcoder01/weather-mcp-server",
"--client",
"claude"
]
}
}
}