Weather-Prediction 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-Prediction MCP ServerWhat's the current weather in London?"
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-Prediction MCP Server + Agent
A Streamable HTTP MCP server backed by Open-Meteo, plus the prompt and registration metadata for a Databricks Agent Bricks weather agent. Open-Meteo requires no signup, API key, or committed secret.
Submission links
Databricks App: https://weather-prediction-mcp-rajesh-1352785079224954.aws.databricksapps.com
Streamable HTTP MCP endpoint:
https://weather-prediction-mcp-rajesh-1352785079224954.aws.databricksapps.com/mcpFinal ZIP:
evidence/databricks-mcp-demo-submission.zipGrader summary:
SUBMISSION.mdReproducible test guide:
TESTING.md
Related MCP server: Weather MCP
Architecture
User
|
v
Databricks Agent Bricks
| external MCP / Streamable HTTP
v
Databricks App: weather_mcp_server.py
|
v
weather_adapter.py
|----------------------|
v v
Open-Meteo Geocoding Open-Meteo ForecastThe server functions only validate tool inputs and shape success/error envelopes. weather_adapter.py owns all HTTP calls, API parsing, WMO-code translation, and recommendation logic.
Tools
Tool | Inputs | Result |
|
| Temperature, feels-like temperature, condition, humidity, precipitation, and wind |
|
| Daily high/low, feels-like values, condition, precipitation probability/amount, and wind |
|
| Forecast-backed umbrella, jacket, heat, and wind recommendations with explicit thresholds |
Locations may be a city/postal-code query or a latitude,longitude pair. All temperatures use Celsius, wind uses km/h, and precipitation uses millimetres.
Recommendation thresholds:
Umbrella or waterproof layer: precipitation probability at least 40%.
Warm jacket: daily low below 10°C.
Light jacket: daily high below 18°C when the warm-jacket rule does not apply.
Heat precautions: daily high at least 28°C.
Strong-wind precautions: maximum daily wind at least 40 km/h.
Local setup
Python 3.10 or newer is required.
python3 -m venv .venv
.venv/bin/pip install -r requirements-dev.txt
.venv/bin/pytest -qStart the server:
.venv/bin/python weather_mcp_server.pyThe Streamable HTTP endpoint is http://localhost:8000/mcp.
Generate three live Open-Meteo examples:
PYTHONPATH=. .venv/bin/python scripts/run_demo.pyResults are written to evidence/demo_results.md. They prove live adapter calls, not an Agent Bricks deployment.
Databricks App deployment
The MCP server is designed to run as one Databricks App. Authenticate the Databricks CLI first:
databricks auth login --host https://<workspace-host>
databricks auth profilesCreate a workspace source directory, upload the project, create the app, and deploy it:
export DBX_USER='<your-workspace-email>'
export APP_NAME='weather-prediction-mcp'
export SOURCE_PATH="/Workspace/Users/${DBX_USER}/${APP_NAME}"
databricks workspace mkdirs "$SOURCE_PATH"
databricks sync . "$SOURCE_PATH" --watch=false
databricks apps create "$APP_NAME" --description 'Open-Meteo weather MCP server'
databricks apps deploy "$APP_NAME" --source-code-path "$SOURCE_PATH"
databricks apps get "$APP_NAME" -o jsonDo not upload .venv; it is excluded by .gitignore. Databricks Apps installs requirements.txt and starts the app.yaml command. The deployed external MCP URL is:
https://weather-prediction-mcp-rajesh-1352785079224954.aws.databricksapps.com/mcpThe app endpoint is permission-controlled by Databricks Apps. Grant the intended agent/user permission to use the app before testing the MCP connection.
Agent Bricks configuration
The deployed server is registered as the governed Unity Catalog MCP Service:
bootcamp_students.rajesh.weather_prediction_mcpIt is connected to Agent Bricks supervisor agent:
supervisor-agent-2026-08-08-20-02-56The agent uses these three tools:
get_current_weatherget_forecastget_travel_recommendation
Four recorded conversations—including three weather questions and an ambiguous-location guardrail test—are documented in evidence/agent_bricks_transcript.md.
Error behavior
Empty, unresolved, and invalid-coordinate locations return a clean
ok: falseresponse.Forecast lengths outside 1-16 and unsupported dates return validation messages.
API timeouts, HTTP errors, malformed payloads, and unexpected internal failures do not expose stack traces.
The agent prompt prohibits filling missing tool results with guesses.
Verification status
Automated adapter and MCP wrapper tests: see
tests/.Live Open-Meteo adapter demonstration: see
evidence/demo_results.md.Databricks App deployment: succeeded as
weather-prediction-mcp-rajesh.Authenticated deployed MCP initialization: HTTP 200, MCP protocol
2025-06-18.Deployed app screenshot: see
evidence/databricks-app-overview.png.Active MCP Service and three-tool screenshot: see
evidence/Mcp_tools_screenshot.jpg.Supervisor configuration, system prompt, MCP attachment, tool trace, and Toronto response screenshot: see
evidence/MCP_conversation_1.jpg.Chicago forecast and Austin recommendation tool-trace screenshot: see
evidence/Mcp_conversation_3.jpg.Austin grounded final answer and Springfield ambiguity guardrail screenshot: see
evidence/MCP_conversation_4.jpg.Agent Bricks registration: completed through
bootcamp_students.rajesh.weather_prediction_mcp.Agent behavior: three weather conversations and one ambiguity guardrail conversation recorded in
evidence/agent_bricks_transcript.md.Evidence note: the Chicago conversation proves tool use but contains a “tomorrow” date-label mismatch and should be rerun for the cleanest correctness evidence.
GitHub repository: published at https://github.com/rajeshd101/databricks-mcp-demo.
Files
agent/agent_config.yaml External MCP tool record
agent/system_prompt.md Agent Bricks instructions and guardrails
app.yaml Databricks App process configuration
evidence/demo_results.md Three live API demonstrations
evidence/deployment.md Deployment and protocol evidence
evidence/databricks-app-overview.png Deployment screenshot
evidence/agent_bricks_transcript.md Agent conversations and tool traces
evidence/Mcp_tools_screenshot.jpg Active MCP Service and enabled tools
evidence/MCP_conversation_1.jpg Supervisor configuration and conversation
evidence/Mcp_conversation_3.jpg Forecast and recommendation traces
evidence/MCP_conversation_4.jpg Recommendation answer and guardrail
scripts/run_demo.py Reproducible live demonstration
tests/ Adapter and MCP error-boundary tests
weather_adapter.py Open-Meteo HTTP/parsing/recommendation layer
weather_mcp_server.py Thin FastMCP tool layer
SUBMISSION.md Grader-facing submission summary
TESTING.md Local and deployed test procedureLimitations
Current conditions are modeled Open-Meteo data, not direct observations from a local weather station.
Geocoding selects the first Open-Meteo match; users should add province/state and country for ambiguous names.
This version does not provide official severe-weather alerts. Users should consult official local alert services for safety-critical decisions.
Forecasts are limited to Open-Meteo's next 16 days.
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
- AlicenseBqualityDmaintenanceEnables AI agents to fetch real-time weather data for any location using the OpenWeatherMap API. Demonstrates how to build a simple MCP server that exposes weather information as a tool for LLMs.1GPL 3.0
- Flicense-qualityDmaintenanceMinimal MCP server exposing today's weather for a city via tool, resource, and prompt, with optional paywall protection via Nevermined Payments.219
- Flicense-qualityCmaintenanceA weather MCP server that geocodes city names and fetches live weather from Open-Meteo, enabling a LangGraph agent to answer weather queries.
- Alicense-qualityCmaintenanceA no-API-key-required MCP server that wraps Open-Meteo APIs to provide geocoding and weather forecast data, enabling city lookups and multi-day forecasts through tools, resources, and prompts.MIT
Related MCP Connectors
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
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/rajeshd101/databricks-mcp-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server