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 ServerAre there any weather alerts for California?"
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.
š¦ļø MCP Weather Assistant
A Model Context Protocol (MCP) project that connects a Groq-hosted LLM to a custom Weather MCP Server, allowing you to ask natural-language questions about weather and get real-time, tool-grounded answers sourced from the National Weather Service (NWS) API.
How It Works
User
ā
"Are there any weather alerts for CA?"
ā
Groq LLM
ā
Decides to call get_alerts_tool
ā
MCP Client
ā
MCP Weather Server
ā
National Weather Service API
ā
Real-time weather alerts
ā
Groq LLM
ā
Natural-language answerThe user asks a question in plain English.
The Groq LLM interprets the question and decides which tool to call (e.g.
get_alerts_tool,get_forecast_tool).The MCP Client sends that tool call to the MCP Weather Server over the Model Context Protocol.
The server queries the National Weather Service API for live data.
Results flow back through the client to the LLM.
The LLM turns the raw data into a clear, natural-language response for the user.
Related MCP server: mcp-weather
Features
š¦ļø Real-time weather alerts by U.S. state
š Weather forecasts by location (lat/long)
š Built on the Model Context Protocol (MCP) ā tools are exposed in a standardized way any MCP-compatible client can use
ā” Powered by Groq for fast LLM inference
š§© Clean separation between the LLM client and the weather tool server
Project Structure
.
āāā client/ # MCP client ā connects to Groq LLM and the MCP server
āāā server/ # MCP weather server ā exposes get_alerts_tool, get_forecast_tool, etc.
āāā requirements.txt # or package.json, depending on stack
āāā README.md(Adjust this tree to match your actual folder layout.)
Prerequisites
Python 3.10+ (or Node.js, depending on your implementation)
Internet access (the server calls the public NWS API ā no API key required for NWS)
Installation
git clone https://github.com/Krishna-Dhawangale/MCP.git
cd MCP
pip install -r requirements.txtConfiguration
Create a .env file in the project root:
GROQ_API_KEY=your_groq_api_key_hereUsage
Start the MCP weather server:
python server/weather_server.pyRun the client:
python client/main.pyAsk a question:
> Are there any weather alerts for CA?The client will route the query to the LLM, which calls the appropriate tool on the MCP server and returns a natural-language answer.
Available Tools
Tool | Description |
| Fetches active weather alerts for a given U.S. state |
| Fetches the weather forecast for a given latitude/longitude |
Roadmap
Add support for more locations (international)
Add caching for repeated queries
Add unit tests for tool handlers
Support additional MCP clients beyond Groq
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
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
- -licenseNot gradedqualityNot gradedmaintenanceProvides weather forecast data from the US National Weather Service API through MCP tools. Enables users to get detailed weather forecasts by ZIP code or coordinates using natural language queries.
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather alerts and forecasts from the National Weather Service for US locations, integrating with AI assistants via the Model Control Protocol.
- FlicenseBqualityDmaintenanceProvides weather forecasts and alerts for US locations using the National Weather Service API. Enables users to retrieve active alerts by state and detailed forecasts by coordinates via MCP tools.2
- FlicenseNot gradedqualityDmaintenanceProvides weather alerts for US states and forecasts for given coordinates via MCP tools.
Related MCP Connectors
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
Get US weather forecasts, active alerts, and current observations.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No 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/Krishna-Dhawangale/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server