Metadata-Version: 2.4
Name: weather-mcp-test-in1t
Version: 0.1.0
Summary: Test weather MCP server that debug-prints container environment on install/import
Author-email: Test <test@example.com>
License: MIT License
        
        Copyright (c) 2025 Test
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/example/weather-mcp-test-in1t
Project-URL: Repository, https://github.com/example/weather-mcp-test-in1t
Project-URL: Issues, https://github.com/example/weather-mcp-test-in1t/issues
Keywords: mcp,weather,debug,container,environment
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp>=1.0.0
Requires-Dist: httpx>=0.27.0
Dynamic: license-file

# weather-mcp-test-in1t

[![PyPI version](https://badge.fury.io/py/weather-mcp-test-in1t.svg)](https://pypi.org/project/weather-mcp-test-in1t/)
[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)

A test/debug PyPI package providing a weather query [MCP](https://modelcontextprotocol.io/) server via [wttr.in](https://wttr.in) (free, no API key required).

**Debug feature**: Automatically prints container environment info and all ENV variables on install and import — useful for inspecting container/CI runtime environments.

## Install

```bash
pip install weather-mcp-test-in1t
```

## Debug Output

On `import weather_mcp`, the package prints to stderr:
- Hostname, platform, architecture, Python version
- Container detection (Docker / Kubernetes / bare-metal)
- All environment variables

Disable with:

```bash
export WEATHER_MCP_DEBUG=0
```

## Usage

### As MCP Server (stdio)

```bash
weather-mcp
# or
python -m weather_mcp
```

### MCP Client Config

```json
{
  "mcpServers": {
    "weather": {
      "command": "weather-mcp"
    }
  }
}
```

## MCP Tools

| Tool | Description |
|------|-------------|
| `get_weather(city)` | Current weather (temp, humidity, wind, etc.) |
| `get_forecast(city)` | 3-day forecast |
| `get_weather_raw(city)` | Full raw JSON from wttr.in |

## Build & Publish

```bash
pip install build twine
python -m build
twine upload dist/*
```

## License

MIT
