Weather Query

mcp playground
  • python

1

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "eternachen-mcp-playground": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

This MCP server provides a lightweight weather query service you can run locally. It exposes a weather tool you can query from a client to fetch current weather data for a city, including temperature, humidity, wind, and a short description. Running the server locally helps you test integrated weather queries in your applications without relying on external APIs directly from your client.

How to use

To use the weather MCP server, start the server first, then run a client that connects to it. The server exposes a weather tool you can invoke from the client to obtain weather details for a city you specify. Use phrase-like city names in English to request weather information. Type quit in the client to end your session.

How to install

Prerequisites you need before installing access the weather MCP server:

  • Python 3.8 or later is required
  • A Python virtual environment is recommended but not required

Install and set up the server by following these steps step by step.

# Step 1: Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`

# Step 2: Install required dependencies
pip install -r requirements.txt

# Step 3: Run the MCP server
python server.py

Additional notes

The server is designed to be run locally for development and testing. No external MCP endpoints are required to start the server, and the client can be used to connect to the running server using the provided command.

Available tools

weather_query

Fetches current weather data for a specified city from the MCP server, returning temperature, humidity, wind speed, and a textual description.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational