MCP server for WeatherAPI.com — real-time weather, forecasts, history, marine, astronomy, air quality and more for AI agents
MCP server for WeatherAPI.com — real-time weather, forecasts, history, marine, astronomy, air quality and more for AI agents
Official MCP (Model Context Protocol) server for WeatherAPI.com. Gives AI agents like Claude direct access to real-time weather, forecasts, historical data, astronomy, marine weather, air quality, and more.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| get_current_weather | Real-time conditions — temp, wind, humidity, UV, pressure, AQI |
| get_forecast | Up to 14-day forecast with hourly breakdown and alerts |
| get_history | Historical weather from 1 Jan 2010 onwards |
| get_future_weather | Long-range forecast 14–300 days ahead (Pro+ plan) |
| get_marine_weather | Wave height, swell, tide data for coastal/ocean points |
| get_astronomy | Sunrise, sunset, moonrise, moon phase, illumination |
| get_timezone | IANA timezone and local time for any location |
| search_locations | Autocomplete city/town search with coordinates |
| ip_lookup | Geolocate an IP address or auto-detect caller's location |
| get_alerts | Government weather warnings (USA, UK, Europe, worldwide) |
| get_sports | Upcoming football, cricket, and golf events |
{
"mcpServers": {
"weatherapi": {
"command": "npx",
"args": ["-y", "weatherapi-mcp"],
"env": {
"WEATHERAPI_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| WEATHERAPI_KEY | Credential the server authenticates with. | Yes |
Provides a command-line and API-based coding assistant utilizing OpenAI APIs, function calling, and streaming.
Provides a production-ready template for building Model Context Protocol (MCP) servers with TypeScript.
LP copilot: free position enumeration on 7 chains + paid range backtests, IL forecasts, points EV
Open-Meteo weather, geocoding, elevation, and UV forecasts.
# MCP Server SDK A WIP MoonBit implementation to support [Model Context Protocol](https://modelcontextprotocol.io/). Supported backends: - Wasm's
WeatherAI — 11 live weather tools for Claude, Cursor, Windsurf and any MCP AI assistant