mcp-weather-server

HarshilDoshi153/mcp-weather-server

3.1

If you are the rightful owner of mcp-weather-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Weather Server provides real-time weather data using the OpenWeather API, designed for integration with AI IDEs via the Model Context Protocol.

๐ŸŒค๏ธ MCP Weather Server

This project provides real-time weather data using the OpenWeather API and exposes it through a Model Context Protocol (MCP) server. Designed for seamless integration with AI IDEs like Cursor, this MCP tool enables LLM agents to query current weather data for any city.


๐Ÿš€ Features

  • ๐ŸŒ Fetches live weather data (temperature, humidity, wind, pressure) by city name
  • ๐Ÿ”Œ Built using @modelcontextprotocol/sdk
  • ๐Ÿ“ก Powered by OpenWeather API
  • ๐Ÿงช Typed validation with Zod
  • โš™๏ธ Ready to integrate with LLM-based tools (e.g., Cursor AI, LangChain, etc.)

๐Ÿ› ๏ธ Installation

git clone https://github.com/yourusername/mcp-weather-server.git
cd mcp-weather-server
npm install