This system enhances Large Language Models (LLMs) with weather data capabilities using the Model Context Protocol (MCP) framework.
- MCP Client: Store LLms
- MCP Server: Intermediate agent connecting external tools / resources
BASE_URL=https://api.deepseek.com
MODEL=deepseek-chat
OPENAI_API_KEY=<your_api_key_here>OPENWEATHER_API_BASE=https://api.openweathermap.org/data/2.5/weather
USER_AGENT=weather-app/1.0
API_KEY=<your_openweather_api_key>- Initialize project:
uv init weather_mcp
cd weather_mcpwhere weather_mcp is the project file name.
- Install dependencies:
uv add mcp httpx- Launch system:
cd ./utils
python client.py server.pyNote: Replace all
<your_api_key_here>placeholders with actual API keys
