Back to MCP Servers

Weather

Access real-time weather data for any location using the WeatherAPI.com API, providing detailed forecasts and current conditions.

location-servicesapiai

Installation

npx -y weather-mcp-server

Configuration

{
  "mcpServers": {
    "weather-mcp-server": {
      "command": "npx",
      "args": ["-y", "weather-mcp-server"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub