🌦️ What It Does
This workflow uses the n8n Agent node to call a live hosted Model Context Protocol (MCP) server that returns real-time weather forecasts.
- Supports current or 5-day forecasts
- Hosted MCP tool — no API key needed for weather data
- Based on OpenWeatherMap
- Workflow is fully preconfigured and ready to run
⚙️ How It Works
- The Agent node sends a tool call to the MCP weather tool
- The server replies with a short forecast
- Output is returned to n8n and can be used however you like
🧪 Setup Steps
- Clone or download the GitHub repo:
Github: weathertrax-mcp-agent-demo
-
Open the file: n8n-weather-agent.json
-
In n8n:
- Go to Import Workflow → Paste JSON
- Paste the contents of
n8n-weather-agent.json
-
✅ The Agent node is already configured:
- The system prompt is included
- The tool endpoint is pre-set
-
All you need to do is:
- Add your OpenAI API key to the existing
OpenAI Account
credential
- OR switch to another model provider
Then hit run and you're done ✅
🔗 Full project link:
Github: weathertrax-mcp-agent-demo GitHub repo