Weather MCP
Weather MCP
Un servidor FastMCP que proporciona datos meteorológicos de Open-Meteo y muestra un panel meteorológico interactivo a través de MCP Apps.

Características
Buscar ubicaciones por ciudad o nombre de lugar
Obtener condiciones actuales y hasta 16 días de pronóstico
Cambiar entre Celsius y Fahrenheit
Mostrar descripciones meteorológicas y símbolos de condiciones
Almacenar en caché las respuestas de ubicación y pronóstico durante cinco minutos
Renderizar el panel directamente dentro de hosts MCP compatibles
Related MCP server: bridgemcp-server-weather
Requisitos
Python 3.14+
Un host MCP con soporte para MCP Apps para el panel interactivo
Configuración
Instala las dependencias del proyecto:
uv syncNo se requiere clave de API meteorológica para el uso normal no comercial de Open-Meteo.
Ejecutar el servidor
Ejecuta el servidor a través del transporte stdio predeterminado:
uv run python main.pyInspecciona las herramientas registradas:
uv run fastmcp list main.pyVista previa del panel
FastMCP incluye una vista previa local en el navegador para las herramientas de la aplicación:
uv run fastmcp dev apps main.pyAbre la URL local mostrada y selecciona weather_dashboard. El panel admite buscar otra ubicación y cambiar las unidades de temperatura.
Herramientas MCP
search_locations
Encuentra ubicaciones coincidentes y devuelve sus coordenadas, país, región y zona horaria.
get_weather
Obtén el clima actual y un pronóstico diario para una ubicación.
Argumentos:
location: Ciudad o nombre de lugarforecast_days: Número de días de pronóstico de 1 a 16temperature_unit:celsiusofahrenheit
weather_dashboard
Abre el panel meteorológico interactivo con los mismos argumentos meteorológicos.
Estructura del proyecto
main.py MCP server entry point
src/tools.py MCP tool registration and response shaping
src/services/weather_service.py Open-Meteo client and response cache
src/formatting.py UI-friendly forecast formatting
src/dashboard.py Prefab MCP App UIFuente de datos
Los datos meteorológicos los proporciona Open-Meteo, que combina pronósticos de múltiples servicios meteorológicos nacionales. Revisa los términos y licencias de Open-Meteo antes del despliegue comercial.
Available Tools
3 toolsget_weatherC
Get current conditions and a daily forecast.
Inputs: location (required), forecast_days, temperature_unit. Returns: object
search_locationsC
Find weather locations matching a place name.
Inputs: query (required). Returns: result
weather_dashboardC
Show an interactive weather dashboard with location and unit controls.
Inputs: location (required), forecast_days, temperature_unit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: location search, weather data retrieval, and an interactive dashboard. No overlap or ambiguity in their functions.
Two tools follow the verb_noun pattern (search_locations, get_weather), but weather_dashboard breaks the pattern by leading with a noun. This is a minor deviation that doesn't cause confusion.
Three tools is lean but appropriately scoped for a weather server. It covers the essential workflows without unnecessary bloat.
The core workflow of searching locations and getting weather is covered. Missing advanced features like alerts or historical data, but these are not critical for a basic weather service.
Maintenance
Related MCP Connectors
Weather MCP — wraps Open-Meteo API (free, no auth)
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather updates and city geocoding by integrating the Nominatim and Open-Meteo APIs. It enables users to retrieve current weather conditions for any location through natural language queries in MCP-compatible clients.ISC
- AlicenseNot gradedqualityCmaintenanceProvides weather data including current conditions, forecasts, and summaries via Open-Meteo with no API key required, enabling natural language queries through an MCP interface.MIT
- AlicenseAqualityCmaintenanceMCP server for weather forecasts via Open-Meteo (no API key needed), providing current weather, hourly, and daily forecasts with geocoding support.3MIT
- AlicenseAqualityBmaintenanceMCP server for worldwide weather data, using high-resolution GeoSphere Austria data for the Alpine region and Open-Meteo elsewhere. Provides current conditions, hourly forecasts, and daily outlooks with compact emoji-markdown output.4200 PyPI1MIT