YR天气数据上下文服务器
用于将Yr天气数据作为LLM工具上下文的MCP服务器。
快速入门
1. 使用 uv 设置环境
Windows 安装 uv: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" 创建虚拟环境: uv venv 激活虚拟环境: .venv\Scripts\activate Linux 安装 uv: curl -LsSf https://astral.sh/uv/install.sh | sh 创建虚拟环境: uv venv 激活虚拟环境: source .venv/bin/activate
2. 安装依赖
使用 uv 安装: uv pip install -r pyproject.toml 或使用 pip 安装: pip install -r requirements.txt
3. 启动服务
使用 uv 启动: uv run yr.py 或使用 Python 启动: python yr.py