A Model Context Protocol (MCP) server implementation using LangChain with math and weather tools.
-
Clone the repository
-
Create a virtual environment:
python -m venv .venv .venv/Scripts/activate # On Windows -
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile from the example:cp .env.example .env
-
Add your Groq API key to
.env:GROQ_API_KEY=your_actual_api_key_here
Run the client:
python client.py- Math operations (add, subtract, multiply, divide)
- Weather information (mock data)
- LangChain integration with Groq LLM