Weather MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the weather like in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
weather-mcp-server
A Model Context Protocol (MCP) server providing real-time weather data and news reports via OpenMeteo API.
Table of Contents
Related MCP server: Weather MCP Server
Overview
weather-mcp-server is a Node.js/TypeScript server implementing the Model Context Protocol (MCP). It fetches weather data for any city using the OpenMeteo API and delivers concise, engaging weather news reports. The server exposes tools and prompts for integration with MCP clients.
Features
Real-time weather data retrieval for any city
Weather news reporting in broadcast style
MCP-compliant server with Express transport
Type-safe API using Zod validation
Modular codebase for easy extension
Installation
git clone https://github.com/your-org/weather-mcp-server.git
cd weather-mcp-server
cp .env.example .env # Set your PORT if needed
npm install
npm run buildUsage
Development mode (auto-reload):
npm run start:devThe MCP server will run on the port specified in .env (default: 3000).
Docker Build & Debug (Taskfile)
This project uses Taskfile for Docker image build and debug automation.
Build Docker Image
task build:imageBuilds the Docker image using buildx and tags it with both the version and latest.
Debug Docker Image
task debug:imageRuns the Docker image in interactive mode with Bash, loads environment variables from .env, and adds host.docker.internal:host-gateway for easy host-container communication.
Requirements:
Docker
Taskfile CLI
API
Tools
get-current-weatherDescription: Get the weather of a city.
Input:
{ city: string }Output: Weather details (temperature, humidity, dew point, description).
Prompts
weather-news-reportDescription: Returns a concise, broadcast-style weather news report for a given message.
HTTP Endpoints
POST /mcp— Main MCP endpoint for requestsGET /mcpandDELETE /mcp— Not supported (returns 405)
Contributing
Pull requests and issues are welcome! Please follow conventional TypeScript/Node.js best practices.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Provide real-time and forecast weather information for locations in the United States using natura…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the Open-Meteo API. Provides detailed meteorological data including temperature, precipitation, day/night status, and hourly forecasts through natural language queries.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.-
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the OpenWeatherMap API. Returns formatted weather data including temperature, humidity, and weather description through natural language queries.MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city worldwide using the Open-Meteo API. Provides temperature and wind speed data through natural language queries.7 npmMIT