MCP_Server
5
The project implements a command-line tool for accessing US weather data through a client-server architecture, utilizing the Model Context Protocol (MCP) and Google's Gemini AI. It allows for natural language queries to obtain weather alerts and forecasts via a Python client and server communicating with the National Weather Service API.
Overview
This project connects a Python client application with a weather data server, allowing users to query weather information using natural language. The server communicates with the National Weather Service API to retrieve weather alerts and forecasts.
Features
- Query weather alerts for US states using state codes
- Get detailed weather forecasts for specific locations using latitude and longitude
- Natural language interface powered by Google's Gemini AI
- Client-server architecture using Model Context Protocol (MCP)
Prerequisites
- Python 3.8+
- Node.js (if running JavaScript server)
- Google Gemini API key
Usage
- Start the client and connect to the weather server
- Ask questions about weather information
- Type
quit
to exit the application.