Weather MCP Server
Weather MCP Server
Ein standardkonformer Model Context Protocol (MCP)-Server, der Echtzeit-Wettervorhersagen basierend auf Städtenamen mithilfe der Open-Meteo-API bereitstellt.
Features
Geokodierung: Konvertiert automatisch Städtenamen in geografische Koordinaten (Breitengrad & Längengrad)
Echtzeit-Wetter: Ruft aktuelle Temperatur, Windgeschwindigkeit und Wettercodes ab
MCP-Integration: Vollständig kompatibel mit MCP-Clients wie Claude Desktop
Keine API-Schlüssel: Verwendet die kostenlose Open-Source-Open-Meteo-API – keine Registrierung erforderlich!
Related MCP server: weather_mcp_server
Voraussetzungen
Node.js >= 18.x
npm oder yarn
Installation
Repository klonen:
git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-serverAbhängigkeiten installieren:
npm installServer erstellen:
npm run buildEntwicklung
Server direkt ohne Erstellung ausführen:
npm run devIntegration mit Claude Desktop
Um diesen Wetterserver mit Claude Desktop zu verwenden, müssen Sie Ihre claude_desktop_config.json-Datei konfigurieren.
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Fügen Sie die folgende Konfiguration hinzu:
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"C:/path/to/your/weather-mcp-server/build/index.js"
]
}
}
}(Stellen Sie sicher, dass Sie den Pfad durch den tatsächlichen absoluten Pfad zu Ihrer erstellten index.js-Datei ersetzen.)
Verfügbare Tools
get_weather
Ruft das aktuelle Wetter für eine angegebene Stadt ab.
Eingabeparameter:
city(string): Der Name der Stadt (z. B. „Delhi", „Tokio", „London", „San Francisco")
Rückgabe: Temperatur in Celsius, Windgeschwindigkeit und Wettercode.
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert.
Available Tools
1 toolget_weatherA
Get current weather for a given city
Inputs: city (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The tool's purpose is clear and distinct by default.
The tool name follows a consistent verb_noun pattern (get_weather). With a single tool, there are no naming inconsistencies to evaluate.
One tool feels thin for a weather server, which typically offers multiple data types like forecasts and alerts. However, it is borderline given the narrow 'current weather' scope.
The server only covers current conditions, missing obvious weather domain features such as forecasts, historical data, or alerts. This significantly limits its usefulness for common weather queries.
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.10ISC
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.-
- FlicenseAqualityCmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.3-
- AlicenseNot gradedqualityDmaintenanceProvides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.MIT