Weather for AI agents

MCP (Model Context Protocol) lets an AI client call external tools. With Weather MCP, you ask in plain language, and the agent can find a place and fetch the ProjectEOL forecast.

https://weatherapi.projecteol.ru/mcp/

Your first forecast in your client

  1. Open the MCP server settings. Add a remote server named ProjectEOL Weather and paste the URL above, including the trailing slash.
  2. Select Streamable HTTP. If your client requests tool permissions, allow location search and forecast retrieval.
  3. Open a chat, enable the server and send the example prompt.
Prompt to your agent
Use ProjectEOL Weather to find Astana, Kazakhstan. Show temperature and wind speed for the next three available forecast times. Include the units, local time and forecast source.

Specify the country if places have the same name. If you know the location, provide coordinates directly, for example 51.1694, 71.4491.

Three tools

search_locations

Finds places by name and returns matches with coordinates, country and time zone.

get_forecast_metadata

Returns the published forecast bounds, coverage, field codes, model and data source.

get_weather_forecast

Returns the forecast for coordinates. Each step has a UTC timestamp and values with units.

How to refine a forecast

latitude, longitude
Required coordinates within coverage. Latitude from −90 to 90, longitude from −180 to 180.
hours
Number of available forecast steps. Default 24, maximum 168. Intervals can vary. The published horizon may yield fewer results near its end.
start
An ISO 8601 timestamp with Z or an offset. Selection begins at the first available step at or after that time. When start is omitted, selection begins from the current time.
parameters, interpolation
Send a list of codes from metadata or use the default set. Spatial sampling supports nearest grid cell and linear interpolation.

Check the unit field. Temperature may be returned in K and wind speed in m s-1. These are model forecast data.

Example response for one forecast step
Excerpt from forecast[0]
{
  "time": "2026-11-26T20:00:00Z",
  "values": {
    "surface.air_temperature_2m": {"value": 272.23075195312504, "unit": "K"},
    "wind_speed_10m": {"value": 10.069062, "unit": "m s-1", "derived": true}
  }
}

Check the connection

405

A browser opens the URL with GET. Calling tools requires an MCP client that sends POST.

403

If the request comes directly from a web page, use a client backend that supports remote MCP connections.

429

The source IP reached its request limit 60/min. The Retry-After header gives the wait in seconds.

If a tool returns isError: true, read the message in the response. Common causes include coordinates outside coverage, an unknown field code, or a time beyond the forecast horizon.

Check from Python

Install the official SDK and run the example to list tools and retrieve a forecast for Astana.

pip install "mcp>=2,<3"
Python
import asyncio
from mcp import Client

async def main():
    async with Client("https://weatherapi.projecteol.ru/mcp/") as client:
        print([tool.name for tool in (await client.list_tools()).tools])
        result = await client.call_tool("get_weather_forecast", {
            "latitude": 51.1694,
            "longitude": 71.4491,
            "hours": 3,
            "parameters": ["surface.air_temperature_2m", "wind_speed_10m"],
        })
        if result.is_error:
            raise RuntimeError(result.structured_content or result.content)
        for row in result.structured_content["forecast"]:
            print(row["time"], row["values"])

asyncio.run(main())

Streamable HTTP supports 2026-07-28 discovery and initialize-based connections for 2025-11-25 clients. MCP specification

For direct HTTP integrations

Weather API offers authenticated REST requests, a first forecast example, and interactive Swagger documentation.

Weather API docs →