A tiny Go MCP that answers 'what's the weather in X?' using WeatherAPI — one tool, one env var, zero ceremony.
weather-mcp-server is a minimal Go server exposing a single current_weather tool that calls WeatherAPI.com. Useful as a 'hello world' MCP, a building block for location-aware agents, or a quick way to add weather awareness without pulling in a heavier maps MCP.
claude mcp add weather -- TODO 'See README: https://github.com/ezh0v/weather-mcp-server'
一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。
使用場景
實戰用法: weather-mcp-server
Give your personal assistant weather awareness
👤 Anyone using Claude as a daily assistant⏱ ~10 minbeginner
何時使用: You ask Claude for weather and it keeps saying 'I don't have real-time data'. Fix that in 5 minutes.
前置條件
WeatherAPI.com free API key — weatherapi.com/signup — 1M calls/month free
步驟
Set up and connect
Install weather-mcp-server via Docker with WEATHER_API_KEY=... and connect from Claude Desktop.✓ 已複製
→ current_weather tool visible
Ask naturally
What's the weather like in Tokyo right now? Should I bring a jacket for a walk?✓ 已複製
→ Real-time conditions + actionable suggestion
結果: Instant weather checks without a separate app.
注意事項
Free tier limits + no forecast endpoint here — This tool is current-conditions only; use weatherapi's REST API directly for 7-day forecast or swap to a more feature-rich weather MCP
Generate a morning travel briefing for multiple cities