mcp-weather
mcp-weather
Servidor MCP de clima mundial. Convierte un nombre de lugar en coordenadas y luego devuelve las condiciones actuales a través de stdio para clientes MCP como Cursor.
Repositorio: github.com/deep3036/mcp-weather
Qué hace
El servidor registra una herramienta:
Herramientas | Entrada | Salida |
|
| Temperatura actual, sensación térmica, humedad, precipitación, viento, condición, día/noche, zona horaria y coordenadas |
Ejemplos de location: Delhi, Greater Noida, Mumbai, London.
La geocodificación utiliza Open-Meteo Geocoding. Los datos de previsión utilizan Open-Meteo Forecast. Ninguna de las dos API requiere una clave para este uso.
Si varios lugares coinciden con un nombre, se utiliza el primer resultado de la geocodificación.
Related MCP server: Weather MCP
Requisitos
Node.js 20 o posterior
npm
Configuración
npm installEjecución
Desarrollo (TypeScript mediante tsx):
npm run devProducción:
npm run build
npm startEste proceso se comunica por MCP a través de stdin/stdout. Los registros van a stderr. No lo ejecutes como una aplicación web normal.
Configuración de MCP en Cursor
Apunta el cliente a este directorio del proyecto:
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "D:\\mcp\\weather-mcp"
}
}
}Después de compilar, puedes usar node y dist/index.js en lugar de tsx.
Estructura del proyecto
Ruta | Función |
| Servidor MCP, herramienta y llamadas a Open-Meteo |
| TypeScript ( |
| Scripts: |
Licencia
ISC
This server cannot be deployed
Maintenance
Related MCP Connectors
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Provide real-time and forecast weather information for locations in the United States using natura…
Current weather and 7-day forecast for any place (MET Norway). $0.006/call via x402.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the Open-Meteo API. Provides detailed meteorological data including temperature, precipitation, day/night status, and hourly forecasts through natural language queries.ISC
- AlicenseNot gradedqualityDmaintenanceEnables users to get real-time weather information for any city in the world. Provides current temperature and weather conditions through a simple city name query.MIT
- AlicenseBqualityDmaintenanceEnables users to retrieve current weather information for any city location. Provides a simple interface to fetch weather data through natural language queries.1ISC
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.4 npmMIT