MCP-Whether-Server
0
MCP Weather Server is a Model Context Protocol server providing real-time weather data. Built with Node.js for WSL, it integrates with the Cursor AI client leveraging the OpenWeatherMap API for city-based weather queries.
🌤️ MCP Weather Server
This project is a Model Context Protocol (MCP) server that provides real-time weather data using the OpenWeatherMap API. It is built with Node.js and designed to run inside Windows Subsystem for Linux (WSL).
📦 Features
- MCP tool:
getWhetherByCityName
- Fetches weather data for any city
- Compatible with Cursor AI client
- WSL support with clean
.env
configuration
🛠️ Prerequisites
- Cursor installed
- WSL enabled
- Node.js and npm in WSL
- OpenWeatherMap API key
📂 File Structure
- MCP server entry point, configuration files, and dependencies.
📜 License
MIT
✨ Credits
- OpenWeatherMap API
- Model Context Protocol (MCP)
- Cursor