Weather MCP Server
Weather MCP Server
Un servidor estándar de Model Context Protocol (MCP) que proporciona pronósticos meteorológicos en tiempo real basados en nombres de ciudades utilizando la API de Open-Meteo.
Características
Geocodificación: Convierte automáticamente nombres de ciudades en coordenadas geográficas (latitud y longitud)
Clima en tiempo real: Obtiene la temperatura actual, la velocidad del viento y los códigos meteorológicos
Integración MCP: Totalmente compatible con clientes MCP como Claude Desktop
Cero claves API: Utiliza la API gratuita y de código abierto de Open-Meteo: ¡no se requiere registro!
Related MCP server: weather_mcp_server
Requisitos previos
Node.js >= 18.x
npm o yarn
Instalación
Clona el repositorio:
git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-serverInstala las dependencias:
npm installCompila el servidor:
npm run buildDesarrollo
Ejecuta el servidor directamente sin compilar:
npm run devIntegración con Claude Desktop
Para usar este servidor meteorológico con Claude Desktop, debes configurar tu archivo claude_desktop_config.json.
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Añade la siguiente configuración:
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"C:/path/to/your/weather-mcp-server/build/index.js"
]
}
}
}(Asegúrate de reemplazar la ruta con la ruta absoluta real de tu archivo index.js compilado.)
Herramientas disponibles
get_weather
Obtiene el clima actual de una ciudad especificada.
Parámetros de entrada:
city(cadena): El nombre de la ciudad (p. ej., "Delhi", "Tokyo", "London", "San Francisco")
Resultados: Temperatura en grados Celsius, velocidad del viento y código meteorológico.
Licencia
Este proyecto está licenciado bajo la Licencia MIT.
Available Tools
1 toolget_weatherA
Get current weather for a given city
Inputs: city (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The tool's purpose is clear and distinct by default.
The tool name follows a consistent verb_noun pattern (get_weather). With a single tool, there are no naming inconsistencies to evaluate.
One tool feels thin for a weather server, which typically offers multiple data types like forecasts and alerts. However, it is borderline given the narrow 'current weather' scope.
The server only covers current conditions, missing obvious weather domain features such as forecasts, historical data, or alerts. This significantly limits its usefulness for common weather queries.
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.10ISC
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.-
- FlicenseAqualityCmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.3-
- AlicenseNot gradedqualityDmaintenanceProvides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.MIT