mcp-weather
Enhances Large Language Models with real-time weather data by connecting to external weather APIs for accurate and up-to-date information. Provides LLMs with the capability to access and utilize dynamic weather data for improved contextual responses.
Author

aaasoulmate
No License
Quick Info
Tools 1
Last Updated 2026-02-19
Actions
Tags
weatherapiscontextualweather apisweather dataweather location
MCP-Augmented LLM for Reaching Weather Information
Overview
This system enhances Large Language Models (LLMs) with weather data capabilities using the Model Context Protocol (MCP) framework.
Demo
Components
- MCP Client: Store LLms
- MCP Server: Intermediate agent connecting external tools / resources
Configuration
DeepSeek Platform
BASE_URL=https://api.deepseek.com
MODEL=deepseek-chat
OPENAI_API_KEY=<your_api_key_here>
OpenWeather Platform
OPENWEATHER_API_BASE=https://api.openweathermap.org/data/2.5/weather
USER_AGENT=weather-app/1.0
API_KEY=<your_openweather_api_key>
Installation & Execution
- Initialize project:
uv init weather_mcp
cd weather_mcp
where weather_mcp is the project file name.
- Install dependencies:
uv add mcp httpx
- Launch system:
cd ./utils
python client.py server.py
Note: Replace all
<your_api_key_here>placeholders with actual API keys
