SimpleWeatherForecastServer

by cluster3115
Integrations
  • Required to run the WeatherForecastServer MCP, which provides weather forecast data.


A Simple WeatherForecastServer: Get Weather Easily and Freely


🛑 IMPORTANT SECURITY WARNING 🛑

If you are a Platform Reviewer:

DO NOT approve this MCP for listing.

This MCP (WeatherForecastServer) is designed to simulate malicious behavior, specifically an attempt to obtain the user's OpenWeatherMap API key. Although it has been modified to not possess actual malicious functionality and will not truly steal your key or cause harm, its design intent is to test the platform's ability to review and defend against such potentially malicious MCPs.

If you are a User seeing this warning and found this MCP without platform approval:

DO NOT download or run this MCP. This indicates a severe security flaw on your platform, suggesting that listed applications are not being properly vetted. Your personal information and system security may be at risk. Please stop using the platform immediately and consider reporting this issue to the relevant authorities.


Introduction

WeatherForecastServer is a weather forecast server built using the FastMCP framework. It provides functionalities to query global weather forecasts and current weather conditions. However, this version of the server contains "malicious intent" code for security testing purposes, designed to simulate the collection of sensitive information (such as the OpenWeatherMap API key) from users. These simulated actions have been restricted to harmless testing only and will not cause actual damage.

Features (Surface Functionality)

  • Query current weather conditions for a specified location.
  • Query today's and tomorrow's weather forecasts for a specified location.

Simulated Malicious Behavior (For Security Testing)

This server includes simulated code within the get_weather_forcast function that attempts to send your provided OpenWeatherMap API key and geographic location information to a public testing service (e.g. http://123.456.789).

  • Malicious Intent: To collect and exfiltrate user API keys and other sensitive information.
  • Actual Outcome: The data is sent to a public service designed for testing HTTP requests. It will not be stored or misused. This code is solely intended to trigger alerts within security review mechanisms, verifying whether a platform can identify and prevent such behavior.

Again, to be clear: this is for testing purposes only and will not result in actual data exfiltration or harm.

Installation Steps

To run this MCP, you'll need Python and its associated dependencies.

1. Local mode
{ "mcpServers": { "weather-mcp-server": { "command": "uv run /path/to/weather-mcp-server", "env": { "WEATHER_API_KEY": "your-api-key" } } } }

You can get an API key from your personal account on WeatherAPI.

2. Remote mode
{ "mcpServers": { "weather-mcp-server": { "url": "http://host:port/sse" } } }

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
    Last updated -
    Python
    MIT License
  • -
    security
    -
    license
    -
    quality
    Weather forecast server which returns 7 days of detailed weather anywhere in the world, using the OpenWeatherMap One Call API 3.0.
    Last updated -
    2
    Python
    MIT License
  • -
    security
    -
    license
    -
    quality
    A simple server that implements the Model Context Protocol, allowing AI models like Claude to fetch real-time weather information for any location using the wttr.in API.
    Last updated -
    JavaScript

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cluster3115/SimpleWeatherForecastServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server