Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Weather Data Fetcher

БесплатноНе проверен

Enables AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in MCP format.

GitHubEmbed

Описание

Enables AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in MCP format.

README

A simple yet powerful weather-fetching tool built using the Model Context Protocol (MCP). This service allows AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in an agent-friendly format using MCP standards.


🚀 Features

  • Real-time weather data via OpenWeatherMap API
  • MCP-compatible tool (getWeatherData)
  • Returns structured details: temperature, humidity, wind speed, and description
  • Agent-friendly response formatting
  • CLI-compatible using Stdio transport

🛠 Tech Stack

  • Node.js
  • MCP SDK (@modelcontextprotocol/sdk)
  • OpenWeatherMap API
  • zod (for input validation)
  • dotenv

📦 Setup

  1. Clone the repo & install dependencies:
git clone https://github.com/Ansh642/MCP-Server.git
cd mcp-weather-fetcher
npm install
  1. Create a .env file with your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_here
  1. Run the MCP server:
node index.js
  1. (Optional) Define the server in mcp.json:
{
  "mcpServers": {
    "weatherData": {
      "command": "node",
      "args": ["C:/Users/91995/Desktop/mcpServer/index.js"]
    }
  }
}

💬 Example Interaction

>> Call tool: getWeatherData with { "city": "Delhi" }

✅ Weather Report for Delhi:
- Temperature: 34.9°C
- Feels Like: 37.1°C
- Humidity: 45%
- Weather: Clear
- Description: clear sky
- Wind Speed: 3.6 m/s

👤 Author

Ansh Agarwal 📧 [email protected] 🔗 GitHub | LinkedIn



from github.com/Ansh642/MCP-Server

Установка Weather Data Fetcher

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Ansh642/MCP-Server

FAQ

Weather Data Fetcher MCP бесплатный?

Да, Weather Data Fetcher MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Weather Data Fetcher?

Нет, Weather Data Fetcher работает без API-ключей и переменных окружения.

Weather Data Fetcher — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Weather Data Fetcher в Claude Desktop, Claude Code или Cursor?

Открой Weather Data Fetcher на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Weather Data Fetcher with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai