Skip to main content
Glama

Weather MCP Server

by fedekrenn

MCP Server Test

Un servidor MCP (Model Context Protocol) simple para testear el protocolo que genera la herramienta para obtener información meteorológica de ciudades usando la API de Open-Meteo.

🌟 Características

  • Busca información meteorológica actual de cualquier ciudad
  • Utiliza la API gratuita de Open-Meteo
  • Se usa el protocolo MCP para integración con herramientas de IA

📋 Requisitos previos

🚀 Instalación

1. Clonar el repositorio

git clone https://github.com/fedekrenn/mcp-server-test.git cd mcp-server-test

2. Instalar dependencias

npm install

3. Ejecutar el servidor

npm start

🔧 Instalación en VS Code

Para usar este servidor MCP en VS Code con GitHub Copilot seguir estos pasos:

1. Configuración en VS Code

  1. Abrir VS Code
  2. Abrir el archivo mcp.json

2. Configurar el servidor MCP

Agregar la siguiente configuración a tu archivo de configuración de MCP:

{ "servers": { "weather": { "command": "npx", "args": ["-y", "tsx", "/Users/CTI24563/Desktop/mpc-server/main.ts"], "type": "stdio" } } }

3. Reiniciar VS Code

Después de configurar, reiniciar VS Code para que los cambios tomen efecto.

🛠️ Uso

Una vez configurado, se puede usar la herramienta fetch-weather en las conversaciones con GitHub Copilot:

Ejemplo: "¿Cuál es el clima actual en Buenos Aires?"

El servidor buscará la ciudad y devolverá información meteorológica detallada incluyendo:

  • Temperatura actual
  • Precipitación
  • Estado del día/noche
  • Pronóstico por horas

🔧 Dependencias

  • @modelcontextprotocol/sdk: SDK oficial para implementar servidores MCP
  • zod: Biblioteca para validación y parseo de esquemas

🙋‍♂️ Hola, Soy Federico Krenn

🤓 Desarrollador web Frontend 👨‍🎓 Técnico Superior en Desarrollo Web y aplicaciones. También me encuentro realizando la Tecnicatura en Software Libre en la UNL 📫 Conectemos en LinkedIn: https://www.linkedin.com/in/fkrenn/

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables 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.

  1. 🌟 Características
    1. 📋 Requisitos previos
      1. 🚀 Instalación
        1. 1. Clonar el repositorio
        2. 2. Instalar dependencias
        3. 3. Ejecutar el servidor
      2. 🔧 Instalación en VS Code
        1. 1. Configuración en VS Code
        2. 2. Configurar el servidor MCP
        3. 3. Reiniciar VS Code
      3. 🛠️ Uso
        1. 🔧 Dependencias
          1. 🙋‍♂️ Hola, Soy Federico Krenn

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.
              Last updated -
            • -
              security
              F
              license
              -
              quality
              Enables AI agents to access real-time and historical weather data through multiple weather APIs including OpenMeteo, Tomorrow.io, and OpenWeatherMap. Provides comprehensive meteorological information including current conditions, forecasts, historical data, and weather alerts.
              Last updated -
            • A
              security
              F
              license
              A
              quality
              Provides comprehensive weather information including current conditions, 7-day forecasts, and air quality data for any city worldwide using the Open-Meteo API. Features real-time weather data, hourly forecasts, sunrise/sunset times, and European Air Quality Index with human-readable descriptions.
              Last updated -
              3
              2
              1
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.
              Last updated -
              3
              16
              Apache 2.0
              • Linux
              • Apple

            View all related MCP servers

            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/fedekrenn/mcp-server-test'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server