MCP-WEATHER
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., "@MCP-WEATHERwhat's the weather in Tokyo?"
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 Server
Servidor MCP (Model Context Protocol) para obtener información del clima usando la integración de Vercel.
🚀 Características
Herramienta
fetch_weather: Obtiene información del clima para cualquier ciudadIntegración con Vercel: Despliegue optimizado usando Vercel Functions
API de Open-Meteo: Datos meteorológicos gratuitos y precisos
Respuestas en español: Información del clima en español
Related MCP server: Weather MCP Server
🛠️ Tecnologías
Next.js 14 - Framework de React
MCP Handler - Servidor MCP
Open-Meteo API - API meteorológica
Vercel - Plataforma de despliegue
📦 Instalación
# Clonar el repositorio
git clone <tu-repositorio>
cd MCPPOC
# Instalar dependencias
pnpm install
# Ejecutar en desarrollo
pnpm dev🚀 Despliegue en Vercel
1. Preparar el proyecto
Asegúrate de que tu proyecto esté en un repositorio de GitHub, GitLab o Bitbucket.
2. Conectar con Vercel
Ve a vercel.com y crea una cuenta
Haz clic en "New Project"
Importa tu repositorio
Vercel detectará automáticamente que es un proyecto Next.js
3. Configurar variables de entorno (opcional)
Si necesitas configurar variables de entorno:
Ve a tu proyecto en Vercel
Navega a Settings > Environment Variables
Agrega las variables necesarias
4. Desplegar
Vercel desplegará automáticamente tu proyecto. Obtendrás una URL como:
https://tu-proyecto.vercel.app
🔧 Configuración del Cliente MCP
Para Cursor
Crea el archivo .cursor/mcp.json en tu proyecto:
{
"mcpServers": {
"weather-server": {
"url": "https://tu-proyecto.vercel.app/api/mcp"
}
}
}Para otros clientes MCP
Usa la URL de tu servidor MCP desplegado:
https://tu-proyecto.vercel.app/api/mcp
🧪 Probar localmente
# Ejecutar el servidor de desarrollo
pnpm dev
# En otra terminal, usar el inspector MCP
npx @modelcontextprotocol/inspector@latest http://localhost:3000Luego abre http://127.0.0.1:6274 para usar el inspector.
📋 Herramientas disponibles
fetch_weather
Obtiene información del clima para una ciudad específica.
Parámetros:
city(string): Nombre de la ciudad
Ejemplo de uso:
// En Cursor o cualquier cliente MCP
fetch_weather({ city: "Madrid" });Respuesta:
🌤️ **Clima en Madrid, España**
🌡️ **Temperatura:** 22°C
🌡️ **Sensación térmica:** 24°C
💧 **Humedad:** 65%
🌬️ **Velocidad del viento:** 12 km/h
☁️ **Condición:** Cielo despejado
*Información proporcionada por Open-Meteo*🏗️ Estructura del proyecto
MCPPOC/
├── app/
│ ├── api/
│ │ └── mcp/
│ │ └── route.ts # Endpoint MCP
│ ├── layout.tsx # Layout principal
│ └── page.tsx # Página principal
├── package.json
├── next.config.js
├── tsconfig.json
└── README.md🔍 Troubleshooting
Error de conexión
Verifica que la URL del servidor MCP sea correcta
Asegúrate de que el proyecto esté desplegado en Vercel
Error de ciudad no encontrada
Verifica el nombre de la ciudad
Usa nombres en inglés para mejor compatibilidad
Error de red
Verifica tu conexión a internet
Las APIs de Open-Meteo son gratuitas y no requieren API key
📄 Licencia
MIT
🤝 Contribuir
Fork el proyecto
Crea una rama para tu feature (
git checkout -b feature/AmazingFeature)Commit tus cambios (
git commit -m 'Add some AmazingFeature')Push a la rama (
git push origin feature/AmazingFeature)Abre un Pull Request
📞 Soporte
Si tienes problemas o preguntas, abre un issue en el repositorio.
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-qualityDmaintenanceEnables users to get current weather conditions and forecasts for any city through OpenWeatherMap API integration. Designed as a sample MCP server for the Puch AI Hackathon with basic weather querying capabilities.Last updated
- Flicense-qualityDmaintenanceProvides real-time weather information for any city worldwide using the Open-Meteo API, returning current temperature, wind speed, and geographic coordinates through a containerized MCP server.Last updated
- Alicense-qualityDmaintenanceFetches current weather information for any city using the Open-Meteo API through a simple MCP tool interface.Last updated1,983MIT
- Alicense-qualityDmaintenanceAn MCP server that provides real-time weather data, hourly forecasts, and daily summaries using the free Open-Meteo API with no API key required. It enables users to search for weather conditions by specific coordinates or city names across multiple measurement units.Last updated1MIT
Related MCP Connectors
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
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/duwancontacto/MCP-WEATHER'
If you have feedback or need assistance with the MCP directory API, please join our Discord server