weather-mcp
API de clima + UI + Servidor MCP
Este proyecto incluye:
UI: introduce el nombre de una ciudad y obtén el clima actual
API HTTP:
GET /api/weather?city=...API de resumen:
GET /api/summary?city=...(Claude opcional; recurre a un resumen local)Servidor MCP: herramienta
get_weathera través de stdio
Los datos meteorológicos utilizan Open‑Meteo (gratuito, sin clave API).
Ejecutar la UI + API
npm install
npm run devAbre http://localhost:5175.
Opcional: Resumen de “Claude API”
Claude no es realmente gratuito; necesitarás una clave API. Este proyecto admite cualquiera de las siguientes:
ANTHROPIC_API_KEY(API directa de Anthropic), oOPENROUTER_API_KEY(OpenRouter, utilizando un modelo Anthropic Claude a través deOPENROUTER_MODEL)
Si no se establece ninguna clave, /api/summary y el botón “Resumir” de la UI recurrirán a un resumen local.
Ejecutar el servidor MCP (stdio)
npm install
npm run mcpLuego configura tu cliente MCP para iniciar:
comando:
npmargumentos:
["run","mcp"]directorio de trabajo: esta carpeta
Nombre de la herramienta:
get_weathercon entrada{ "city": "Pune" }
"# MCP_example"
This server cannot be deployed
Maintenance
Related MCP Connectors
Current temperature for a city via Open-Meteo. Query discarded after the call.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Weather MCP — wraps Open-Meteo API (free, no auth)
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.6 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides weather information using Open-Meteo API without requiring an API key. Supports weather queries by city name or coordinates with customizable temperature units.-
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the Open-Meteo API. Returns temperature, humidity, wind speed, and other weather data in JSON format.8 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the OpenWeatherMap API.-