Reins

io.github.R2Rlabs/hyperliquid-reins

Risk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "hyperliquid-reins": {
      "command": "npx",
      "args": [
        "-y",
        "@r2rlabs/reins@0.1.8"
      ],
      "env": {
        "REINS_SYMBOLS": "<your REINS_SYMBOLS>",
        "REINS_MAX_POSITION_USD": "<your REINS_MAX_POSITION_USD>",
        "REINS_DAILY_LOSS_USD": "<your REINS_DAILY_LOSS_USD>",
        "REINS_MAX_LEVERAGE": "3",
        "REINS_MODE": "paper",
        "REINS_NETWORK": "testnet",
        "REINS_REQUIRE_STOP_LOSS": "false",
        "REINS_PRIVATE_KEY": "<your REINS_PRIVATE_KEY>"
      }
    }
  }
}
Environment variables
  • REINS_SYMBOLSrequiredMarkets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.
  • REINS_MAX_POSITION_USDrequiredLargest position per market, in USD.
  • REINS_DAILY_LOSS_USDrequiredRealised loss in a UTC day after which new risk is refused.
  • REINS_MAX_LEVERAGELargest total exposure as a multiple of account value.
  • REINS_MODEpaper (live prices, simulated fills, nothing signed) or live.
  • REINS_NETWORKHyperliquid network for prices and, in live mode, orders. Mainnet spends real money.
  • REINS_REQUIRE_STOP_LOSStrue to refuse any order that adds risk without a stop-loss.
  • REINS_PRIVATE_KEYsecretLive mode: an API wallet's key, which can trade but not withdraw. Never the account's own key.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.8
Registry
active
Published
10/4/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Reins is listed here — it’s also the link we check for a free listing.

Reins — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-r2rlabs-hyperliquid-reins?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Reins — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Reins — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-r2rlabs-hyperliquid-reins?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.