天气查询智能助手

基于MCP协议的AI天气助手,提供实时天气查询和智能出行建议,适用于日常天气咨询场景。

  • by KishanKikkeri
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 KishanKikkeri/Weather-MCP-Agent

使用说明

🌦️ Weather MCP Agent

An AI-powered weather assistant that uses Model Context Protocol (MCP) to fetch real-time weather data and provide intelligent suggestions.

🚀 Features

  • Natural language weather queries
  • MCP-based API integration
  • Real-time weather data retrieval
  • Smart suggestions (umbrella, stay indoors, etc.)
  • Cloud Run deployment

🧠 Tech Stack

  • Google ADK
  • Gemini (gemini-2.5-flash)
  • MCP (Model Context Protocol)
  • FastAPI
  • Python
  • Cloud Run

🏗️ Architecture

User → Agent → MCP Tool → Weather API → Response

📡 API Usage

POST /query

Example Input: Ahmedabad weather

Example Output: Ahmedabad is 38°C ☀️ — avoid going out in the afternoon.

🔗 MCP Integration

  • External weather API via MCP toolset
  • Structured JSON parsing

🌍 Deployment

adk deploy cloud_run

🎯 Outcome

Showcases integration of external tools with AI agents using MCP for real-world data applications.

👨‍💻 Author

Kishan N Prasad
Indian Institute of Information Technology Vadodara (ICD)