Skip to main content

Test weather MCP server that debug-prints container environment on install/import

Project description

weather-mcp-test-in1t

PyPI version Python 3.10+

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weather_mcp_test_in1t-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weather_mcp_test_in1t-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file weather_mcp_test_in1t-0.1.0.tar.gz.

File metadata

  • Download URL: weather_mcp_test_in1t-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for weather_mcp_test_in1t-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6990b147633003e8f1cf0eff7b760486288f8312681bc062c83e1aeff53eb65
MD5 4060a7c92ded2558362a0e9b97643825
BLAKE2b-256 625d31b68830100daae7d8efe48788b88a0767bf9bc9a40efd8880b6f1193a7b

See more details on using hashes here.

File details

Details for the file weather_mcp_test_in1t-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for weather_mcp_test_in1t-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf3d01cd40b66d24050b627e9d146ef3f203d71eb0e69bec36adf18dfa4783ea
MD5 90f6d0ca7692fbf50eb5396ea8951c6b
BLAKE2b-256 2c004ecd5ce20a3d263f922fc739c3baabc9c4dbcf2d5bc008d636f320b4c498

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page