🌤️ MCP Weather Server (Cursor + Node.js + WSL)
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



