mcp-weather-tool
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-weather-toolwhat's the weather in Tokyo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🌤️ 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
Clona el repositorio:
git clone https://github.com/fernandezAlex/mcp-weather-tool.git
cd mcp-weather-toolInstala las dependencias:
npm installCompila 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
Reinicia Claude Desktop
Usa la herramienta: "¿Cuál es el clima en Madrid?"
Disfruta de la información meteorológica en tiempo real
📡 APIs Utilizadas
Geocoding: Open-Meteo Geocoding API
Weather: Open-Meteo Weather API
🏗️ 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 toolfetch-weatherC
Tool to fetch the weather of a city
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It only states the action but doesn't mention possible restrictions, return format, or side effects, though 'fetch' implicitly suggests a read-only operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence, easy to parse and front-loaded. It wastes no words, though it sacrifices detail for brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a single parameter and no output schema, the description is minimal but incomplete. It doesn't clarify what 'weather' includes (current conditions, forecast), nor does it specify city name format or possible response structure.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description fully covers the single parameter 'city' with 'City name'. The tool description adds no extra meaning beyond the schema, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'fetch' and the resource 'weather of a city', making the tool's purpose unambiguous. Though it doesn't differentiate from siblings (none exist), it's specific enough for a simple task.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool, what input formats are expected, or any prerequisites. The usage context is merely implied by the description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
fetch-weather
TDQS
Scored across 1 tool
With only one tool, there is no ambiguity or overlap. The purpose is clearly defined as fetching weather for a city.
The single tool name 'fetch-weather' follows a consistent verb-noun pattern, which is predictable and clear.
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.
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
Related MCP Connectors
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to the Open-Meteo API to retrieve real-time weather data for cities worldwide without requiring an API key.-
- AlicenseNot gradedqualityCmaintenanceEnables Claude Desktop to query real-time weather information, forecasts, and history via the OpenWeatherMap API.5 npm98MIT
- FlicenseNot gradedqualityDmaintenanceEnables users to get weather forecasts for any city using the Open-Meteo API through natural language in Claude Desktop or VS Code.-
- FlicenseNot gradedqualityDmaintenanceEnables real-time weather queries via Claude Desktop using OpenWeatherMap API, providing current conditions and 24-hour forecasts for any city.8 npm-