Weather MCP Server
🌦️ MCP Weather Assistant
Un proyecto de Model Context Protocol (MCP) que conecta un LLM alojado en Groq con un Weather MCP Server personalizado, permitiéndote hacer preguntas en lenguaje natural sobre el clima y obtener respuestas en tiempo real basadas en herramientas, provenientes de la National Weather Service (NWS) API.
Cómo funciona
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 answerEl usuario hace una pregunta en inglés sencillo.
El LLM de Groq interpreta la pregunta y decide qué herramienta llamar (por ejemplo,
get_alerts_tool,get_forecast_tool).El MCP Client envía esa llamada de herramienta al MCP Weather Server a través del Model Context Protocol.
El servidor consulta la National Weather Service API para obtener datos en vivo.
Los resultados regresan a través del cliente al LLM.
El LLM convierte los datos brutos en una respuesta clara y en lenguaje natural para el usuario.
Related MCP server: mcp-weather
Características
🌦️ Alertas meteorológicas en tiempo real por estado de EE. UU.
📍 Pronósticos meteorológicos por ubicación (lat/long)
🔌 Construido sobre el Model Context Protocol (MCP) — las herramientas se exponen de forma estandarizada que cualquier cliente compatible con MCP puede usar.
⚡ Impulsado por Groq para una inferencia rápida del LLM.
🧩 Separación limpia entre el cliente LLM y el servidor de herramientas meteorológicas.
Estructura del proyecto
.
├── 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(Ajusta este árbol para que coincida con la estructura real de tu carpeta.)
Requisitos previos
Python 3.10+ (o Node.js, según tu implementación)
Acceso a Internet (el servidor llama a la API pública de NWS — no se requiere clave de API para NWS)
Instalación
git clone https://github.com/Krishna-Dhawangale/MCP.git
cd MCP
pip install -r requirements.txtConfiguración
Crea un archivo .env en la raíz del proyecto:
GROQ_API_KEY=your_groq_api_key_hereUso
Inicia el servidor meteorológico MCP:
python server/weather_server.pyEjecuta el cliente:
python client/main.pyHaz una pregunta:
> Are there any weather alerts for CA?El cliente enrutará la consulta al LLM, que llamará a la herramienta adecuada en el servidor MCP y devolverá una respuesta en lenguaje natural.
Herramientas disponibles
Tool | Descripción |
| Obtiene alertas meteorológicas activas para un estado de EE. UU. |
| Obtiene el pronóstico meteorológico para una latitud/longitud dada |
Hoja de ruta
Añadir soporte para más ubicaciones (internacional)
Añadir caché para consultas repetidas
Añadir pruebas unitarias para los manejadores de herramientas
Soporte para clientes MCP adicionales más allá de Groq
Contribuciones
¡Las contribuciones son bienvenidas! No dudes en abrir un issue o enviar una 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