Test weather MCP server that debug-prints container environment on install/import
Project description
weather-mcp-test-in1t
A test/debug PyPI package providing a weather query MCP server via 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
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:
export WEATHER_MCP_DEBUG=0
Usage
As MCP Server (stdio)
weather-mcp
# or
python -m weather_mcp
MCP Client Config
{
"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
pip install build twine
python -m build
twine upload dist/*
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weather_mcp_test_in1t-0.1.1.tar.gz.
File metadata
- Download URL: weather_mcp_test_in1t-0.1.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f45e3de2831053f2ad46d9931b071839af4914ca02750ab35e5b3677efa4c0e
|
|
| MD5 |
b43cce0fc3b2586627b42975f00adfd6
|
|
| BLAKE2b-256 |
972275db2c3a621196fabee805881cce37b61a1e369938e261c527d72b9f35d2
|
File details
Details for the file weather_mcp_test_in1t-0.1.1-py3-none-any.whl.
File metadata
- Download URL: weather_mcp_test_in1t-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
524fa32c131785ae572cd388c158821e37bbeb922692e035136e301413db00b6
|
|
| MD5 |
e89fbcd98433b2f96501168628f18cde
|
|
| BLAKE2b-256 |
69cd3bcbfd63190e17298be865e98da9239a90e25521b22da4dadf5d5b8fc9b4
|