Skip to content
LangChain

Weather Forecast for AI Agents for LangChain

io.github.mettini/weather-forecast

Current, hourly and daily weather per call by coordinates, for AI agents. Paid per location, no run.

client:LangChain transport:streamable-http

Install Weather Forecast for AI Agents in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "weather-forecast": {
            "transport": "streamable_http",
            "url": "https://emttn--weather-forecast.apify.actor/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Weather Forecast for AI Agents in other clients