MCPInstall
yr-mcp-server logo

yr-mcp-server

by AnyContext-ai 1 stars AnyContext-ai/yr-mcp-server

MCP Server for using Yr Weather Data as Context in LLM tools.

READMEmain

YR MCP Server

YR

alt text

Setup environment using uv

Windows

# Install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Create virtual environment
uv venv

# Activate virtual environment
.venv\Scripts\activate

Linux

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create virtual environment
uv venv

# Activate virtual environment
source .venv/bin/activate

Install dependencies

uv pip install -r pyproject.toml

Run server

uv run yr.py

Setup environment using pip

Create requirements.txt for installing dependencies via pip

uv pip freeze > requirements.txt

Install dependencies

pip install -r requirements.txt

Run server

python yr.py