Skip to main content
Glama
Yaseen-md

Weather MCP Server

by Yaseen-md

Weather MCP Server

CI License: MIT

Стандартный сервер Model Context Protocol (MCP), предоставляющий прогнозы погоды в реальном времени по названиям городов с использованием Open-Meteo API.

Возможности

  • Геокодирование: Автоматически преобразует названия городов в географические координаты (широту и долготу)

  • Погода в реальном времени: Получает текущую температуру, скорость ветра и коды погоды

  • Интеграция с MCP: Полностью совместим с MCP-клиентами, такими как Claude Desktop

  • Без API-ключей: Использует бесплатный API с открытым исходным кодом Open-Meteo — регистрация не требуется!

Related MCP server: Weather MCP Server

Предварительные требования

  • Node.js >= 18.x

  • npm или yarn

Установка

  1. Клонируйте репозиторий:

git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-server
  1. Установите зависимости:

npm install
  1. Соберите сервер:

npm run build

Разработка

Запустите сервер напрямую без сборки:

npm run dev

Интеграция с Claude Desktop

Чтобы использовать этот сервер погоды с Claude Desktop, необходимо настроить файл claude_desktop_config.json.

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Добавьте следующую конфигурацию:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "C:/path/to/your/weather-mcp-server/build/index.js"
      ]
    }
  }
}

(Убедитесь, что вы заменили путь на фактический абсолютный путь к вашему собранному файлу index.js.)

Доступные инструменты

get_weather

Получает текущую погоду для указанного города.

Входные параметры:

  • city (строка): Название города (например, "Delhi", "Tokyo", "London", "San Francisco")

Возвращает: Температуру в градусах Цельсия, скорость ветра и код погоды.

Лицензия

Этот проект лицензирован в соответствии с лицензией MIT.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.
  • F
    license
    B
    quality
    D
    maintenance
    Enables real-time weather information and forecasts using the Open-Meteo API. Provides current weather conditions and forecast data for any location specified by latitude and longitude coordinates.
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.
    21
    MIT

View all related MCP servers

Related MCP Connectors

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yaseen-md/weather-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server