Skip to main content
Glama
mcp-weather-tool

mcp-weather-tool

🌤️ MCP Weather Tool

Un servidor MCP (Model Context Protocol) simple que permite consultar el clima de cualquier ciudad del mundo.

✨ Características

  • 🔍 Búsqueda por ciudad: Encuentra automáticamente las coordenadas de cualquier ciudad

  • 🌡️ Información del clima: Temperatura, precipitación, estado del día y lluvia

  • 🚀 Integración con Claude: Funciona perfectamente en Claude Desktop

  • 📍 Coordenadas precisas: Usa APIs de geocoding y meteorología confiables

Related MCP server: weather-mcp-server

🛠️ Instalación

  1. Clona el repositorio:

git clone https://github.com/fernandezAlex/mcp-weather-tool.git
cd mcp-weather-tool
  1. Instala las dependencias:

npm install
  1. Compila el proyecto:

npx tsc

⚙️ Configuración en Claude Desktop

Añade esto a tu claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-test": {
      "command": "node",
      "args": ["/ruta/completa/a/mcp-weather-tool/dist/main.js"]
    }
  }
}

🚀 Uso

  1. Reinicia Claude Desktop

  2. Usa la herramienta: "¿Cuál es el clima en Madrid?"

  3. Disfruta de la información meteorológica en tiempo real

📡 APIs Utilizadas

🏗️ Estructura del Proyecto

mcp-weather-tool/
├── main.ts          # Código fuente del servidor MCP
├── dist/            # Archivos compilados
├── package.json     # Dependencias del proyecto
└── README.md        # Este archivo

🔧 Tecnologías

  • TypeScript - Lenguaje principal

  • Node.js - Runtime de JavaScript

  • MCP SDK - Protocolo de comunicación con Claude

  • Fetch API - Llamadas HTTP a APIs externas

👨‍💻 Autor

Alex Fernández - Frontend Developer & Designer

📝 Licencia

MIT License - Libre para uso personal y comercial


Desarrollado con ❤️ por @fernandezAlex para la comunidad de Claude

Available Tools

1 tool
fetch-weatherC

Tool to fetch the weather of a city

Inputs: city (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no ambiguity or overlap. The purpose is clearly defined as fetching weather for a city.

    Naming Consistency5/5

    The single tool name 'fetch-weather' follows a consistent verb-noun pattern, which is predictable and clear.

    Tool Count2/5

    A single tool is too few for a weather service, which typically requires multiple operations such as current conditions, forecasts, and historical data. The apparent scope of a weather tool is broader than what one fetch operation can cover.

    Completeness3/5

    The tool provides basic weather fetching but lacks common weather operations like forecasts or historical data. This leaves noticeable gaps in the tool surface for a weather domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers