weather-mcp
Weather API + UI + MCP Server
Этот проект включает:
UI: ввод названия города и получение текущей погоды
HTTP API:
GET /api/weather?city=...Summary API:
GET /api/summary?city=...(опционально Claude; используется локальное резюме, если API недоступен)MCP server: инструмент
get_weatherчерез stdio
Данные о погоде предоставляются Open‑Meteo (бесплатно, без API-ключа).
Запуск UI + API
npm install
npm run devОткройте http://localhost:5175.
Опционально: резюме через «Claude API»
Claude не является полностью бесплатным; вам потребуется API-ключ. Этот проект поддерживает:
ANTHROPIC_API_KEY(прямой API Anthropic), илиOPENROUTER_API_KEY(OpenRouter, с использованием модели Anthropic Claude черезOPENROUTER_MODEL)
Если ключ не задан, /api/summary и кнопка «Summarize» в интерфейсе будут использовать локальное резюме.
Запуск MCP-сервера (stdio)
npm install
npm run mcpЗатем настройте ваш MCP-клиент для запуска:
command:
npmargs:
["run","mcp"]cwd: эта папка
Название инструмента:
get_weatherс входными данными{ "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.-