MCP Weather SSE Server

MCP Weather SSE Server

mcp-weather-sse•byjdhettema

An MCP server that connects to the OpenWeatherMap API through Server-Sent Events to provide live weather data to AI clients.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes three weather tools: current weather, multi-day forecast, and weather by coordinates.
  • •Uses Server-Sent Events transport for real-time communication with MCP clients.
  • •Fetches live weather data from the OpenWeatherMap API.

BEST FOR

  • •Asking an AI assistant for the current weather in a city.
  • •Requesting a multi-day forecast for a city.
  • •Getting weather for specific geographic coordinates.

ABOUT MCP-WEATHER-SSE

MCP Weather SSE Server is cataloged as an MCP server attributed to jdhettema. An MCP server that connects to the OpenWeatherMap API through Server-Sent Events to provide live weather data to AI clients. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Weather SSE Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the forecast tool request more than three days?

Yes, the forecast tool accepts a days parameter from 1 to 5, defaulting to 3.

What measurement units are supported?

The tools support metric or imperial units, defaulting to metric.

Upstream README

View this exact version on GitHub

README.md · 813655ae2452 · Fetched 2026-11-13 11:03:15 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Weather SSE Server

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

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:

# Using command line argument
python mcp_weather_sse.py --api-key YOUR_API_KEY

# Using environment variable
export OPENWEATHER_API_KEY=YOUR_API_KEY
python mcp_weather_sse.py

# Customize host and port (default: 127.0.0.1:3001)
python mcp_weather_sse.py --host 0.0.0.0 --port 8080

Connecting with MCP Clients

Cursor AI

  1. Open Cursor AI
  2. Go to File → Preferences → Cursor Settings → MCP → Add New Server
  3. Enter the following details:

Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings → MCP Servers
  3. Add a new server with the following configuration:
    {
      "mcpServers": {
        "weather": {
          "type": "sse",
          "url": "http://127.0.0.1:3001/sse"
        }
      }
    }
    

MCP-Inspector

You can use the MCP-Inspector tool to test your server:

npm install -g @anthropic-ai/mcp-inspector
mcp-inspector http://127.0.0.1:3001/sse

Example Queries

Once connected, you can use the following queries to interact with the server:

  1. "What's the current weather in New York?"
  2. "Can you give me a 3-day forecast for Tokyo?"
  3. "What's the weather at coordinates 40.7128, -74.0060?"

API Reference

get_current_weather

Get current weather conditions for a city.

Parameters:

  • city (string): City name (e.g., 'London', 'New York')
  • units (string, optional): Units of measurement ('metric' or 'imperial', default: 'metric')

get_weather_forecast

Get a multi-day weather forecast for a city.

Parameters:

  • city (string): City name (e.g., 'London', 'New York')
  • days (integer, optional): Number of days to forecast (1-5, default: 3)
  • units (string, optional): Units of measurement ('metric' or 'imperial', default: 'metric')

get_weather_by_coordinates

Get weather for specific geographic coordinates.

Parameters:

  • latitude (number): Latitude coordinate
  • longitude (number): Longitude coordinate
  • units (string, optional): Units of measurement ('metric' or 'imperial', default: 'metric')

Security Considerations

  • The server binds to 127.0.0.1 by default, making it only accessible from your local machine
  • For production use, implement proper authentication and HTTPS
  • Consider rate limiting to avoid exceeding OpenWeatherMap API quotas

License

MIT

Acknowledgments

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Weather SSE Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-weather-sse)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research