Skip to content

aaasoulmate/mcp-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

A 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

  1. Initialize project:
uv init weather_mcp
cd weather_mcp

where weather_mcp is the project file name.

  1. Install dependencies:
uv add mcp httpx
  1. Launch system:
cd ./utils
python client.py server.py

Note: Replace all <your_api_key_here> placeholders with actual API keys

About

Use MCP to augment LLMs for reaching weather information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages