MCP Weather SSE Server
About
An MCP server that connects AI assistants to real-time weather data through OpenWeatherMap API using Server-Sent Events.
Explore
- Implements the Model Context Protocol for seamless integration with AI tools
- Uses Server-Sent Events (SSE) transport for real-time communication
- Connects to the OpenWeatherMap API to fetch live weather data
- Provides three tools:
- get_current_weather: Get current weather conditions for a city
- get_weather_forecast: Get a multi-day weather forecast for a city
- get_weather_by_coordinates: Get weather for specific geographic coordinates
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Weather SSE ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python 3.8+
- An OpenWeatherMap API key (sign up at openweathermap.org)
export OPENWEATHER_API_KEY=YOUR_API_KEY
python mcp_weather_sse.py
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp weather sse server": {
"mcp-weather-sse": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
}
McpServers
{
"mcp-weather-sse": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
A Model Context Protocol (MCP) server that connects to the OpenWeatherMap API through Server-Sent Events (SSE). This server provides real-time weather data to AI clients like Claude, CursorAI, or MCP-Inspector.
Features
- Implements the Model Context Protocol for seamless integration with AI tools
- Uses Server-Sent Events (SSE) transport for real-time communication
- Connects to the OpenWeatherMap API to fetch live weather data
- Provides three tools:
- get_current_weather: Get current weather conditions for a city
- get_weather_forecast: Get a multi-day weather forecast for a city
- get_weather_by_coordinates: Get weather for specific geographic coordinates
Prerequisites
- Python 3.8+
- An OpenWeatherMap API key (sign up at openweathermap.org)
Installation
1. Clone this repository:
git clone https://github.com/yourusername/mcp-weather-sse.git
cd mcp-weather-sse
2. Create a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install mcp requests
Usage
Starting the Server
You can start the server with your OpenWeatherMap API key:
```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.



