josjen/weather-hello-agent
3.2
If you are the rightful owner of weather-hello-agent and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured summary of a Model Context Protocol (MCP) server that integrates weather and greeting functionalities with a LangChain agent.
Tools
/get_today_weather
Provides a summary string of today's weather.
/greet
Generates a personalized greeting in the format 'Hello
'.
Weather Hello Agent βοΈπ€
A minimal demo of an MCP tool server (weather + greetings) and a LangChain agent that calls those tools.
Features
- MCP server built with
fastmcp
- Two example tools
/get_today_weather
β summary string/greet
β βHelloβ
- LangChain agent that auto-discovers and calls the tools
Quick start
git clone https://github.com/<you>/weather-hello-agent.git
cd weather-hello-agent
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # put your keys here
python -m weatherhello.basic_server & # run in background
python -m weatherhello.basic_agent # talk to the agent
Support me
Buy me a coffee at https://coff.ee/josjen