This guide walks you through installing UV—a fast Python package manager—and running your weather server.
UV is a drop-in replacement for pip and virtualenv, optimized for speed and reliability.
curl -LsSf https://astral.sh/uv/install.sh | sh✅ This installs
uvglobally. You can verify it with:uv --version
Use UV to automatically create a virtual environment and run your server:
uv run weather.pyThis will:
- Create a
.venvif one doesn’t exist - Install dependencies from
pyproject.tomlorrequirements.txt - Launch your weather server using the MCP protocol