Command Palette

Search for a command to run...

UnylyUnyly
Browse all

LangChain Weather Agent

FreeNot checked

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

GitHubEmbed

About

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

Installing LangChain Weather Agent

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/aboomar26/MCP_Waether

FAQ

Is LangChain Weather Agent MCP free?

Yes, LangChain Weather Agent MCP is free — one-click install via Unyly at no cost.

Does LangChain Weather Agent need an API key?

No, LangChain Weather Agent runs without API keys or environment variables.

Is LangChain Weather Agent hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install LangChain Weather Agent in Claude Desktop, Claude Code or Cursor?

Open LangChain Weather Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare LangChain Weather Agent with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs