Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

LangChain Weather Agent

БесплатноНе проверен

A weather MCP server that geocodes city names and fetches live weather from Open-Meteo, enabling a LangGraph agent to answer weather queries.

GitHubEmbed

Описание

A weather MCP server that geocodes city names and fetches live weather from Open-Meteo, enabling a LangGraph agent to answer weather queries.

README

A simple weather MCP server connected to a LangGraph agent. The agent calls the weather tool to fetch live weather for any city.

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root:
OPENROUTER_API_KEY=your_api_key_here

Usage

Start the MCP server (runs on http://127.0.0.1:8000):

python weatherserver.py

In a second terminal, run the agent client:

python client.py

The client connects to the weather MCP server, loads the weather tool, and asks the LLM about the weather.

Files

File Description
weatherserver.py MCP server with a weather tool (geocoding + Open-Meteo API)
client.py LangGraph agent that uses the MCP weather tool
requirements.txt Python dependencies

How it works

  1. User asks a question like "what's the weather in Tokyo?"
  2. The agent calls the weather MCP tool
  3. The server geocodes the city name and fetches current weather from Open-Meteo
  4. The agent returns the result to the user

from github.com/aboomar26/MCP_Waether

Установка LangChain Weather Agent

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/aboomar26/MCP_Waether

FAQ

LangChain Weather Agent MCP бесплатный?

Да, LangChain Weather Agent MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для LangChain Weather Agent?

Нет, LangChain Weather Agent работает без API-ключей и переменных окружения.

LangChain Weather Agent — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить LangChain Weather Agent в Claude Desktop, Claude Code или Cursor?

Открой LangChain Weather Agent на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare LangChain Weather Agent with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai