MCP Weather is an MCP server that enables Model Context Protocol clients, such as Claude Desktop, to retrieve real-time weather information and meteorological conditions. Built with TypeScript, the server interfaces with external weather services to fetch up-to-date data, allowing artificial intelligence assistants to deliver localized atmospheric reports directly within user conversations. Software developers, system administrators, and AI application builders use MCP Weather to equip local or desktop assistant setups with immediate weather context without having to leave their conversational interface. By providing standardized tools through the protocol, the server processes city or coordinate-based queries, reaches out to the configured weather API endpoint, and structures the incoming meteorological data for the client. This setup enables conversational models to evaluate temperature, precipitation, and surrounding conditions on demand, assisting in automated daily briefings, contextual scheduling tasks, and trip planning workflows. MCP Weather runs locally on Node.js and integrates directly into the Claude Desktop configuration file, offering a straightforward bridge between external weather endpoints and language model prompts.
Category: Maps, Weather & Local Data
Tags: forecast, meteorology, openweather, weather
sh git clone https://github.com/semdin/mcp-weather cd mcp-weather 2. Install required dependencies: sh npm install 3. Create a .env file in the root folder and configure your API credentials: env WEATHER_API_URL=https://api.weatherapi.com/v1/current.json WEATHER_API_KEY=<your_API_KEY> 4. In Claude Desktop, go to File -> Settings -> Developer -> Edit Config and add the server definition: json { "mcpServers": { "weather": { "command": "npx", "args": ["tsx", "C:/your/path/mcp-weather/src/index.ts"], "cwd": "C:/your/path/mcp-weather" } } } Replace C:/your/path/ with your local project directory path, save the file, and restart Claude Desktop.Part of MCP Servers
Clone the repository from GitHub, run npm install to install dependencies, and create a .env file containing your WEATHER_API_URL and WEATHER_API_KEY. Next, register the server in your Claude Desktop configuration file under mcpServers, specifying npx and tsx alongside your absolute file path, and restart the Claude Desktop application.
MCP Weather allows Model Context Protocol clients like Claude Desktop to query real-time weather information from a remote weather API. When connected, the AI model can execute tools that fetch current conditions, such as temperatures and meteorological details for specified locations, integrating the live data directly into chat responses.
MCP Weather is documented and preconfigured specifically for the Claude Desktop application on Model Context Protocol supported operating systems. Any client supporting local MCP servers communicating over stdio and running Node.js processes can also execute the server using the provided TypeScript runner configuration.
Yes, MCP Weather is open source and distributed under the terms of the MIT License. The code can be freely inspected, modified, and used in personal or commercial setups, and contributions can be submitted directly via its GitHub repository.