MCP Weather Server
by janhavihood4
The MCP Weather Server is an AutoGen-based application that uses Gemini 1.5 via OpenAI-compatible API to provide weather forecasts. It integrates with AutoGen's multi-agent system to respond to weather queries using location data.
Last updated: N/A
What is MCP Weather Server?
The MCP Weather Server is an application built using AutoGen that leverages the Gemini 1.5 model to provide weather forecasts. It utilizes an OpenAI-compatible API and integrates with AutoGen's multi-agent system to handle weather queries based on latitude and longitude data.
How to use MCP Weather Server?
To use the server, first install the required dependencies using pip install -r requirements.txt
. Then, run the server using python autogen.py
. The server will then be able to respond to weather queries within the AutoGen environment.
Key features of MCP Weather Server
Weather forecasting by location
AutoGen GroupChat with User, Assistant, and Weather agent
Uses Gemini API
Use cases of MCP Weather Server
Automated weather information retrieval
Integration with AI-powered assistants
Weather-based decision making in multi-agent systems
Providing weather data to other applications
FAQ from MCP Weather Server
What API does the server use?
What API does the server use?
The server uses the Gemini 1.5 API through an OpenAI-compatible interface.
What is AutoGen?
What is AutoGen?
AutoGen is a framework for building multi-agent conversational systems.
How does the server get weather data?
How does the server get weather data?
The server uses latitude and longitude data to retrieve weather forecasts.
What dependencies are required to run the server?
What dependencies are required to run the server?
The required dependencies are listed in the requirements.txt
file and can be installed using pip install -r requirements.txt
.
Can I customize the agents in the GroupChat?
Can I customize the agents in the GroupChat?
The README doesn't specify the ability to customize agents, but AutoGen generally allows for agent customization. Further investigation of the code would be needed.