OWM_API_KEY
: OpenWeatherMap API Key
(Obtain from https://openweathermap.org/api)
Steps
-
Install Meshagent with all dependencies:
- Sign up and authenticate with Meshagent: Follow instructions at: https://docs.meshagent.com/cli/getting_started
-
Start the OpenWeather MCP server as an agent in a Meshagent Room:
- This command will start a Meshagent Room named
test
with the OpenWeather MCP server available. Rooms close after inactivity.
- This command will start a Meshagent Room named
-
Start a chatbot in the same Room with access to the OpenWeather toolkit:
- This command adds a chatbot agent with the OpenWeather toolkit to your Room.
- The CLI will output a link to the Room.
- Test it out: Open the Room link in your browser to interact with the agent and try out the OpenWeather MCP tools.
Project Level Deployment
Establish persistent MCP services and chatbot so they are automatically present in every Room in your Meshagent project—ideal for production scenarios.-
Deploy the OpenWeather MCP service as an agent at the project level:
-
Deploy the Meshagent chatbot integrated with the OpenWeather toolkit:
Tools Available
Openweather MCP Server
A simple MCP service that provides current weather and 5-day forecast using the free OpenWeatherMap API. Tools provided by this Server:Tool | Short Description |
---|---|
weather | Get current and forecast weather info for a city |
Tools Details
Tool: weather
Get current and forecast weather information for a specific City.
Parameter | Type | Description |
---|---|---|
city | string | Location to get weather. If location has a space, wrap the location in double quotes. |
lang | string (optional) | Language for weather descriptions - default: en |
units | string (optional) | Temperature units (celsius | fahrenheit | kelvin) - default: c |
Meshagent Resources
- Meshagent: https://www.meshagent.com/
- Documentation: https://docs.meshagent.com
- OpenWeather MCP Docker Image: https://hub.docker.com/r/meshagent/mcp-openweather