MCP LangChain Weather Agent
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP LangChain Weather Agentwhat's the weather in Tokyo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP LangChain Weather Agent
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.txtCreate a
.envfile in the project root:
OPENROUTER_API_KEY=your_api_key_hereRelated MCP server: AIE8-MCP Server
Usage
Start the MCP server (runs on http://127.0.0.1:8000):
python weatherserver.pyIn a second terminal, run the agent client:
python client.pyThe client connects to the weather MCP server, loads the weather tool, and asks the LLM about the weather.
Files
File | Description |
| MCP server with a |
| LangGraph agent that uses the MCP weather tool |
| Python dependencies |
How it works
User asks a question like "what's the weather in Tokyo?"
The agent calls the
weatherMCP toolThe server geocodes the city name and fetches current weather from Open-Meteo
The agent returns the result to the user
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aboomar26/MCP_Waether'
If you have feedback or need assistance with the MCP directory API, please join our Discord server