Weather MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP ServerWill it rain in Chicago tomorrow?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Agent
This project builds a natural-language weather assistant with Databricks Agent Bricks and an external Model Context Protocol (MCP) server.
What we are building
1. Weather MCP server
Expose weather tools from a FastMCP server, following the same pattern as
mcp_server/alpaca_mcp_server.py. The tools will be backed by a free weather
API such as Open-Meteo, which does not require a
paid tier, API key, or credit card to get started.
2. Weather broker/adapter
Add a broker module with the same responsibility as alpaca_broker.py. It
will:
Call the external weather API.
Handle HTTP requests and response parsing.
Return clean, predictable dictionaries to the MCP server.
MCP tool functions should remain thin and delegate API and parsing logic to this adapter.
3. Databricks Agent Bricks agent
Create a Databricks Agent Bricks agent that uses the MCP server as an external tool. The agent should answer natural-language questions such as:
“Will it rain in Chicago tomorrow?”
“Should I bring a jacket to Austin this weekend?”
The agent will translate the user’s question into the appropriate weather tool call and present the result in a useful, conversational response.
4. Dashboard
Provide a small application similar to the reference dashboard/ that calls
the weather MCP server and shows current conditions, a multi-day forecast, and
the explainable umbrella recommendation in one view.
Related MCP server: weather-prediction-mcp
Intended architecture
User question
|
v
Databricks Agent Bricks agent
|
v
FastMCP weather server
|
v
Weather broker/adapter
|
v
Free weather API (Open-Meteo)
Weather MCP server
^
|
Weather dashboard (FastMCP client)The separation between the MCP server and the broker keeps tool definitions simple, makes the HTTP integration easier to test, and leaves room to change the weather provider later.
MCP server implementation
The server is in mcp/ and uses FastAPI as the ASGI host for a
streamable-HTTP FastMCP application. The MCP endpoint is /mcp/; /healthz
is a lightweight liveness endpoint for Databricks Apps.
Available tools
Tool | Purpose |
| Current temperature, conditions, humidity, precipitation, and wind |
| Daily high/low temperatures, conditions, precipitation, and wind for 1-16 days |
| Explainable umbrella recommendation using 40% precipitation probability or 1 mm expected precipitation thresholds |
Locations can be city names, postal codes, or coordinates in
"latitude,longitude" form. The adapter resolves locations and performs all
HTTP calls; MCP functions only delegate to it. Open-Meteo is used without an
API key, paid tier, or credit card, and supports roughly 10,000 calls per day
for non-commercial use.
Run locally
uv sync
cd mcp
uv run python weather_mcp_server.pyThen check http://localhost:8000/healthz. An MCP client should register
http://localhost:8000/mcp/ as the external MCP URL.
Deploy and register with Agent Bricks
Deploy mcp/app.yaml as its own Databricks App. Register the
deployed app's /mcp/ URL as an external MCP server in Agent Bricks, then use
the system prompt in
mcp/AGENT_SYSTEM_PROMPT.md. The prompt
requires tool-backed answers, asks for location clarification when needed, and
prevents the agent from guessing during API failures.
Suggested validation questions after registration:
“What is the weather in Chicago right now?”
“Will it rain in Chicago tomorrow?”
“Should I bring an umbrella to Austin this weekend?”
Dashboard implementation
The dashboard in dashboard/ is a separate FastAPI Databricks
App. It calls the deployed MCP endpoint with FastMCP's client, so its current
conditions, forecast, and recommendation panels use the same tools as Agent
Bricks and do not duplicate Open-Meteo parsing.
Run both apps locally:
# Terminal 1
PORT=8000 uv run python mcp/weather_mcp_server.py
# Terminal 2
WEATHER_MCP_URL=http://127.0.0.1:8000/mcp/ PORT=8001 \
uv run python dashboard/app.pyOpen http://localhost:8001. For Databricks deployment, deploy
dashboard/app.yaml as a separate App and set
WEATHER_MCP_URL to the deployed MCP App's /mcp/ URL.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityBmaintenanceProvides current weather, multi-day forecasts, and umbrella recommendations through natural language queries, backed by the Open-Meteo API.
- Flicense-qualityCmaintenanceProvides real-time weather data, forecasts, and explainable predictions (umbrella, travel, city comparisons) via natural language, powered by Open-Meteo.
- Flicense-qualityCmaintenanceProvides current weather, multi-day forecasts, and umbrella recommendations through natural language queries, using the Open-Meteo API with no API key required.
- Flicense-qualityCmaintenanceProvides current weather conditions, multi-day forecasts, and umbrella recommendations for any location using the Open-Meteo API. Enables natural language weather queries through MCP tools.
Related MCP Connectors
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/firegate22/zach-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server