LangChain Weather Agent
FreeNot checkedA weather MCP server that geocodes city names and fetches live weather from Open-Meteo, enabling a LangGraph agent to answer weather queries.
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
- Install dependencies:
pip install -r requirements.txt
- Create a
.envfile 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
- User asks a question like "what's the weather in Tokyo?"
- The agent calls the
weatherMCP tool - The server geocodes the city name and fetches current weather from Open-Meteo
- The agent returns the result to the user
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_WaetherFAQ
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
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare 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
