🌤️ MCP Weather Server (Cursor + Node.js + WSL)

by mdkaifansari04

255 downloads Not rated yet

About

# 🌤️ MCP Weather Server (Cursor + Node.js + WSL) This project is a simple **Model Context Protocol (MCP)** server that provides real-time weather data using the **OpenWeatherMap API**, built with **Node.js** and designed to run inside **WSL** (Windows Subsystem for Linux). ## 📦 Features - Exposes an MCP tool…

Explore

- Exposes an MCP tool: getWhetherByCityName
- Fetches weather data for any city using OpenWeatherMap
- Compatible with Cursor AI client
- WSL support with clean .env configuration

---

🛠️ Prerequisites

- Cursor installed
- WSL enabled with Ubuntu or other Linux distro
- Node.js and npm installed in WSL
- OpenWeatherMap API key

---

This project is a simple Model Context Protocol (MCP) server that provides real-time weather data using the OpenWeatherMap API, built with Node.js and designed to run inside WSL (Windows Subsystem for Linux).

📦 Features

- Exposes an MCP tool: getWhetherByCityName
- Fetches weather data for any city using OpenWeatherMap
- Compatible with Cursor AI client
- WSL support with clean .env configuration

---

🛠️ Prerequisites

- Cursor installed
- WSL enabled with Ubuntu or other Linux distro
- Node.js and npm installed in WSL
- OpenWeatherMap API key

---

🔧 Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.