MCP LangChain Weather Agent
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA MCP server for querying real-time weather information for any city worldwide using the free Open-Meteo API, supporting CLI and integration with AI clients like Claude and Cursor.MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides weather and web search tools, orchestrated by a LangGraph agent with OpenAI for natural language interaction.8-
- FlicenseNot gradedqualityDmaintenanceA proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.-
- AlicenseNot gradedqualityCmaintenanceA no-API-key-required MCP server that wraps Open-Meteo APIs to provide geocoding and weather forecast data, enabling city lookups and multi-day forecasts through tools, resources, and prompts.MIT