Skip to main content
Glama

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.

Panel de Weather MCP

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+

  • uv

  • Un host MCP con soporte para MCP Apps para el panel interactivo

Configuración

Instala las dependencias del proyecto:

uv sync

No 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.py

Inspecciona las herramientas registradas:

uv run fastmcp list main.py

Vista 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.py

Abre 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 lugar

  • forecast_days: Número de días de pronóstico de 1 a 16

  • temperature_unit: celsius o fahrenheit

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 UI

Fuente 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 tools
get_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

    B3.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: location search, weather data retrieval, and an interactive dashboard. No overlap or ambiguity in their functions.

    Naming Consistency4/5

    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.

    Tool Count4/5

    Three tools is lean but appropriately scoped for a weather server. It covers the essential workflows without unnecessary bloat.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides 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
    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      4
      200 PyPI
      1
      MIT